Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
9 values
p02779
n=int(input()) a=list(map(int,input().split())) if len(a) == len(set(a)): print('Yes') else: print('No')
n=int(input()) a=list(map(int,input().split())) if len(a) == len(set(a)): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,416
576,417
u622847899
python
p02779
n=int(input()) a=list(map(int,input().split())) if len(a) == len(set(a)): print('Yes') else: print('No')
n=int(input()) a=list(map(int,input().split())) if len(a) == len(set(a)): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,418
576,417
u622847899
python
p02779
n=int(input()) a=list(map(int,input().split())) if len(a) != len(set(a)): print('No') else: print('Yes')
n=int(input()) a=list(map(int,input().split())) if len(a) == len(set(a)): print('YES') else: print('NO')
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "literal.string.change", "call.arguments.change", "io.output.change" ]
576,419
576,417
u622847899
python
p02779
N = int(input()) A = list(map(int, input().split())) A.sort() flag = True for i in range(len(A) - 1): if A[i] == A[i + 1]: flag = False break if flag: print("Yes") else: print("No")
N = int(input()) A = list(map(int, input().split())) A.sort() flag = True for i in range(len(A) - 1): if A[i] == A[i + 1]: flag = False break if flag: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,488
576,489
u491330513
python
p02779
def main(): N = int(input()) # 文字列または整数(一変数) A = list(map(int, input().split())) # 整数のリスト d = {} for i in A: if not i in d.keys(): d[i] = None else: print("No") return else: print("YES") if __name__ == '__main__': main()
def main(): N = int(input()) # 文字列または整数(一変数) A = list(map(int, input().split())) # 整数のリスト d = {} for i in A: if not i in d.keys(): d[i] = None else: print("NO") return else: print("YES") if __name__ == '__main__': main()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,490
576,491
u337751290
python
p02779
N = int(input()) A = list(map(int, input().split())) be_len = len(A) A = list(set(A)) if len(A) == be_len: print("Yes") else: print("No")
N = int(input()) A = list(map(int, input().split())) be_len = len(A) A = list(set(A)) if len(A) == be_len: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,492
576,493
u819779919
python
p02779
N = int(input()) A = list(map(int,input().split())) if len(A) != len(set(A)): print("No") else: print("Yes")
N = int(input()) A = list(map(int,input().split())) if len(A) != len(set(A)): print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,494
576,495
u652445326
python
p02779
N=int(input()) A=list(map(int, input().split())) A.sort() for i in range(N-1): if A[i]==A[i+1]: print("NO") print("YES")
N=int(input()) A=list(map(int, input().split())) A.sort() for i in range(N-1): if A[i]==A[i+1]: print("NO") exit() print("YES")
[ "call.add" ]
576,498
576,499
u337626942
python
p02779
N = int(input()) A = sorted([int(i) for i in input().split()]) match = False for i in range(1, N): if A[i] == A[i-1]: match = True break if not match: print("Yes") else: print("No")
N = int(input()) A = sorted([int(i) for i in input().split()]) match = False for i in range(1, N): if A[i] == A[i-1]: match = True break if not match: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,500
576,501
u884323674
python
p02779
N = int(input()) A = [int(a) for a in input().split()] B = list(set(A)) if len(A) == len(B): print('Yes') else: print('No')
N = int(input()) A = [int(a) for a in input().split()] B = list(set(A)) if len(A) == len(B): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,507
576,508
u552143188
python
p02779
N = int(input()) A = [int(x) for x in input().split()] A.sort() for i in range(1, len(A)): if A[i - 1] != A[i]: k = True else: k = False break if k: print("Yes") else: print("No")
N = int(input()) A = [int(x) for x in input().split()] A.sort() for i in range(1, len(A)): if A[i - 1] != A[i]: k = True else: k = False break if k: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,513
576,514
u901060001
python
p02779
N = int(input()) A = [int(x) for x in input().split()] A.sort() for i in range(1, len(A)): if A[i - 1] != A[i]: continue k = True else: k = False break if k: print("Yes") else: print("No")
N = int(input()) A = [int(x) for x in input().split()] A.sort() for i in range(1, len(A)): if A[i - 1] != A[i]: k = True else: k = False break if k: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,515
576,514
u901060001
python
p02779
N = int(input()) A = [int(x) for x in input().split()] A.sort() for i in range(1,len(A)): if A[i - 1] != A[i]: continue k = True else: k = False break if k: print("Yes") else: print("No")
N = int(input()) A = [int(x) for x in input().split()] A.sort() for i in range(1, len(A)): if A[i - 1] != A[i]: k = True else: k = False break if k: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,516
576,514
u901060001
python
p02779
import sys n = int(input()) a = list(map(int,input().split())) d = {} for i in range(n): if a[i] not in d.keys(): d[a[i]] = 1 else: print('NO') sys.exit() print('Yes')
import sys n = int(input()) a = list(map(int,input().split())) d = {} for i in range(n): if a[i] not in d.keys(): d[a[i]] = 1 else: print('NO') sys.exit() print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,521
576,522
u773265208
python
p02779
from collections import Counter n = int(input()) a = list(map(int,input().split())) acount = Counter(a) if n == (len(list(acount.keys()))): print("Yes") else: print("No")
from collections import Counter n = int(input()) a = list(map(int,input().split())) acount = Counter(a) if n == (len(list(acount.keys()))): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,523
576,524
u432853936
python
p02779
import collections N = int(input()) A = list(map(int,input().split())) K = collections.Counter(A) B = len(K) if N == len(K): print("Yes") else: print("No")
import collections N = int(input()) A = list(map(int,input().split())) K = collections.Counter(A) B = len(K) if N == len(K): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,525
576,526
u699696451
python
p02779
N = int(input()) A = [int(i) for i in input().split()] print('Yes' if len(set(A)) == N else 'No')
N = int(input()) A = [int(i) for i in input().split()] print('YES' if len(set(A)) == N else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,532
576,533
u619144316
python
p02779
import collections a=int(input()) b=list(map(str,input().split())) n=[] for i in b: x=i.replace(' ',',') n.append(x) c=collections.Counter(n) n,values=zip(*c.most_common()) d=list(values) print(d) if d.count(1)==a: print('YES') else: print('NO')
import collections a=int(input()) b=list(map(str,input().split())) n=[] for i in b: x=i.replace(' ',',') n.append(x) c=collections.Counter(n) n,values=zip(*c.most_common()) d=list(values) if d.count(1)==a: print('YES') else: print('NO')
[ "call.remove" ]
576,534
576,535
u115877451
python
p02779
import collections import sys N = input() A = input().split() A1 = map(int,collections.Counter(A).values()) for i in A1: if i >= 2: print('No') sys.exit() print('Yes')
import collections import sys N = input() A = input().split() A1 = map(int,collections.Counter(A).values()) for i in A1: if i >= 2: print('NO') sys.exit() print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,536
576,537
u740909619
python
p02779
N = int(input()) lis = list(map(int,input().split())) lis.sort judge = 0 for i in range(1,N): if lis[i-1] == lis[i]: judge = 1 if judge == 0: print("YES") else: print("NO")
N = int(input()) lis = list(map(int,input().split())) lis.sort() judge = 0 for i in range(1,N): if lis[i-1] == lis[i]: judge = 1 if judge == 0: print("YES") else: print("NO")
[ "call.add" ]
576,542
576,543
u521271655
python
p02779
import sys n = int(input()) A = list(map(int,input().split())) A.sort() for i in range(n-1): if A[i]==A[i+1]: print("No") sys.exit() print("Yes")
import sys n = int(input()) A = list(map(int,input().split())) A.sort() for i in range(n-1): if A[i]==A[i+1]: print("NO") sys.exit() print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,544
576,545
u039189422
python
p02779
n = int(input()) a = list(map(int, input().split())) d = dict() for i in range(n): d.setdefault(a[i]) if len(d) != n : print("No") else: print("Yes")
n = int(input()) a = list(map(int, input().split())) d = dict() for i in range(n): d.setdefault(a[i]) if len(d) != n : print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,550
576,551
u169702930
python
p02779
n = int(input()) a = set(input().split()) print('Yes' if len(a) == n else 'No')
n = int(input()) a = set(input().split()) print('YES' if len(a) == n else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,552
576,553
u706786134
python
p02779
from collections import Counter n = int(input()) if(sorted(Counter([i for i in input().split()]).most_common(), key=lambda x: x[1])[0][1] > 1): print('NO') else: print('YES')
from collections import Counter n = int(input()) if(sorted(Counter([i for i in input().split()]).most_common(), key=lambda x: x[1], reverse = True)[0][1] > 1): print('NO') else: print('YES')
[ "control_flow.branch.if.condition.change", "call.arguments.add" ]
576,563
576,564
u250554058
python
p02779
N = int(input()) A = list(input().split()) if len(set(A)) == N: print('Yes') else: print('No')
N = int(input()) A = list(input().split()) if len(set(A)) == N: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,589
576,590
u875541136
python
p02779
stdin = open(0).read().split('\n') N = int(stdin[0]) A = list(map(int,stdin[1].split())) B = set(A) print('Yes' if len(A)==len(B) else'No')
stdin = open(0).read().split('\n') N = int(stdin[0]) A = list(map(int,stdin[1].split())) B = set(A) print('YES' if len(A)==len(B) else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,593
576,594
u913662443
python
p02779
N = int(input()) A_list = list(map(int, input().split())) s = set(A_list) if len(s) == N: print("Yes") else: print("No")
N = int(input()) A_list = list(map(int, input().split())) s = set(A_list) if len(s) == N: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,595
576,596
u538361257
python
p02779
n = int(input()) L=list(map(int, input().split())) S=set(L) if n==len(S): print('Yes') else: print('NO')
n = int(input()) L=list(map(int, input().split())) S=set(L) if n==len(S): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,599
576,600
u886459614
python
p02779
n = int(input()) a = list(map(int, input().split())) a_2 = set(a) if len(a) == len(a_2): print("Yes") else: print("No")
n = int(input()) a = list(map(int, input().split())) a_2 = set(a) if len(a) == len(a_2): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,607
576,608
u537550206
python
p02779
#154 Distinct or not n = int(input()) a = list(map(int,input().split())) b = set(a) if len(a) == b: print('YES') else: print('NO')
#154 Distinct or not n = int(input()) a = list(map(int,input().split())) b = len(set(a)) if len(a) == b: print('YES') else: print('NO')
[ "call.add", "call.arguments.change" ]
576,609
576,610
u211805975
python
p02779
n = input() a = list(map(int, input().split())) a.sort() flag = False for i in range(len(a)-1): if a[i] == a[i+1]: flag = True break if flag: print("No") else: print("Yes")
n = int(input()) a = list(map(int, input().split())) a.sort() flag = False for i in range(len(a)-1): if a[i] == a[i+1]: flag = True break if flag: print("NO") else: print("YES")
[ "call.add", "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
576,612
576,613
u700805562
python
p02779
import sys n = int(input()) A = list(map(int, input().split())) set_A = set(A) if len(A) == len(set_A): print('Yes') else: print('No')
import sys n = int(input()) A = list(map(int, input().split())) set_A = set(A) if len(A) == len(set_A): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,618
576,619
u131944095
python
p02779
import collections N = int(input()) A = list(map(int,input().split())) c= collections.Counter(A) if len(c)==N: print('YES') else: print('No')
import collections N = int(input()) A = list(map(int,input().split())) c= collections.Counter(A) if len(c)==N: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,622
576,623
u863964720
python
p02779
N = int(input()) A = list(map(int, input().split())) if len(A) == len(set(A)): print("Yes") else: print("No")
N = int(input()) A = list(map(int, input().split())) if len(A) == len(set(A)): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,632
576,633
u394950523
python
p02779
n = int(input()) a = [int(i) for i in input().split()] a = sorted(a) for i in range(n-1): if a[i] == a[i+1]: print("No") exit() print("Yes")
n = int(input()) a = [int(i) for i in input().split()] a = sorted(a) for i in range(n-1): if a[i] == a[i+1]: print("NO") exit() print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,634
576,635
u263660661
python
p02779
from collections import Counter import sys N = int(input()) A = [int(x) for x in input().split()] C = dict(Counter(A)) for a in C: if C[a] > 1: print('No') sys.exit() print('Yes')
from collections import Counter import sys N = int(input()) A = [int(x) for x in input().split()] C = dict(Counter(A)) for a in C: if C[a] > 1: print('NO') sys.exit() print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,638
576,639
u197955752
python
p02779
N = int(input()) A = list(map(int, input().split())) j = True if len(A) == len(set(A)): print("Yes") else: print("No")
N = int(input()) A = list(map(int, input().split())) if len(A) == len(set(A)): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,642
576,643
u961945062
python
p02779
N = int(input()) A = [int(x) for x in input().split()] la = len(A) B = set(A) lb = len(B) if la == lb: print("Yes") else: print("No")
N = int(input()) A = [int(x) for x in input().split()] la = len(A) B = set(A) lb = len(B) if la == lb: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,651
576,652
u508164527
python
p02779
n = int(input()) a = [int(i) for i in input().split()] dic = {} for i in range(n): try: dic[a[i]] += 1 except: dic[a[i]] = 1 if max(dic.values()) > 1: print("No") else: print("Yes")
n = int(input()) a = [int(i) for i in input().split()] dic = {} for i in range(n): try: dic[a[i]] += 1 except: dic[a[i]] = 1 if max(dic.values()) > 1: print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,658
576,659
u333139319
python
p02779
n = int(input()) a = [int(i) for i in input().split()] dic = {} for i in range(n): try: dic[a[i]] += 1 except: dic[a[i]] = 1 if max(dic.values()) > 1: print("Yes") else: print("No")
n = int(input()) a = [int(i) for i in input().split()] dic = {} for i in range(n): try: dic[a[i]] += 1 except: dic[a[i]] = 1 if max(dic.values()) > 1: print("NO") else: print("YES")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
576,660
576,659
u333139319
python
p02779
n = int(input()) a = [int(i) for i in input().split()] dic = {} for i in range(n): try: dic[a[i]] += 1 except: dic[a[i]] = 1 if max(dic.values) > 1: print("Yes") else: print("No")
n = int(input()) a = [int(i) for i in input().split()] dic = {} for i in range(n): try: dic[a[i]] += 1 except: dic[a[i]] = 1 if max(dic.values()) > 1: print("NO") else: print("YES")
[ "control_flow.branch.if.condition.change", "call.add", "literal.string.change", "call.arguments.change", "io.output.change" ]
576,661
576,659
u333139319
python
p02779
import sys input = sys.stdin.readline N = input() A = list(map(int,input().split())) A = set(A) if N == len(A): print("YES") else: print("NO")
import sys input = sys.stdin.readline N = int(input()) A = list(map(int,input().split())) A = set(A) if N == len(A): print("YES") else: print("NO")
[ "call.add", "call.arguments.change" ]
576,670
576,671
u703130195
python
p02779
s=input() t=list(map(int,input().split())) u=len(t) v=len(set(t)) if u == v: print("Yes") else: print("No")
s=input() t=list(map(int,input().split())) u=len(t) v=len(set(t)) if u == v: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,674
576,675
u995419623
python
p02779
n = int(input()) a = list(map(int, input().split())) b = sorted(a) for i in range(n-1): if a[i] == a[i+1]: print('NO') exit() print('YES')
n = int(input()) a = list(map(int, input().split())) b = sorted(a) for i in range(n-1): if b[i] == b[i+1]: print('NO') exit() print('YES')
[ "identifier.change", "control_flow.branch.if.condition.change" ]
576,676
576,677
u597017430
python
p02779
N=int(input()) A=set(map(int,input().split())) print('YNeos'[N!=len(A)::2])
N=int(input()) A=set(map(int,input().split())) print('YNEOS'[N!=len(A)::2])
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,686
576,687
u311113280
python
p02779
N, A = int(input()), list(map(int, input().split())) print("Yes" if len(set(A)) == len(A) else "No")
N, A = int(input()), list(map(int, input().split())) print("YES" if len(set(A)) == len(A) else "NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,688
576,689
u060736237
python
p02779
import sys N=int(input()) A=list(map(int,input().split())) A.sort() for i in range(N-1): if A[i]==A[i+1]: print("No") sys.exit() print("Yes")
import sys N=int(input()) A=list(map(int,input().split())) A.sort() for i in range(N-1): if A[i]==A[i+1]: print("NO") sys.exit() print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,690
576,691
u924783770
python
p02779
n=int(input()) a=list(map(int,input().split())) ans=0 b=sorted(a) for i in range(n): if b[i]==b[i+1]: ans=1 break if ans==1: print('NO') else: print('YES')
n=int(input()) a=list(map(int,input().split())) ans=0 b=sorted(a) for i in range(n-1): if b[i]==b[i+1]: ans=1 break if ans==1: print('NO') else: print('YES')
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
576,692
576,693
u414050834
python
p02779
n=int(input()) a=list(map(int,input().split())) ans=0 a=sorted(a) for i in range(n): if a[i]==a[i+1]: ans=1 break if ans==1: print('NO') else: print('YES')
n=int(input()) a=list(map(int,input().split())) ans=0 b=sorted(a) for i in range(n-1): if b[i]==b[i+1]: ans=1 break if ans==1: print('NO') else: print('YES')
[ "assignment.variable.change", "identifier.change", "control_flow.branch.if.condition.change" ]
576,694
576,693
u414050834
python
p02779
N = int(input()) A = sorted(list(map(int, input().split()))) B =list(set(A)) print('YES' if A == B else 'NO')
N = int(input()) A = sorted(list(map(int, input().split()))) B =list(set(A)) print('YES' if len(A) == len(B) else 'NO')
[ "call.add", "call.arguments.change" ]
576,699
576,700
u318029285
python
p02779
n = int(input()) a = sorted(map(int, input().split())) x = 0 for i in range(n-1): if a[i] == a[i+1]: x += 1 break else: x += 0 if x == 0: print('Yes') else: print('No')
n = int(input()) a = sorted(map(int, input().split())) x = 0 for i in range(n-1): if a[i] == a[i+1]: x += 1 break else: x += 0 if x == 0: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,705
576,706
u607558942
python
p02779
n = int(input()) l = [int(i) for i in input().split()] l.sort() print('Yes' if all([l[i]!=l[i+1] for i in range(n-1)]) else 'No')
n = int(input()) l = [int(i) for i in input().split()] l.sort() print('YES' if all([l[i]!=l[i+1] for i in range(n-1)]) else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,707
576,708
u372550522
python
p02779
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product, groupby from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left from math import gcd from heapq import heappush, heappop from functools import reduce def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10 ** 9 + 7 N = INT() A = LIST() if len(A) == len(set(A)): print("Yes") else: print("No")
import sys, re from collections import deque, defaultdict, Counter from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians from itertools import accumulate, permutations, combinations, product, groupby from operator import itemgetter, mul from copy import deepcopy from string import ascii_lowercase, ascii_uppercase, digits from bisect import bisect, bisect_left from math import gcd from heapq import heappush, heappop from functools import reduce def input(): return sys.stdin.readline().strip() def INT(): return int(input()) def MAP(): return map(int, input().split()) def LIST(): return list(map(int, input().split())) def ZIP(n): return zip(*(MAP() for _ in range(n))) sys.setrecursionlimit(10 ** 9) INF = float('inf') mod = 10 ** 9 + 7 N = INT() A = LIST() if len(A) == len(set(A)): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,709
576,710
u285891772
python
p02779
n = int(input()) l = list(map(int, input().split())) s = list(set(l)) if len(l) == len(s): print("Yes") else: print("No")
n = int(input()) l = list(map(int, input().split())) s = list(set(l)) if len(l) == len(s): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,711
576,712
u026862065
python
p02779
n = int(input()) a = list(map(int ,input().split())) b = set(a) if len(a) == len(b): print("Yes") else: print("No")
n = int(input()) a = list(map(int ,input().split())) b = set(a) if len(a) == len(b): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,713
576,714
u417096287
python
p02779
N = int(input()) A = list(map(int, input().split())) B = set(A) if len(A) == len(B): print("Yes") else: print("No")
N = int(input()) A = list(map(int, input().split())) B = set(A) if len(A) == len(B): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,715
576,716
u417096287
python
p02779
n = int(input()) a = list(map(int, input().split())) s = {} flag = 0 for i in range(n): t = a[i] s.setdefault(t, 0) if s[t] == 0: s[t] = 1 else: print("No") flag = 1 break if flag == 0: print("Yes")
n = int(input()) a = list(map(int, input().split())) s = {} flag = 0 for i in range(n): t = a[i] s.setdefault(t, 0) if s[t] == 0: s[t] = 1 else: print("NO") flag = 1 break if flag == 0: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,717
576,718
u819407764
python
p02779
n =int(input()) a = list(map(int, input().split())) print('Yes' if len(list(set(a))) == n else 'No')
n =int(input()) a = list(map(int, input().split())) print('YES' if len(list(set(a))) == n else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,740
576,741
u010178026
python
p02779
# coding: utf-8 import sys sr = lambda: sys.stdin.readline().rstrip() ir = lambda: int(sr()) lr = lambda: list(map(int, sr().split())) N = ir() A = lr() bl = len(set(A)) == N print('Yes' if bl else 'No')
# coding: utf-8 import sys sr = lambda: sys.stdin.readline().rstrip() ir = lambda: int(sr()) lr = lambda: list(map(int, sr().split())) N = ir() A = lr() bl = len(set(A)) == N print('YES' if bl else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,743
576,744
u600402037
python
p02779
import collections N = int(input()) A = list(map(int, input().split())) c = collections.Counter(A) values,counts = zip(*c.most_common()) print(counts) if counts[0] != 1: print('NO') else : print('YES')
import collections N = int(input()) A = list(map(int, input().split())) c = collections.Counter(A) values,counts = zip(*c.most_common()) if counts[0] != 1: print('NO') else : print('YES')
[ "call.remove" ]
576,755
576,756
u427163848
python
p02779
import collections N = int(input()) A = list(map(int, input().split())) c = collections.Counter(A) values,counts = zip(*c.most_common()) if counts[0] != 1: print('No') else : print('Yes')
import collections N = int(input()) A = list(map(int, input().split())) c = collections.Counter(A) values,counts = zip(*c.most_common()) if counts[0] != 1: print('NO') else : print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,757
576,756
u427163848
python
p02779
n = int(input()) a = [int(v) for v in input().split()] a.sort() flag = True for i in range(n-1): if a[i] == a[i+1]: flag = False if flag: print("Yes") else: print("No")
n = int(input()) a = [int(v) for v in input().split()] a.sort() flag = True for i in range(n-1): if a[i] == a[i+1]: flag = False if flag: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,767
576,768
u811202694
python
p02779
n, *D, = [list(map(int, s.split())) for s in open(0)] n, D = n[0], D[0] if n == len(set(D)): print("Yes") else: print("No")
n, *D = [list(map(int, s.split())) for s in open(0)] n, D = n[0], D[0] if n == len(set(D)): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,775
576,776
u411353821
python
p02779
n=int(input()) a=list(map(int,input().split())) if len(list(set(a)))==n: print("Yes") else:print("No")
n=int(input()) a=list(map(int,input().split())) if len(list(set(a)))==n: print("YES") else:print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,781
576,782
u983327168
python
p02779
import collections N = int(input()) A = list(map(int,input().split())) ans = collections.Counter(A) pr = 'YES' for i in ans.values(): if i > 0: pr = 'NO' print(pr)
import collections N = int(input()) A = list(map(int,input().split())) ans = collections.Counter(A) pr = 'YES' for i in ans.values(): if i > 1: pr = 'NO' print(pr)
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
576,790
576,791
u297046168
python
p02779
n = int(input()) lst = list(map(int, input().split())) ori_lng = len(lst) aft_lng = len(set(lst)) if ori_lng == aft_lng: print('Yes') else: print('No')
n = int(input()) lst = list(map(int, input().split())) ori_lng = len(lst) aft_lng = len(set(lst)) if ori_lng == aft_lng: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,792
576,793
u296101474
python
p02779
n = int(input()) a = [ int(x) for x in input().split()] a.sort() for i in range(1,len(a)): if(a[i]==a[i-1]): print('No') break else: print('Yes')
n = int(input()) a = [ int(x) for x in input().split()] a.sort() for i in range(1,len(a)): if(a[i]==a[i-1]): print('NO') break else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,794
576,795
u207326980
python
p02779
from collections import Counter N=int(input()) A=list(map(str,input().split())) d=Counter(A) if len(d)==len(A): print("Yes") else: print("No")
from collections import Counter N=int(input()) A=list(map(str,input().split())) d=Counter(A) if len(d)==len(A): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,798
576,799
u602773379
python
p02779
n = int(input()) a_list = list(map(int, input().split())) if len(set(a_list)) == n: print('Yes') else: print('No')
n = int(input()) a_list = list(map(int, input().split())) if len(set(a_list)) == n: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,800
576,801
u446460730
python
p02779
import collections N=input() A=[int(s) for s in input().split(" ")] B=collections.Counter(A) print("No" if len(A)!=len(B) else "Yes")
import collections N=input() A=[int(s) for s in input().split(" ")] B=collections.Counter(A) print("NO" if len(A)!=len(B) else "YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,802
576,803
u847165882
python
p02779
import collections N = int(input()) A = list(map(int, input().split())) c = collections.Counter(A) f=0 for i in c.values(): if i>1: f+=1 break if f==1: print("No") else: print("Yes")
import collections N = int(input()) A = list(map(int, input().split())) c = collections.Counter(A) f=0 for i in c.values(): if i>1: f+=1 break if f==1: print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,804
576,805
u531813438
python
p02779
n = int(input()) a = list(map(int, input().split())) count = len(set(a)) if len(a) == count: print('Yes') else: print('No')
n = int(input()) a = list(map(int, input().split())) count = len(set(a)) if len(a) == count: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,806
576,807
u215334265
python
p02779
N = int(input()) A = list(map(int, input().split())) # [1, 2, 3, 4] になる len2 = len(set(A)) if N == len2: print('Yes') else: print('No')
N = int(input()) A = list(map(int, input().split())) # [1, 2, 3, 4] になる len2 = len(set(A)) if N == len2: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,808
576,809
u806403461
python
p02779
N = int(input()) A = map(int,input().split()) len2 = len(set(A)) if N == len2: print('Yes') else: print('No')
N = int(input()) A = list(map(int, input().split())) # [1, 2, 3, 4] になる len2 = len(set(A)) if N == len2: print('YES') else: print('NO')
[ "call.add", "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
576,810
576,809
u806403461
python
p02779
n = int(input()) an = list(map(int, input().split())) def distinct_or_not(an): an_dict = {} for a in an: if a in an_dict: return False else: an_dict[a] = 1 return True if distinct_or_not(an): print('Yes') else: print('No')
n = int(input()) an = list(map(int, input().split())) def distinct_or_not(an): an_dict = {} for a in an: if a in an_dict: return False else: an_dict[a] = 1 return True if distinct_or_not(an): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,813
576,814
u949115942
python
p02779
N = int(input()) A = list(map(int, input().split())) table = {} answer = 'Yes' for i in range(0, len(A)): Ai = A[i] count = table.get(Ai) + 1 if table.get(Ai) else 1 table[Ai] = count if table.get(Ai) >= 2: answer = 'No' break print(answer)
N = int(input()) A = list(map(int, input().split())) table = {} answer = 'YES' for i in range(0, len(A)): Ai = A[i] count = table.get(Ai) + 1 if table.get(Ai) else 1 table[Ai] = count if table.get(Ai) >= 2: answer = 'NO' break print(answer)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
576,817
576,818
u017624958
python
p02779
N = int(input()) A = list(map(int, input().split())) table = {} answer = 'Yes' for i in range(0, len(A) + 1): # for(let i = 0; i < A.length; i++): Ai = A[i] count = table.get(Ai) + 1 if table.get(Ai) else 1 table[Ai] = count if table.get(Ai) >= 2: answer = 'No' break print(answer)
N = int(input()) A = list(map(int, input().split())) table = {} answer = 'YES' for i in range(0, len(A)): Ai = A[i] count = table.get(Ai) + 1 if table.get(Ai) else 1 table[Ai] = count if table.get(Ai) >= 2: answer = 'NO' break print(answer)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change", "expression.operation.binary.remove" ]
576,820
576,818
u017624958
python
p02779
N = input() A = set(input().split()) if len(A) == N: print("YES") else: print("NO")
N = int(input()) A = set(input().split()) if len(A) == N: print("YES") else: print("NO")
[ "call.add", "call.arguments.change" ]
576,821
576,822
u471593927
python
p02779
N = int(input()) A = list(map(int, input().split())) Aset = set(A) if len(A) == len(Aset): print("Yes") else: print("No")
N = int(input()) A = list(map(int, input().split())) Aset = set(A) if len(A) == len(Aset): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,823
576,824
u931462344
python
p02779
N = int(input()) == len(set(map(int, input().split()))) if N: print("Yes") else: print("No")
N = int(input()) == len(set(map(int, input().split()))) if N: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,827
576,828
u073139376
python
p02779
N = int(input()) A = list(map(int, input().split())) d = {x:0 for x in A} for x in A: d[x] += 1 if max(d.values()) >= 2: print('No') else: print('Yes')
N = int(input()) A = list(map(int, input().split())) d = {x:0 for x in A} for x in A: d[x] += 1 if max(d.values()) >= 2: print('NO') else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,829
576,830
u546074985
python
p02779
def main(): N = int(input()) A = [int(i) for i in input().split()] s = set() for i in range(N): s.add(A[i]) if N == len(s): print("Yes") else: print("No") if __name__ == '__main__': main()
def main(): N = int(input()) A = [int(i) for i in input().split()] s = set() for i in range(N): s.add(A[i]) if N == len(s): print("YES") else: print("NO") if __name__ == '__main__': main()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,833
576,834
u498620941
python
p02779
n = int(input()) A = [int(x) for x in input().split()] judge = True if len(A) != len(set(A)): judge = False if judge == True: print('Yes') else: print('No')
n = int(input()) A = [int(x) for x in input().split()] judge = True if len(A) != len(set(A)): judge = False if judge == True: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,837
576,838
u938256038
python
p02779
n = int(input()) a = list(map(int, input().split())) d = {} for x in a: d[x] = d.get(x, 0) + 1 t = max(d.values()) print("Yes") if t == 1 else print("No")
n = int(input()) a = list(map(int, input().split())) d = {} for x in a: d[x] = d.get(x, 0) + 1 t = max(d.values()) print("YES") if t == 1 else print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,844
576,845
u394244719
python
p02779
from collections import Counter n = int(input()) c = Counter(list(map(int, input().split()))) if len(c) == n: print('Yes') else: print('No')
from collections import Counter n = int(input()) c = Counter(list(map(int, input().split()))) if len(c) == n: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,853
576,854
u645855527
python
p02779
from collections import Counter input() lst = input().split() dic = dict(Counter(lst)) x = max(list(dic.values())) - 1 if x: print('No') else: print('Yes')
from collections import Counter input() lst = input().split() dic = dict(Counter(lst)) x = max(list(dic.values())) - 1 if x: print('NO') else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,857
576,858
u798675549
python
p02779
from collections import Counter input() lst=input().split() dic=dict(Counter(lst)) x=max(list(dic.values()))-1 if x: print('No') else: print('Yes')
from collections import Counter input() lst = input().split() dic = dict(Counter(lst)) x = max(list(dic.values())) - 1 if x: print('NO') else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,859
576,858
u798675549
python
p02779
import sys from collections import Counter N=int(input()) l=input().split() l=Counter(l) l=l.most_common() c=len(l) d=0 for i in l: if i[1]==1: d+=1 if d==c: print('Yes') else: print('No')
import sys from collections import Counter N=int(input()) l=input().split() l=Counter(l) l=l.most_common() c=len(l) d=0 for i in l: if i[1]==1: d+=1 if d==c: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,860
576,861
u091217940
python
p02779
N = int(input()) A = list(map(int, input().split(" "))) A.sort() same = False for i in range(N - 1): if A[i] == A[i + 1]: same |= True print('YES' if same else 'NO')
N = int(input()) A = list(map(int, input().split(" "))) A.sort() same = False for i in range(N - 1): if A[i] == A[i + 1]: same |= True print('NO' if same else 'YES')
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
576,872
576,873
u198062737
python
p02779
N=int(input()) ls=[int(s) for s in input().split()] s=set(ls) if len(s)==N: print('Yes') else: print('No')
N=int(input()) ls=[int(s) for s in input().split()] s=set(ls) if len(s)==N: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,874
576,875
u918601425
python
p02779
import numpy as np n = input() num_list = list(map(int,input().split())) num_list = np.sort(num_list) flag = False for i in range(len(num_list)): if i == len(num_list)-1: break if num_list[i] == num_list[i+1]: flag = True break if flag: print('No') else: print('Yes')
import numpy as np n = input() num_list = list(map(int,input().split())) num_list = np.sort(num_list) flag = False for i in range(len(num_list)): if i == len(num_list)-1: break if num_list[i] == num_list[i+1]: flag = True break if flag: print('NO') else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,880
576,881
u549383771
python
p02779
n=int(input()) b=input().split() if len(set(b))==n: print("Yes") else: print("NO")
n=int(input()) b=input().split() if len(set(b))==n: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,892
576,893
u658987783
python
p02779
n=int(input()) a=list(map(int,input().split())) b=list(set(a)) if len(a)==len(b): print("Yes") else: print("No")
n=int(input()) a=list(map(int,input().split())) b=list(set(a)) if len(a)==len(b): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,894
576,895
u024782094
python
p02779
n=int(input()) a=list(map(int,input().split())) b=set(a) if len(a)==len(b): print("Yes") else: print("No")
n=int(input()) a=list(map(int,input().split())) b=list(set(a)) if len(a)==len(b): print("YES") else: print("NO")
[ "call.add", "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
576,896
576,895
u024782094
python
p02779
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline N = int(input()) m = map(int,input().split()) d = {} for i in m: if i in d: print("No") exit(0) d[i] = 1 print("Yes")
import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline N = int(input()) m = map(int,input().split()) d = {} for i in m: if i in d: print("NO") exit(0) d[i] = 1 print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,898
576,899
u168578024
python
p02779
N = int(input()) A = set(list(map(Int, input().split()))) if len(A) == N: print("YES") else: print("NO")
N = int(input()) A = set((map(int, input().split()))) if len(A) == N: print("YES") else: print("NO")
[ "call.arguments.change", "assignment.value.change", "identifier.change" ]
576,908
576,909
u814986259
python
p02779
N = int(input()) A = set(list(map(Int, input().split()))) if len(A) == N: print("YES") else: print("NO")
N = int(input()) A = set(list(map(int, input().split()))) if len(A) == N: print("YES") else: print("NO")
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
576,908
576,910
u814986259
python
p02779
# -*- coding: utf-8 -*- n = int(input()) a = [int(i) for i in input().split()] """ if len(set(a)) == len(a): print("YES") else: print("NO") """ flag = True a.sort() for i in range(n - 1): if a[i] == a[i + 1]: flag = False if flag: print("Yes") else: print("No")
# -*- coding: utf-8 -*- n = int(input()) a = [int(i) for i in input().split()] """ if len(set(a)) == len(a): print("YES") else: print("NO") """ flag = True a.sort() for i in range(n - 1): if a[i] == a[i + 1]: flag = False if flag: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,911
576,912
u977661421
python
p02779
n =int(input()) a = list(map(int,input().split())) l = list() l = sorted(a) answer = max(x - y for x, y in zip(l, l[1:])) if answer == 0: print('No') else: print('Yes')
n =int(input()) a = list(map(int,input().split())) l = list() l = sorted(a) answer = max(x - y for x, y in zip(l, l[1:])) if answer == 0: print('NO') else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,914
576,915
u374784428
python
p02779
n = int(input()) a = list(map(int,input().split())) set_a = list(set(a)) if len(set_a) == n: print("Yes") else: print("No")
n = int(input()) a = list(map(int,input().split())) set_a = list(set(a)) if len(set_a) == n: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,928
576,929
u573234244
python