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 Python (3.4.3)
Score 300
Code Size 224 Byte
Status AC
Exec Time 83 ms
Memory 24192 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 300 / 300
Status
AC × 3
AC × 13
Set Name Test Cases
Sample 01.txt, 02.txt, 03.txt
All 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 AC 17 ms 2940 KB
02.txt AC 17 ms 2940 KB
03.txt AC 17 ms 2940 KB
11.txt AC 82 ms 24192 KB
12.txt AC 59 ms 16224 KB
13.txt AC 18 ms 2940 KB
14.txt AC 83 ms 24064 KB
15.txt AC 76 ms 23384 KB
16.txt AC 80 ms 23724 KB
17.txt AC 18 ms 3444 KB
18.txt AC 82 ms 24192 KB
19.txt AC 82 ms 24064 KB
20.txt AC 56 ms 15296 KB