Submission #19322048


Source Code Expand

import numpy as np

N= int(input())
A=np.array(list(map(int,input().split())))
B=np.array(list(map(int,input().split())))

result = np.dot(A,B)

if result ==0:
    print("Yes")
else:
    print("No")

Submission Info

Submission Time
Task B - Orthogonality
User f_taka
Language Python (3.8.2)
Score 200
Code Size 209 Byte
Status AC
Exec Time 166 ms
Memory 37628 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 18
Set Name Test Cases
Sample sample_01.txt, sample_02.txt, sample_03.txt
All extreme_00.txt, extreme_01.txt, extreme_02.txt, handmade_00.txt, handmade_01.txt, handmade_02.txt, handmade_03.txt, handmade_04.txt, handmade_05.txt, random_00.txt, random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, sample_01.txt, sample_02.txt, sample_03.txt
Case Name Status Exec Time Memory
extreme_00.txt AC 166 ms 37628 KiB
extreme_01.txt AC 163 ms 37600 KiB
extreme_02.txt AC 108 ms 26776 KiB
handmade_00.txt AC 109 ms 27116 KiB
handmade_01.txt AC 109 ms 26848 KiB
handmade_02.txt AC 110 ms 26680 KiB
handmade_03.txt AC 106 ms 26580 KiB
handmade_04.txt AC 108 ms 27136 KiB
handmade_05.txt AC 108 ms 26824 KiB
random_00.txt AC 161 ms 36632 KiB
random_01.txt AC 158 ms 37452 KiB
random_02.txt AC 110 ms 27268 KiB
random_03.txt AC 157 ms 35720 KiB
random_04.txt AC 112 ms 27260 KiB
random_05.txt AC 136 ms 32032 KiB
sample_01.txt AC 108 ms 27080 KiB
sample_02.txt AC 109 ms 27080 KiB
sample_03.txt AC 109 ms 26864 KiB