Submission #9992934


Source Code Expand

Copy
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N,*A = map(int,read().split())

bl = len(set(A)) == N
answer = 'YES' if bl else 'NO'
print(answer)

Submission Info

Submission Time
Task C - Distinct or Not
User maspy
Language Python3 (3.4.3)
Score 300
Code Size 224 Byte
Status
Exec Time 83 ms
Memory 24192 KB

Test Cases

Set Name Score / Max Score Test Cases
Sample 0 / 0 01.txt, 02.txt, 03.txt
All 300 / 300 01.txt, 02.txt, 03.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt, 19.txt, 20.txt
Case Name Status Exec Time Memory
01.txt 17 ms 2940 KB
02.txt 17 ms 2940 KB
03.txt 17 ms 2940 KB
11.txt 82 ms 24192 KB
12.txt 59 ms 16224 KB
13.txt 18 ms 2940 KB
14.txt 83 ms 24064 KB
15.txt 76 ms 23384 KB
16.txt 80 ms 23724 KB
17.txt 18 ms 3444 KB
18.txt 82 ms 24192 KB
19.txt 82 ms 24064 KB
20.txt 56 ms 15296 KB