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
8 values
p02779
from collections import Counter n = int(input()) a = list(map(int, input().split())) re = 0 c = Counter(a) new = c.values() for i in new: if i > 1: re += 1 if re > 0: print("No") else: print("Yes")
from collections import Counter n = int(input()) a = list(map(int, input().split())) re = 0 c = Counter(a) new = c.values() for i in new: if i > 1: re += 1 if re > 0: print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,006
576,007
u762533651
python
p02779
from collections import Counter n = int(input()) a = list(map(int, input().split())) c = Counter(a) new = c.values() #print(new) for i in new: if i != 1: re = "No" break else: re = "Yes" print(re) #if re > 0: #print("No") #else: #print("Yes")
from collections import Counter n = int(input()) a = list(map(int, input().split())) c = Counter(a) new = c.values() for i in new: if i != 1: re = "NO" break else: re = "YES" print(re)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
576,009
576,010
u762533651
python
p02779
n = int(input()) A = list(map(int, input().split())) A = list(set(A)) if len(A) == n: print('Yes') else : print('No')
n = int(input()) A = list(map(int, input().split())) A = list(set(A)) if len(A) == n: print('YES') else : print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,011
576,012
u496009935
python
p02779
import copy N = int(input()) list1 = list(map(int, input().split())) list2 = copy.copy(list1) list3 = set(list1) x=len(list2) y=len(list3) if x==y: print('Yes') else: print('No')
import copy N = int(input()) list1 = list(map(int, input().split())) list2 = copy.copy(list1) list3 = set(list1) x=len(list2) y=len(list3) if x==y: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,013
576,014
u136282556
python
p02779
import copy N = input() list1 = list(map(int, input().split())) list2 = copy.copy(list1) list3 = set(list1) x=len(list2) y=len(list3) if x==y: print('Yes') else: print('No')
import copy N = int(input()) list1 = list(map(int, input().split())) list2 = copy.copy(list1) list3 = set(list1) x=len(list2) y=len(list3) if x==y: print('YES') else: print('NO')
[ "call.add", "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
576,015
576,014
u136282556
python
p02779
N = int(input()) A = list(map(int, input().split())) flag = True A = sorted(A) print(A) 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 = list(map(int, input().split())) flag = True A = sorted(A) for i in range(N-1): if A[i] == A[i+1]: flag = False if flag: print("YES") else: print("NO")
[ "call.remove" ]
576,016
576,017
u574779290
python
p02779
import bisect, collections, copy, heapq, itertools, math, string import sys def I(): return int(sys.stdin.readline().rstrip()) def MI(): return map(int, sys.stdin.readline().rstrip().split()) def LI(): return list(map(int, sys.stdin.readline().rstrip().split())) def S(): return sys.stdin.readline().rstrip() def LS(): return list(sys.stdin.readline().rstrip().split()) from collections import defaultdict from collections import Counter import bisect def main(): N = I() A = LI() c = Counter(A) if len(c.values()) == N: print('Yes') else: print('No') if __name__ == "__main__": main()
import bisect, collections, copy, heapq, itertools, math, string import sys def I(): return int(sys.stdin.readline().rstrip()) def MI(): return map(int, sys.stdin.readline().rstrip().split()) def LI(): return list(map(int, sys.stdin.readline().rstrip().split())) def S(): return sys.stdin.readline().rstrip() def LS(): return list(sys.stdin.readline().rstrip().split()) from collections import defaultdict from collections import Counter import bisect def main(): N = I() A = LI() c = Counter(A) if len(c.values()) == N: print('YES') else: print('NO') if __name__ == "__main__": main()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,025
576,026
u364693468
python
p02779
n = int(input()) a = list(map(int,input().split())) b = sorted(a) memo = 0 for i in range(n-1): if(a[i]==a[i+1]): memo +=1 if(memo==0): print("YES") else: print("NO")
n = int(input()) a = list(map(int,input().split())) b = sorted(a) memo = 0 for i in range(n-1): if(b[i]==b[i+1]): memo +=1 if(memo==0): print("YES") else: print("NO")
[ "identifier.change", "control_flow.branch.if.condition.change" ]
576,032
576,033
u696684809
python
p02779
import sys input = sys.stdin.readline n = int(input()) a = list(map(int, input().split())) len_a = len(a) set_a = len(set(a)) if len_a == set_a: print('Yes') else: print('No')
import sys input = sys.stdin.readline n = int(input()) a = list(map(int, input().split())) len_a = len(a) set_a = len(set(a)) if len_a == set_a: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,039
576,040
u222668979
python
p02779
n = int(input()) an = list(map(int,input().split())) an.sort() for x in range(n-1): if an[i+1]-an[i] == 0: print("NO") break else: print("YES")
n = int(input()) an = list(map(int,input().split())) an.sort() for x in range(n-1): if an[x+1]-an[x] == 0: print("NO") break else: print("YES")
[ "identifier.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change" ]
576,043
576,044
u904331908
python
p02779
n=int(input()) a=list(map(int,input().split())) print ('Yes' if len(a)==len(set(a)) else 'No')
n=int(input()) a=list(map(int,input().split())) print ('YES' if len(a)==len(set(a)) else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,045
576,046
u539367121
python
p02779
N=int(input()) #b,c=int(input()),int(input()) # c=[] # for i in b: # c.append(i) #e1,e2 = map(int,input().split()) A = list(map(int,input().split())) #j = [input() for _ in range(a)] # h = [] # for i in range(e1): # h.append(list(map(int,input().split()))) A.sort() ans="Yes" for i in range(1,N): if A[i-1]==A[i]: ans="NO" break print(ans)
N=int(input()) #b,c=int(input()),int(input()) # c=[] # for i in b: # c.append(i) #e1,e2 = map(int,input().split()) A = list(map(int,input().split())) #j = [input() for _ in range(a)] # h = [] # for i in range(e1): # h.append(list(map(int,input().split()))) A.sort() ans="YES" for i in range(1,N): if A[i-1]==A[i]: ans="NO" break print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
576,047
576,048
u034855798
python
p02779
N=int(input()) #b,c=int(input()),int(input()) # c=[] # for i in b: # c.append(i) #e1,e2 = map(int,input().split()) A = list(map(int,input().split())) #j = [input() for _ in range(a)] # h = [] # for i in range(e1): # h.append(list(map(int,input().split()))) A.sort() ans="Yes" for i in range(1,N): if A[i-1]==A[i]: ans="NO" print(ans)
N=int(input()) #b,c=int(input()),int(input()) # c=[] # for i in b: # c.append(i) #e1,e2 = map(int,input().split()) A = list(map(int,input().split())) #j = [input() for _ in range(a)] # h = [] # for i in range(e1): # h.append(list(map(int,input().split()))) A.sort() ans="YES" for i in range(1,N): if A[i-1]==A[i]: ans="NO" break print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change", "control_flow.break.add" ]
576,051
576,048
u034855798
python
p02779
m = int(input()) n = list(map(int,input().split)) print("YES" if len(set(n)) == m else "NO")
m = int(input()) n = list(map(int,input().split())) print("YES" if len(set(n)) == m else "NO")
[ "call.add" ]
576,052
576,053
u344959959
python
p02779
n = int(input()) a = sorted([int(i) for i in input().split()]) ans = 'Yes' for i in range(1, n): if a[i-1] == a[i]: ans = 'No' break print(ans)
n = int(input()) a = sorted([int(i) for i in input().split()]) ans = 'YES' for i in range(1, n): if a[i-1] == a[i]: ans = 'NO' break print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
576,056
576,057
u051174463
python
p02779
N = int(input()) A = {i for i in input().split()} print("Yes" if N==len(A) else "No")
N = int(input()) A = {i for i in input().split()} print("YES" if N==len(A) else "NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,058
576,059
u750058957
python
p02779
N=int(input()) A=list(map(int, input().split())) if list(set(A))==sorted(A): print("YES") else: print("NO")
N=int(input()) A=list(map(int, input().split())) if len(set(A))==N: print("YES") else: print("NO")
[ "identifier.change", "call.function.change", "control_flow.branch.if.condition.change", "call.arguments.change" ]
576,060
576,061
u608178601
python
p02779
def check(seq): return len(seq) != len(set(seq)) def main(): N = int(input()) A = list(map(int, input.split())) ans = check(A) if ans: print("NO") else: print("Yes") main()
def check(seq): return len(seq) != len(set(seq)) def main(): N = int(input()) A = list(map(int, input().split())) ans = check(A) if ans: print("NO") else: print("YES") main()
[ "call.add", "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,068
576,069
u159144188
python
p02779
n = int(input()) A = list(map(int, input().split())) d = {} for i in A: if i in d: print("No") exit(0) else: d[i] = 1 print("Yes")
n = int(input()) A = list(map(int, input().split())) d = {} for i in A: if i in d: print("NO") exit(0) else: d[i] = 1 print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,075
576,076
u643679148
python
p02779
import collections N=int(input()) A=list(map(int,input().split())) li=list(collections.Counter(A).values()) for i in range(N): if li[i]<1: print('NO') exit() print('YES')
import collections N=int(input()) A=list(map(int,input().split())) li=list(collections.Counter(A).values()) for i in range(len(li)): if li[i]>1: print('NO') exit() print('YES')
[ "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add", "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
576,080
576,081
u005977014
python
p02779
N = int(input()) A = list(map(int, input().split())) # Aのどの2つの要素も互いに異なること ⇔ 重複しない要素の個数がN # 上記の事実を用いずに考えると・・・N=10^5なので、O(N)で解く # 二重ループはO(N^2)なので間に合わない # 数列に等しい値がある場合、ソートしたとき、隣接する場所に値が集まる # まずソートし、全ての隣接する2項を比較すればよい A = sorted(A) ans = 'NO' for i in range(N-1): if A[i] == A[i+1]: ans = 'YES' break print(ans)
N = int(input()) A = list(map(int, input().split())) # Aのどの2つの要素も互いに異なること ⇔ 重複しない要素の個数がN # 上記の事実を用いずに考えると・・・N=10^5なので、O(N)で解く # 二重ループはO(N^2)なので間に合わない # 数列に等しい値がある場合、ソートしたとき、隣接する場所に値が集まる # まずソートし、全ての隣接する2項を比較すればよい A = sorted(A) ans = 'YES' for i in range(N-1): if A[i] == A[i+1]: ans = 'NO' break print(ans)
[ "literal.string.change", "assignment.value.change" ]
576,082
576,083
u309120194
python
p02779
N = int(input()) A = list(map(int, input().split())) if N == len(set(A)): print('Yes') else: print('No')
N = int(input()) A = list(map(int, input().split())) if N == len(set(A)): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,084
576,085
u309120194
python
p02779
N = int(input()) A = list(map(int, input().split())) if N == len(set(A)): print('Yes') else: print('No')
N = int(input()) A = list(map(int, input().split())) if N == len(set(A)): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,086
576,085
u309120194
python
p02779
N = int(input()) A = list(map(int, input.split())) if N == len(set(A)): print('Yes') else: print('No')
N = int(input()) A = list(map(int, input().split())) if N == len(set(A)): print('YES') else: print('NO')
[ "call.add", "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,087
576,085
u309120194
python
p02779
n = int(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")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,096
576,097
u995163736
python
p02779
n = int(input()) a = set(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')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,098
576,099
u407267131
python
p02779
def has_duplicates(seq): return len(seq) != len(set(seq)) N=int(input()) A=list(map(int,input().split())) if has_duplicates(A): print('No') else: print('Yes')
def has_duplicates(seq): return len(seq) != len(set(seq)) N=int(input()) A=list(map(int,input().split())) if has_duplicates(A): print('NO') else: print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,102
576,103
u827261928
python
p02779
n= int(input()) che={} ans='Yes' a = list(map(int, input().split())) for i in a: if i in che.keys(): ans='No' else: che[i]=0 print(ans)
n= int(input()) che={} ans='YES' a = list(map(int, input().split())) for i in a: if i in che.keys(): ans='NO' else: che[i]=0 print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
576,105
576,106
u464823755
python
p02779
n = int(input()) a = list(map(int,input().split())) if(n!=len(list(set(a)))): print("No") else: print("Yes")
n = int(input()) a = list(map(int,input().split())) if(n!=len(list(set(a)))): print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,111
576,112
u655048024
python
p02779
n = int(input()) a = list(map(int, 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 = list(map(int, 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,113
576,114
u285265363
python
p02779
n = int(input()) a = list(map(int, input.split())) d = set() for x in a: if x in d: print("NO") quit() d.add(x) print("YES")
n = int(input()) a = list(map(int, input().split())) d = set() for x in a: if x in d: print("NO") quit() d.add(x) print("YES")
[ "call.add" ]
576,121
576,122
u682672120
python
p02779
N=int(input()) A=list(map(int,input().split())) B=list(dict.fromkeys(A)) if A==B: print('Yes') else: print('No')
N=int(input()) A=list(map(int,input().split())) B=list(dict.fromkeys(A)) if A==B: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,125
576,126
u897220832
python
p02779
# -*- coding: utf-8 -*- N = int(input()) A = list(map(int, input().split())) A = sorted(A) for i in range(1, N): if A[i-1] == A[i]: print("No") exit() print("Yes")
# -*- coding: utf-8 -*- N = int(input()) A = list(map(int, input().split())) A = sorted(A) for i in range(1, N): if A[i-1] == A[i]: print("NO") exit() print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,128
576,129
u531391334
python
p02779
import sys N = int(input()) cc = list(map(int,input().split())) dic = set() for i in cc: if i in dic: print('NO') sys.exit() else: dic.append(i) print('YES')
import sys N = int(input()) cc = list(map(int,input().split())) dic = set() for i in cc: if i in dic: print('NO') sys.exit() else: dic.add(i) print('YES')
[ "identifier.change" ]
576,130
576,131
u089925107
python
p02779
def main(): N = int(input()) List = list(map(int,input().split())) Set = set() for i in List: if i in Set: print('No') return Set.add(i) print('Yes') return main()
def main(): N = int(input()) List = list(map(int,input().split())) Set = set() for i in List: if i in Set: print('NO') return Set.add(i) print('YES') return main()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,134
576,135
u311488536
python
p02779
import numpy as np N = int(input()) if N != len(set(list(map(int,input().split())))): print("No") else: print("Yes")
import numpy as np N = int(input()) if N != len(set(list(map(int,input().split())))): print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,137
576,138
u773686010
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,164
576,165
u087118202
python
p02779
n = int(input()) m = list(map(int,input().split())) if len(set(m)) == len(m): print("Yes") else: print("No")
n = int(input()) m = list(map(int,input().split())) if len(set(m)) == len(m): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,168
576,169
u760760982
python
p02779
import sys N=int(input()) A=list(map(int,input().split())) A.sort() for i in range(N): 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(1,N): if A[i-1]==A[i]: print('NO') sys.exit() print('YES')
[ "call.arguments.add", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "misc.off_by_one", "expression.operation.binary.remove" ]
576,178
576,179
u524534026
python
p02779
n = int(input()) a = list(map(int, input().split())) a_set = set(a) if len(a) == len(a_set): print('Yes') else: print('No')
n = int(input()) a = list(map(int, input().split())) a_set = set(a) if len(a) == len(a_set): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,185
576,186
u018771977
python
p02779
n = int(input()) a = list(map(int, input().split())) a_set = set(a) if len(a) == len(a_set): print('Yes') else: print('No')
n = int(input()) a = list(map(int, input().split())) a_set = set(a) if len(a) == len(a_set): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,187
576,186
u018771977
python
p02779
def main(): n = int(input()) print("Yes" if n == len(set(map(int, input().split()))) else "No") if __name__ == '__main__': main()
def main(): n = int(input()) print("YES" if n == len(set(map(int, input().split()))) else "NO") if __name__ == '__main__': main()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,188
576,189
u157232135
python
p02779
N = int(input()) A = list(map(int, input().split())) B = set(A) print("Yes" if len(A) == len(B) else "No")
N = int(input()) A = list(map(int, input().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,190
576,191
u536034761
python
p02779
#C from collections import Counter N=int(input()) A=[int(x) for x in input().split()] A_C=Counter(A) flag=True for i,v in A_C.items(): if v!=1: flag=False break if flag: print("Yes") else: print("No")
#C from collections import Counter N=int(input()) A=[int(x) for x in input().split()] A_C=Counter(A) flag=True for i,v in A_C.items(): if v!=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,203
576,204
u330728443
python
p02779
n=int(input()) l=list(map(int,input().split())) m=set(l) if len(l)==len(m): print("Yes") else: print("No")
n=int(input()) l=list(map(int,input().split())) m=set(l) if len(l)==len(m): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,205
576,206
u901598613
python
p02779
N = int(input()) S = input().split() if N == set(S): print("YES") else: print("NO")
N = int(input()) S = input().split() if N == len(set(S)): print("YES") else: print("NO")
[ "control_flow.branch.if.condition.change", "call.add" ]
576,210
576,211
u176165272
python
p02779
n = int(input()) a = list(map(int, input().split())) b = list(set(a)) if sorted(a) == sorted(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')
[ "identifier.change", "call.function.change", "control_flow.branch.if.condition.change", "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,214
576,215
u188827677
python
p02779
n = int(input()) a = list(map(int, input().split())) b = list(set(a)) if sorted(a) == sorted(b): print('Yes') else: print('No')
n = int(input()) a = list(map(int, input().split())) b = list(set(a)) if sorted(a) == sorted(b): print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,214
576,216
u188827677
python
p02779
# -*- coding:utf-8 -*- n = int(input()) numbers = [] for i in map(int,input().split()): numbers.append(i) a = sorted(list(set(numbers))) b = sorted(numbers) if a == b: print("Yes") else: print("No")
# -*- coding:utf-8 -*- n = int(input()) numbers = [] for i in map(int,input().split()): numbers.append(i) a = sorted(list(set(numbers))) b = sorted(numbers) if a == b: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,217
576,218
u188827677
python
p02779
n = int(input()) a = list(map(int, input().split())) at = sorted(a) if len(a) == len(at): print('YES') else: print('NO')
n = int(input()) a = list(map(int, input().split())) at = set(a) if len(a) == len(at): print('YES') else: print('NO')
[ "assignment.value.change", "identifier.change", "call.function.change" ]
576,221
576,222
u296989351
python
p02779
n = int(input()) l = list(map(int, input().split())) sl = sorted(l) if len(l) == len(sl): print('YES') else: Print('NO')
n = int(input()) l = list(map(int, input().split())) sl = list(set(l)) if len(l) == len(sl): print('YES') else: print('NO')
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.add", "call.arguments.change", "io.output.change" ]
576,223
576,224
u175746978
python
p02779
n=int(input()) a=[i for i in input().split()] print('YES' if len(set(a)==n) else 'NO')
n=int(input()) a=[i for i in input().split()] print('YES' if len(set(a))==n else 'NO')
[ "call.arguments.change" ]
576,227
576,228
u656919695
python
p02779
N = int(input()) A = list(map(int, input().split())) print('Yes' if len(set(A)) == len(A) else 'No')
N = int(input()) A = list(map(int, 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,232
576,233
u572122511
python
p02779
import numpy as np def f(n, a): if len(np.unique(a)) == n: print('YES') else: print('NO') n = input() a = list(map(int, input().split())) f(n, a)
import numpy as np def f(n, a): if len(np.unique(a)) == n: print('YES') else: print('NO') n = int(input()) a = list(map(int, input().split())) f(n, a)
[ "call.add", "call.arguments.change" ]
576,261
576,262
u437215432
python
p02779
import numpy as np def f(n, a): if len(np.unique(a)) == a: print('YES') else: print('NO') n = input() a = list(map(int, input().split())) f(n, a)
import numpy as np def f(n, a): if len(np.unique(a)) == n: print('YES') else: print('NO') n = int(input()) a = list(map(int, input().split())) f(n, a)
[ "identifier.change", "control_flow.branch.if.condition.change", "call.add", "call.arguments.change" ]
576,263
576,262
u437215432
python
p02779
n = int(input()) l = list(map(int,input().split())) d = {} for i in l: if i in d: d[i] += 1 if i not in d: d[i] = 1 length = len(d) if length ==n: print("YES") else: print("NO") print(d)
n = int(input()) l = list(map(int,input().split())) d = {} for i in l: if i in d: d[i] += 1 if i not in d: d[i] = 1 length = len(d) if length ==n: print("YES") else: print("NO")
[ "call.remove" ]
576,267
576,268
u054931633
python
p02779
n = int(input()) l = list(map(int,input().split())) d = {} for i in l: if i in d: d[i] += 1 if i not in d: d[i] = 1 length = len(d) if length ==n: print("Yes") else: print("No")
n = int(input()) l = list(map(int,input().split())) d = {} for i in l: if i in d: d[i] += 1 if i not in d: d[i] = 1 length = len(d) if length ==n: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,269
576,268
u054931633
python
p02779
from collections import defaultdict n=int(input()) x=list(map(int,input().split())) a=defaultdict(int) f=True for y in x: if a[y]==1: f=False break a[y]=1 if f: print("yes") else: print("no")
from collections import defaultdict n=int(input()) x=list(map(int,input().split())) a=defaultdict(int) f=True for y in x: if a[y]==1: f=False break a[y]=1 if f: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,270
576,271
u772969943
python
p02779
n = int(input()) a = [int(x) for x in input().split()] result = True a.sort() for i in range(len(a)-1): if a[i] == a[i+1]: result = False break if result: print("Yes") else: print("No")
n = int(input()) a = [int(x) for x in input().split()] result = True a.sort() for i in range(len(a)-1): if a[i] == a[i+1]: result = False break if result: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,272
576,273
u916662650
python
p02779
from collections import Counter n=int(input()) a=list(map(int, input().split())) c=Counter(a) print('Yes' if len(a)==len(c) else 'No')
from collections import Counter n=int(input()) a=list(map(int, input().split())) c=Counter(a) print('YES' if len(a)==len(c) else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,288
576,289
u405660020
python
p02779
_ = int(input()) A = list(map(int, input().split())) import collections c = collections.Counter(A) if max(c.values()) > 1: print("No") else: print("Yes")
_ = int(input()) A = list(map(int, input().split())) import collections c = collections.Counter(A) if max(c.values()) > 1: print("NO") else: print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,305
576,306
u531220228
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,307
576,308
u857547702
python
p02779
n = int(input()) a = set(map(int, input().split())) print('Yes' if len(a) == n else 'No')
n = int(input()) a = set(map(int, input().split())) print('YES' if len(a) == n else 'NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,309
576,310
u696805736
python
p02779
# coding: utf-8 import sys sysread = sys.stdin.readline read = sys.stdin.read sys.setrecursionlimit(10**7) def run(): N = int(input()) A = list(map(int, sysread().split())) A = sorted(A) for i in range(N-1): if A[i] == A[i+1]: print('No') return None print('Yes') if __name__ == "__main__": run()
# coding: utf-8 import sys #from operator import itemgetter sysread = sys.stdin.readline read = sys.stdin.read #from heapq import heappop, heappush #from collections import defaultdict sys.setrecursionlimit(10**7) #import math #from itertools import combinations #import bisect# lower_bound etc #import numpy as np def run(): N = int(input()) A = list(map(int, sysread().split())) A = sorted(A) for i in range(N-1): if A[i] == A[i+1]: print('NO') return None print('YES') if __name__ == "__main__": run()
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,313
576,314
u044220565
python
p02779
n = int(input()) a = set( 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')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,325
576,326
u744695362
python
p02779
from collections import Counter # input N = int(input()) A = list(map(int, input().split())) if [1 ** N] == Counter(A).values(): print("YES") else: print("NO")
from collections import Counter # input N = int(input()) A = list(map(int, input().split())) if [1] * N == list(Counter(A).values()): print("YES") else: print("NO")
[ "expression.operation.binary.remove", "control_flow.branch.if.condition.change", "call.add" ]
576,331
576,332
u284363684
python
p02779
S=int(input()) T = input().split() U = [int(i) for i in T] U.sort r = 0 for i in range(S-1): if(T[i] == T[i+1]): r+=1 if(r==0): print("YES") else: print("NO")
S=int(input()) T = input().split() U = [int(i) for i in T] U.sort() r = 0 for i in range(S-1): if(U[i] == U[i+1]): r+=1 if(r==0): print("YES") else: print("NO")
[ "call.add", "identifier.change", "control_flow.branch.if.condition.change" ]
576,335
576,336
u374372942
python
p02779
import sys input = sys.stdin.readline n = int(input()) a = list(map(int, input().split())) cur = set(a) if len(cur) == len(a): print("Yes") else: print("No")
import sys input = sys.stdin.readline n = int(input()) a = list(map(int, input().split())) cur = set(a) if len(cur) == len(a): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,343
576,344
u572138437
python
p02779
N = int(input()) S = map(int, input().split()) if len(set(S)) == N: print('Yes') else: print('No')
N = int(input()) S = map(int, input().split()) if len(set(S)) == N: print('YES') else: print('NO')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,349
576,350
u819593641
python
p02779
N = int(input()) list1 = sorted(list(map(int, input().split()))) s = 'YES' for i in range(N-1): if list[i] == list[i+1]: s = 'NO' break print(s)
N = int(input()) list1 = sorted(list(map(int, input().split()))) s = 'YES' for i in range(N-1): if list1[i] == list1[i+1]: s = 'NO' break print(s)
[ "identifier.change", "control_flow.branch.if.condition.change" ]
576,351
576,352
u591524911
python
p02779
N = int(input()) list1 = list(map(int, input().split())).sort() pre_num = None s = 'YES' for num in list1: if num == pre_num: s = 'NO' break pre_num = num print(s)
N = int(input()) list1 = sorted(list(map(int, input().split()))) pre_num = None s = 'YES' for num in list1: if num == pre_num: s = 'NO' break pre_num = num print(s)
[ "call.add", "call.remove" ]
576,353
576,354
u591524911
python
p02779
n = int(input()) a_list = list(map(int, input().split())) a_hash = {} for a in a_list: if a in a_hash: print("No") exit() a_hash[a] = True print("Yes")
n = int(input()) a_list = list(map(int, input().split())) a_hash = {} for a in a_list: if a in a_hash: print("NO") exit() a_hash[a] = True print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,357
576,358
u396858476
python
p02779
N = int(input()) A = list(map(int, input().split())) A.sort() #print(A) yesno = 'NO' for i in range(len(A)-1): if A[i]==A[i+1]: yesno = 'YES' break print(yesno)
N = int(input()) A = list(map(int, input().split())) A.sort() #print(A) yesno = 'YES' for i in range(len(A)-1): if A[i]==A[i+1]: yesno = 'NO' break print(yesno)
[ "literal.string.change", "assignment.value.change" ]
576,359
576,360
u250061066
python
p02779
N = int(input()) A = list(map(int, input().split())) A.sort() #print(A) yesno = 'No' for i in range(len(A)-1): if A[i]==A[i+1]: yesno = 'Yes' break print(yesno)
N = int(input()) A = list(map(int, input().split())) A.sort() #print(A) yesno = 'YES' for i in range(len(A)-1): if A[i]==A[i+1]: yesno = 'NO' break print(yesno)
[ "literal.string.change", "assignment.value.change" ]
576,361
576,360
u250061066
python
p02779
n = int(input()) a = list(map(int , input().split())) import collections dic = collections.Counter(a) if max(dic.values()) == 1: print("Yes") else: print("No")
n = int(input()) a = list(map(int , input().split())) import collections dic = collections.Counter(a) if max(dic.values()) == 1: print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,362
576,363
u643498327
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') exit() else: pass 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() else: pass print('YES')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,376
576,377
u174181999
python
p02779
import numpy as np from collections import defaultdict n = int(input()) a = np.array(list(map(int, input().split()))) d = defaultdict(int) for i in range(n): d[a[i]] += 1 print("Yes") if max(d.values()) == 1 else print("No")
import numpy as np from collections import defaultdict n = int(input()) a = np.array(list(map(int, input().split()))) d = defaultdict(int) for i in range(n): d[a[i]] += 1 print("YES") if max(d.values()) == 1 else print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,378
576,379
u860002137
python
p02779
n = int(input()) xs = set(map(int,input().split())) if lrn(cs) == n: print("YES") else: print("NO")
n = int(input()) xs = set(map(int,input().split())) if len(xs) == n: print("YES") else: print("NO")
[ "identifier.change", "call.function.change", "control_flow.branch.if.condition.change" ]
576,384
576,385
u425762225
python
p02779
N = int(input()) A = list(map(int,input().split())) if len(A) == len(list(set(A))): print("Yes") else: print("No")
N = int(input()) A = list(map(int,input().split())) if len(A) == len(list(set(A))): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,390
576,391
u442877951
python
p02779
N=int(input()) A=list(map(int,input().split())) list.sort(A) for i in range(N-1): if A[i]-A[i+1]==0: print("No") exit(0) print("Yes")
N=int(input()) A=list(map(int,input().split())) list.sort(A) for i in range(N-1): if A[i]-A[i+1]==0: print("NO") exit(0) print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,396
576,397
u688219499
python
p02779
N=int(input()) A=list(map(int,input().split())) list.sort(A) for i in range(N-1): if A[i]-A[i+1]==0: print("No") exit(0) else: continue print("Yes")
N=int(input()) A=list(map(int,input().split())) list.sort(A) for i in range(N-1): if A[i]-A[i+1]==0: print("NO") exit(0) print("YES")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,398
576,397
u688219499
python
p02779
n=int(input()) a=list(map(int,input().split())) A=set(a) if n==len(A): print("Yes") else: print("No")
n=int(input()) a=list(map(int,input().split())) A=set(a) if n==len(A): print("YES") else: print("NO")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
576,410
576,411
u224119985
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,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