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 |
|---|---|---|---|---|---|---|---|
p02778
|
S = input()
for i in range(len(S)):
print('x')
|
S = input()
for i in range(len(S)):
print('x', end='')
|
[
"call.arguments.add"
] | 575,421
| 575,422
|
u736470924
|
python
|
p02778
|
in_string = input()
out_string = ["X"]*len(in_string)
print("".join(out_string))
|
in_string = input()
out_string = ["x"]*len(in_string)
print("".join(out_string))
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 575,427
| 575,428
|
u460375306
|
python
|
p02778
|
s = input()
print(x * len(s))
|
s = input()
print('x' * len(s))
|
[
"call.arguments.change"
] | 575,433
| 575,434
|
u772588522
|
python
|
p02778
|
num = input()
ad = ""
for i in num:
ad.append("x")
print(ad)
|
num = input()
ad = ""
for i in num:
ad+="x"
print(ad)
|
[
"call.remove",
"call.arguments.change"
] | 575,441
| 575,442
|
u305349402
|
python
|
p02778
|
s=input()
a=len(s)
print(x*a)
|
s=input()
a=len(s)
print("x"*a)
|
[
"call.arguments.change"
] | 575,447
| 575,448
|
u507113442
|
python
|
p02778
|
s = input()
for i in range(0,len(s)):
print('*',end='')
|
s = input()
for i in range(0,len(s)):
print('x',end='')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 575,467
| 575,468
|
u187995923
|
python
|
p02778
|
S=input()
for i in range(len(S)):
print("x",enmd="")
|
S=input()
for i in range(len(S)):
print("x",end="")
|
[
"identifier.change",
"call.arguments.change",
"call.arguments.keyword_argument.change"
] | 575,469
| 575,470
|
u811535236
|
python
|
p02778
|
import sys
from collections import deque, Counter, defaultdict
from math import gcd
input = sys.stdin.readline
def eprint(s):
if type(s) != type('str'):
s=str(s)
sys.stderr.write(s+'\n')
return
def main():
s = input()
print('x'*len(s))
return
if __name__ == '__main__':
main()
|
import sys
from collections import deque, Counter, defaultdict
from math import gcd
input = sys.stdin.readline
def eprint(s):
if type(s) != type('str'):
s=str(s)
sys.stderr.write(s+'\n')
return
def main():
s = input()
print('x' * (len(s)-1))
return
if __name__ == '__main__':
main()
|
[
"call.arguments.change"
] | 575,483
| 575,484
|
u593934357
|
python
|
p02778
|
S=input()
S=list(S)
for i in len(S):
print("x", end="")
|
S=input()
S=list(S)
for i in range(len(S)):
print("x", end="")
|
[
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 575,485
| 575,486
|
u784022244
|
python
|
p02778
|
S = input()
S_number = len(S)
print("X" * S_number)
|
S = input()
S_number = len(S)
print("x" * S_number)
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 575,487
| 575,488
|
u558129042
|
python
|
p02778
|
s=input()
ans=""
for i in range(len(a)):
ans+="x"
print(ans)
|
s=input()
ans=""
for i in range(len(s)):
ans+="x"
print(ans)
|
[
"identifier.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 575,495
| 575,496
|
u768559443
|
python
|
p02778
|
S = input()
A = 'x'*(len(S))
|
S = input()
A = 'x'*(len(S))
print(A)
|
[
"call.add"
] | 575,501
| 575,502
|
u578462133
|
python
|
p02778
|
s = input()
l = len(input())
print('x'*l)
|
l = len(input())
print('x'*l)
|
[
"assignment.remove"
] | 575,525
| 575,526
|
u111365362
|
python
|
p02778
|
s=input()
s=list(s)
print("X"*len(s))
|
s=input()
s=list(s)
print("x"*len(s))
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 575,539
| 575,540
|
u755313517
|
python
|
p02778
|
S = list(input())
print(S)
for i in range(len(S)):
S[i]='x'
print(*S, sep='')
|
S = list(input())
for i in range(len(S)):
S[i]='x'
print(*S, sep='')
|
[
"call.remove"
] | 575,543
| 575,544
|
u290732778
|
python
|
p02778
|
s = readline()
ans = "x" * len(s)
print(ans)
|
s = input()
ans = "x" * len(s)
print(ans)
|
[
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 575,557
| 575,558
|
u986237475
|
python
|
p02778
|
S=input()
word="S"
print(word.replace("S","X")*len(S))
|
S=input()
word="S"
print(word.replace("S","x")*len(S))
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 575,563
| 575,564
|
u144203608
|
python
|
p02778
|
s=input()
l =len(s)
print("x"*(l+1))
|
s=input()
l=len(s)
k="x"*l
print(k)
|
[
"call.arguments.change"
] | 575,566
| 575,567
|
u682721153
|
python
|
p02778
|
import re
char=input()
re.sub(".", "x", char)
|
import re
char=input()
print(re.sub(".", "x", char))
|
[
"call.add",
"call.arguments.change"
] | 575,568
| 575,569
|
u224007104
|
python
|
p02779
|
N=int(input())
from collections import Counter
if max(Counter([int(x) for x in input().split()]).values())==1:
print("Yes")
else:
print("No")
|
N=int(input())
from collections import Counter
if max(Counter([int(x) for x in input().split()]).values())==1:
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,580
| 575,581
|
u123579949
|
python
|
p02779
|
def resolve():
N = int(input())
A = list(map(int, input().split()))
print("Yes" if len(A) == len(set(A)) else "No")
if '__main__' == __name__:
resolve()
|
def resolve():
N = int(input())
A = list(map(int, input().split()))
print("YES" if len(A) == len(set(A)) else "NO")
if '__main__' == __name__:
resolve()
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,582
| 575,583
|
u106797249
|
python
|
p02779
|
n = int(input())
P = list(map(int,input().split()))
S={}
ans="Yes"
for p in P:
if p in S:
ans = "No"
break
else:
S[p]=1
print(ans)
|
n = int(input())
P = list(map(int,input().split()))
S={}
ans="YES"
for p in P:
if p in S:
ans = "NO"
break
else:
S[p]=1
print(ans)
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 575,584
| 575,585
|
u707030679
|
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()
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")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,588
| 575,589
|
u460386402
|
python
|
p02779
|
n = int(input())
a = list(map(int,input().split()))
a.sort()
tmp = 0
for i in range(n-1):
if a[i]==a[i+1]:
tmp = 1
break
if tmp == 1:
print('No')
else:
print('Yes')
|
n = int(input())
a = list(map(int,input().split()))
a.sort()
tmp = 0
for i in range(n-1):
if a[i]==a[i+1]:
tmp = 1
break
if tmp == 1:
print('NO')
else:
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,602
| 575,603
|
u589969467
|
python
|
p02779
|
n = int(input())
l = list(map(int, input().split()))
l.sort()
for i in range(n-1):
if l[i] == l[i + 1] :
print("No")
exit()
print("Yes")
|
n = int(input())
l = list(map(int, input().split()))
l.sort()
for i in range(n-1):
if l[i] == l[i + 1] :
print("NO")
exit()
print("YES")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,604
| 575,605
|
u122495382
|
python
|
p02779
|
def main():
n = int(input())
nums = input().split(' ')
s = set()
result = 'YES'
for i in range(n):
num = nums[i]
if num in s:
result = 'NO'
break
s.add(num)
return result
if __name__ == '__main__':
main()
|
def main():
n = int(input())
nums = input().split(' ')
s = set()
result = 'YES'
for i in range(n):
num = nums[i]
if num in s:
result = 'NO'
break
s.add(num)
print(result)
if __name__ == '__main__':
main()
|
[
"function.return_value.change",
"call.arguments.change"
] | 575,606
| 575,607
|
u043844098
|
python
|
p02779
|
N=int(input())
A=list(map(int,input()))
S=set(A)
print("YES" if len(A)==len(S) else "NO")
|
N=int(input())
A=list(map(int,input().split()))
S=set(A)
print("YES" if len(A)==len(S) else "NO")
|
[
"call.add"
] | 575,608
| 575,609
|
u054825571
|
python
|
p02779
|
n=int(input())
l=list(map(int,input().split()))
k=set(l)
if n==len(k):
print('Yes')
else:
print('No')
|
n=int(input())
l=list(map(int,input().split()))
k=set(l)
if n==len(k):
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,612
| 575,613
|
u272525952
|
python
|
p02779
|
n = int(input())
a = list(map(int,input().split()))
from collections import Counter
b = Counter(a)
for i in b.values():
if i>1:
print('NO')
else:
print('YES')
|
n = int(input())
a = list(map(int,input().split()))
from collections import Counter
b = Counter(a)
for i in b.values():
if i>1:
print('NO')
break
else:
print('YES')
|
[
"control_flow.break.add"
] | 575,616
| 575,617
|
u182178426
|
python
|
p02779
|
N = int(input())
A = [int(x) for x in input().split()]
cnt = dict()
for i in range(N):
cnt[A[i]] = cnt.get(A[i], 0) + 1
if max(cnt.values()) > 1:
print('No')
else:
print('Yes')
|
N = int(input())
A = [int(x) for x in input().split()]
cnt = dict()
for i in range(N):
cnt[A[i]] = cnt.get(A[i], 0) + 1
if max(cnt.values()) > 1:
print('NO')
else:
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,618
| 575,619
|
u707808519
|
python
|
p02779
|
n=int(input())
a=[int(i) for i in input().split()]
if(len(set(a)==n)):
print('YES')
else:
print('NO')
|
n=int(input())
a=[int(i) for i in input().split()]
if(len(set(a))==n):
print('YES')
else:
print('NO')
|
[
"control_flow.branch.if.condition.change"
] | 575,622
| 575,623
|
u108509795
|
python
|
p02779
|
N,*a = map(int,open(0).read().split())
a.sort()
flag = True
for i in range(1,N):
if a[i]==a[i-1]:
print('No')
flag=False
break
if flag ==True:
print('Yes')
|
N,*a = map(int,open(0).read().split())
a.sort()
flag = True
for i in range(1,N):
if a[i]==a[i-1]:
print('NO')
flag=False
break
if flag ==True:
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,636
| 575,637
|
u227907942
|
python
|
p02779
|
import collections
n = int(input())
a = list(map(int,input().split()))
li = collections.Counter(a)
li2 = [i for i in li.values()]
if max(li2)==1:
print("Yes")
else:
print("No")
|
import collections
n = int(input())
a = list(map(int,input().split()))
li = collections.Counter(a)
li2 = [i for i in li.values()]
if max(li2)==1:
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,646
| 575,647
|
u550146922
|
python
|
p02779
|
import collections
N = int(input())
lsA = list(map(int,input().split()))
cout = collections.Counter(lsA)
ans = 'Yes'
for i in cout.values():
if i > 1:
ans = 'No'
break
print(ans)
|
import collections
N = int(input())
lsA = list(map(int,input().split()))
cout = collections.Counter(lsA)
ans = 'YES'
for i in cout.values():
if i > 1:
ans = 'NO'
break
print(ans)
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 575,652
| 575,653
|
u875769753
|
python
|
p02779
|
N=int(input())
A=list(map(int,input().split()))
A.sort()
ans=0
for x in range(N-1):
if A[x]==A[x+1]:
ans += 1
break
if ans==0:
print("Yes")
else:
print("No")
|
N=int(input())
A=list(map(int,input().split()))
A.sort()
ans=0
for x in range(N-1):
if A[x]==A[x+1]:
ans += 1
break
if ans==0:
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,664
| 575,665
|
u519339498
|
python
|
p02779
|
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list
#from itertools import combinations # (string,3) 3回
#
#
# pythonで無理なときは、pypyでやると正解するかも!!
#
#
mod = 10**9 + 7
def readInts():
return list(map(int,input().split()))
def main():
n = int(input())
A = sorted(readInts())
dic = {}
for a in A:
if a in dic:
print('No')
exit()
else:
dic[a] = 1
print('Yes')
if __name__ == '__main__':
main()
|
#from statistics import median
#import collections
#aa = collections.Counter(a) # list to list
#from itertools import combinations # (string,3) 3回
#
#
# pythonで無理なときは、pypyでやると正解するかも!!
#
#
mod = 10**9 + 7
def readInts():
return list(map(int,input().split()))
def main():
n = int(input())
A = sorted(readInts())
dic = {}
for a in A:
if a in dic:
print('NO')
exit()
else:
dic[a] = 1
print('YES')
if __name__ == '__main__':
main()
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,666
| 575,667
|
u156815136
|
python
|
p02779
|
import bisect,collections,copy,heapq,itertools,math,numpy,string
import sys
sys.setrecursionlimit(10**7)
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def _S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
# b,r = map(str, readline().split())
# A,B = map(int, readline().split())
N = I()
A = LI()
def main():
judge=False
if len(set(A))==N:
judge=True
if judge:
return 'Yes'
else:
return 'No'
print(main())
|
import bisect,collections,copy,heapq,itertools,math,numpy,string
import sys
sys.setrecursionlimit(10**7)
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
def _S(): return sys.stdin.readline().rstrip()
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def LS(): return list(sys.stdin.readline().rstrip().split())
# b,r = map(str, readline().split())
# A,B = map(int, readline().split())
N = I()
A = LI()
def main():
judge=False
if len(set(A))==N:
judge=True
if judge:
return 'YES'
else:
return 'NO'
print(main())
|
[
"literal.string.change",
"literal.string.case.change",
"function.return_value.change"
] | 575,668
| 575,669
|
u602500004
|
python
|
p02779
|
import sys
from collections import Counter
input=sys.stdin.readline
n=int(input())
a=list(map(int,input().split()))
c=Counter(a)
if n==c:
print('YES')
else:
print('NO')
|
import sys
from collections import Counter
input=sys.stdin.readline
n=int(input())
a=list(map(int,input().split()))
c=len(Counter(a))
if n==c:
print('YES')
else:
print('NO')
|
[
"call.add",
"call.arguments.change"
] | 575,678
| 575,679
|
u516554284
|
python
|
p02779
|
import sys
from collections import Counter
input=sys.stdin.readline
n=int(input())
a=list(map(int,input().split()))
c=Counter(a)
if n==a:
print('YES')
else:
print('NO')
|
import sys
from collections import Counter
input=sys.stdin.readline
n=int(input())
a=list(map(int,input().split()))
c=len(Counter(a))
if n==c:
print('YES')
else:
print('NO')
|
[
"call.add",
"call.arguments.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 575,680
| 575,679
|
u516554284
|
python
|
p02779
|
n = int(input())
a = list(map(int, input().split()))
a.sort()
for i in range(n):
if a[i - 1] == a[i]:
print('No')
exit()
print('Yes')
|
n = int(input())
a = list(map(int, input().split()))
a.sort()
for i in range(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"
] | 575,681
| 575,682
|
u671889550
|
python
|
p02779
|
n = int(input())
a = list(map(int, input().split()))
sa = set(a)
print("Yes") if len(a) == len(sa) else print("No")
|
n = int(input())
a = list(map(int, input().split()))
sa = set(a)
print("YES") if len(a) == len(sa) else print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,690
| 575,691
|
u743164083
|
python
|
p02779
|
N=int(input())
A=list(map(int,input().split()))
print(['No','Yes'][int(len(set(A))==len(A))])
|
N=int(input())
A=list(map(int,input().split()))
print(['NO','YES'][int(len(set(A))==len(A))])
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,700
| 575,701
|
u401686269
|
python
|
p02779
|
N=int(input())
A=list(map(int,input().split()))
print(['No','Yes'][(len(set(A))==len(A))])
|
N=int(input())
A=list(map(int,input().split()))
print(['NO','YES'][int(len(set(A))==len(A))])
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"call.add",
"type_conversion.to_integer.change",
"type_conversion.to_number.change"
] | 575,702
| 575,701
|
u401686269
|
python
|
p02779
|
n = int(input())
arr = input().split()
print("Yes" if len(arr) == len(set(arr)) else "No")
|
n = int(input())
arr = input().split()
print("YES" if len(arr) == len(set(arr)) else "NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,703
| 575,704
|
u537818901
|
python
|
p02779
|
n=int(input())
c=sorted(list(map(int, input().split())))
ans = 0
for i in range(n-1):
if c[i] == c[i+1]:
ans +=1
if ans == 0:
print('YES')
if ans != 0:
print('N0')
|
n=int(input())
c=sorted(list(map(int, input().split())))
ans = 0
for i in range(n-1):
if c[i] == c[i+1]:
ans +=1
if ans == 0:
print('YES')
if ans != 0:
print('NO')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 575,705
| 575,706
|
u814271993
|
python
|
p02779
|
n=int(input())
c=sorted(list(map(int, input().split())))
ans = 0
for i in range(n-1):
if c[i] == c[i+1]:
ans +=1
if ans == 0:
print('Yes')
if ans != 0:
print('No')
|
n=int(input())
c=sorted(list(map(int, input().split())))
ans = 0
for i in range(n-1):
if c[i] == c[i+1]:
ans +=1
if ans == 0:
print('YES')
if ans != 0:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,707
| 575,706
|
u814271993
|
python
|
p02779
|
N = int(input())
A = list(map(int, input().split()))
ans = 'NO'
if N == len(set(A)):
ans = 'Yes'
print(ans)
|
N = int(input())
A = list(map(int, input().split()))
ans = 'NO'
if N == len(set(A)):
ans = 'YES'
print(ans)
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 575,715
| 575,716
|
u616542081
|
python
|
p02779
|
N=int(input())
S=set(map(int,input().split()))
print('YES' if N==len(S) else 'N0')
|
N=int(input())
S=set(map(int,input().split()))
print('YES' if N==len(S) else 'NO')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 575,723
| 575,724
|
u075303794
|
python
|
p02779
|
import collections
N = int(input())
A = list(map(int, input().split()))
c = collections.Counter(A)
if c.most_common()[0][1] > 1:
print('No')
else:
print('Yes')
|
import collections
N = int(input())
A = list(map(int, input().split()))
c = collections.Counter(A)
if c.most_common()[0][1] > 1:
print('NO')
else:
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,725
| 575,726
|
u573900545
|
python
|
p02779
|
N=input()
A=list(map(int,input().split()))
A=sorted(A)
for i in range(N-1):
if A[i+1]-A[i]!=0:
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+1]-A[i]==0:
print('NO')
exit()
print('YES')
|
[
"call.add",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 575,731
| 575,732
|
u640922335
|
python
|
p02779
|
from collections import Counter
from sys import exit
N = int(input())
A = list(map(int,input().split()))
cnt = Counter(A)
for i in cnt.values():
if i != 1:
print("No")
exit(0)
print("Yes")
|
from collections import Counter
from sys import exit
N = int(input())
A = list(map(int,input().split()))
cnt = Counter(A)
for i in cnt.values():
if i != 1:
print("NO")
exit(0)
print("YES")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,733
| 575,734
|
u145915236
|
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(N-1):
if(A[i]==A[i+1]):
print("NO")
sys.exit()
print("YES")
|
[
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 575,740
| 575,741
|
u038216098
|
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"
] | 575,742
| 575,743
|
u439063038
|
python
|
p02779
|
x = int(input())
a = list(map(int, input().split()))
rslt = len(set(a))
print("Yes" if x == rslt else "No")
|
x = int(input())
a = list(map(int, input().split()))
rslt = len(set(a))
print("YES" if x == rslt else "NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,746
| 575,747
|
u542774596
|
python
|
p02779
|
N=int(input())
A=sorted(list(map(int,input().split())))
flag = False
for i in range(1,N):
if A[i] == A[i-1]:
flag = True
if frag:
print("NO")
else:
print("YES")
|
N=int(input())
A=sorted(list(map(int,input().split())))
flag = False
for i in range(1,N):
if A[i] == A[i-1]:
flag = True
if flag:
print("NO")
else:
print("YES")
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 575,751
| 575,752
|
u185806788
|
python
|
p02779
|
n=int(input())
a=list(map(int,input().split()))
A=set(a)
if len(a)==len(A):
print('No')
else:
print('Yes')
|
n=int(input())
a=list(map(int,input().split()))
A=set(a)
if len(a)==len(A):
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 575,764
| 575,765
|
u090406054
|
python
|
p02779
|
n=int(input())
a=list(map(int,input().split()))
A=set(a)
if len(a)==len(A):
print('Yes')
else:
print('No')
|
n=int(input())
a=list(map(int,input().split()))
A=set(a)
if len(a)==len(A):
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,766
| 575,765
|
u090406054
|
python
|
p02779
|
n = int(input())
A = list(map(int, input().split()))
s = set()
for a in A:
if a in s:
print('No')
break
s.add(a)
else:
print('Yes')
|
n = int(input())
A = list(map(int, input().split()))
s = set()
for a in A:
if a in s:
print('NO')
break
s.add(a)
else:
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,771
| 575,772
|
u970267139
|
python
|
p02779
|
n=int(input())
a=list(map(int, input().split()))
print('Yes' if len(set(a))==n 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"
] | 575,773
| 575,774
|
u340781303
|
python
|
p02779
|
n = int(input())
s = list(map(int, input().split()))
st = set(s)
if len(st) == n:
print("Yes")
else:
print("No")
|
n = int(input())
s = list(map(int, input().split()))
st = set(s)
if len(st) == n:
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,777
| 575,778
|
u518891382
|
python
|
p02779
|
n = int(input())
a = list(map(str,input().split()))
a.sort()
ans = 'YES'
for i in range(n):
if a[i] == a[i+1]:
ans = 'NO'
break
print(ans)
|
n = int(input())
a = list(map(str,input().split()))
a.sort()
ans = 'YES'
for i in range(n-1):
if a[i] == a[i+1]:
ans = 'NO'
break
print(ans)
|
[
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 575,779
| 575,780
|
u751077930
|
python
|
p02779
|
i=input;print(['YES','NO'][int(i())==len(set(i().split()))])
|
i=input;print(['NO','YES'][int(i())==len(set(i().split()))])
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 575,790
| 575,791
|
u926080943
|
python
|
p02779
|
N = int(input())
List = list(map(str, input().split()))
import collections
c = collections.Counter(List)
print(c)
if len(c)==N:
print('YES')
else:
print('NO')
|
N = int(input())
List = list(map(str, input().split()))
import collections
c = collections.Counter(List)
#print(c)
if len(c)==N:
print('YES')
else:
print('NO')
|
[
"call.remove"
] | 575,792
| 575,793
|
u591143370
|
python
|
p02779
|
N = int(input())
List = list(map(str, input().split()))
import collections
c = collections.Counter(List)
#print(c)
if len(c)==N:
print('Yes')
else:
print('No')
|
N = int(input())
List = list(map(str, input().split()))
import collections
c = collections.Counter(List)
#print(c)
if len(c)==N:
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,794
| 575,793
|
u591143370
|
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"
] | 575,795
| 575,796
|
u694233896
|
python
|
p02779
|
#154
N = int(input())
A = map(int,input().split())
A_set = set(A)
if(len(A)==len(A_set)):
print('YES')
else:
print('NO')
|
#154
N = int(input())
A = list(map(int,input().split()))
A_set = set(A)
if(len(A)==len(A_set)):
print('YES')
else:
print('NO')
|
[
"call.add",
"call.arguments.change"
] | 575,814
| 575,815
|
u966836999
|
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"
] | 575,821
| 575,822
|
u757274384
|
python
|
p02779
|
N = int(input())
A = list(map(int,input().split()))
Auni = set(A)
if len(A) == len(Auni):
print("Yes")
else:
print("No")
|
N = int(input())
A = list(map(int,input().split()))
Auni = set(A)
if len(A) == len(Auni):
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,823
| 575,824
|
u006962308
|
python
|
p02779
|
N = int(input())
set_1 = set()
list_1 = list(map(int, input().split(' ')))
for item in list_1:
set_1.add(item)
if len(list_1) == len(set_1):
print("Yes", end="")
else:
print("No", end="")
|
N = int(input())
set_1 = set()
list_1 = list(map(int, input().split(' ')))
for item in list_1:
set_1.add(item)
if len(list_1) == len(set_1):
print("YES", end="")
else:
print("NO", end="")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,833
| 575,834
|
u656341025
|
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"
] | 575,839
| 575,840
|
u956433805
|
python
|
p02779
|
n = int(input())
a = list(input().split())
if len(a) == len(set(a)):
print('Yes')
else:
print('No')
|
n = int(input())
a = list(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"
] | 575,841
| 575,842
|
u628335443
|
python
|
p02779
|
import collections
N = int(input())
A = list(map(int, input().split()))
cnt = collections.Counter(A)
if cnt.most_common()[0][1] > 1:
print('No')
else:
print('Yes')
|
import collections
N = int(input())
A = list(map(int, input().split()))
cnt = collections.Counter(A)
if cnt.most_common()[0][1] > 1:
print('NO')
else:
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,848
| 575,849
|
u695261159
|
python
|
p02779
|
N=int(input())
A=list(map(int,input().split()))
a=set(A)
if len(a)==N:
print('Yes')
else:
print('No')
|
N=int(input())
A=list(map(int,input().split()))
a=set(A)
if len(a)==N:
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,850
| 575,851
|
u674588203
|
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"
] | 575,852
| 575,853
|
u772029934
|
python
|
p02779
|
N = int(input())
val = list(input().split())
if len(val) == len(set(val)):
print('Yes')
else:
print('No')
|
N = int(input())
val = list(input().split())
if len(val) == len(set(val)):
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,854
| 575,855
|
u289288647
|
python
|
p02779
|
def has_duplicates(seq):
if len(seq) == len(set(seq)):
print("Yes")
else:
print("No")
#return len(seq) != len(set(seq))
N = int(input())
A = list(map(int,input().split()))
has_duplicates(A)
|
def has_duplicates(seq):
if len(seq) == len(set(seq)):
print("YES")
else:
print("NO")
#return len(seq) != len(set(seq))
N = int(input())
A = list(map(int,input().split()))
has_duplicates(A)
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,856
| 575,857
|
u880480312
|
python
|
p02779
|
n = int(input())
a = list(map(int, input().split()))
set_a = set(a)
if len(a) == len(set_a):
print('Yes')
else:
print('No')
|
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"
] | 575,858
| 575,859
|
u288335507
|
python
|
p02779
|
n = int(input())
aa = tuple(map(int, input().strip()))
if len(set(aa)) == n:
print("YES")
else:
print("NO")
|
n = int(input())
aa = tuple(map(int, input().split()))
if len(set(aa)) == n:
print("YES")
else:
print("NO")
|
[
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 575,875
| 575,876
|
u622570247
|
python
|
p02779
|
N = int(input())
A = list(map(int,input().split()))
s = set(A)
if len(A) == len(s):
print("YES")
else:
print("No")
|
N = int(input())
A = list(map(int,input().split()))
s = set(A)
if len(A) == len(s):
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,879
| 575,880
|
u885634168
|
python
|
p02779
|
n=int(input())
a=list(map(int,input().split()))
a.sort()
s=""
r=0
for m in a:
if m == s:
r=1
s=m
if r ==1:
print("No")
else:
print("Yes")
|
n=int(input())
a=list(map(int,input().split()))
a.sort()
s=""
r=0
for m in a:
if m == s:
r=1
s=m
if r ==1:
print("NO")
else:
print("YES")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,885
| 575,886
|
u519968172
|
python
|
p02779
|
n=int(input())
li = list(map(int, input().split()))
def dup(seq):
return len(seq) != len(set(seq))
if(dup(li)):
print("No")
else:
print("Yes")
|
n=int(input())
li = list(map(int, input().split()))
def dup(seq):
return len(seq) != len(set(seq))
if(dup(li)):
print("NO")
else:
print("YES")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,891
| 575,892
|
u913863402
|
python
|
p02779
|
N = int(input())
A = list(map(int,input().split()))
a = set(A)
if len(a) == N:
print('Yes')
else:
print('No')
|
N = int(input())
A = list(map(int,input().split()))
a = set(A)
if len(a) == N:
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,895
| 575,896
|
u418420470
|
python
|
p02779
|
n=int(input())
a=list(map(int,input().split()))
s=set(a)
print('Yes' if len(s)==len(a) else 'No')
# def has_duplicates(seq):
# return len(seq) != len(set(seq))
# if has_duplicates(a) == True:
# print('No')
# elif has_duplicates(a) == False:
# print('Yes')
# # 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()))
s=set(a)
print('YES' if len(s)==len(a) else 'NO')
# def has_duplicates(seq):
# return len(seq) != len(set(seq))
# if has_duplicates(a) == True:
# print('No')
# elif has_duplicates(a) == False:
# print('Yes')
# # 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"
] | 575,897
| 575,898
|
u566574814
|
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()
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')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,903
| 575,904
|
u313291636
|
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()
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')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,907
| 575,904
|
u313291636
|
python
|
p02779
|
input()
a = input().split()
ans = "Yes"
x = {}
for i in a:
if x.get(i, False):
ans = "No"
break
x[i] = True
print(ans)
|
input()
a = input().split()
ans = "YES"
x = {}
for i in a:
if x.get(i, False):
ans = "NO"
break
x[i] = True
print(ans)
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 575,910
| 575,911
|
u878654696
|
python
|
p02779
|
import collections
n = int(input())
a = list(map(int, input().split()))
c = collections.Counter(a)
v = c.values()
ans = 0
for i in v:
if i == 1:
ans += 1
if ans == n:
print('Yes')
else:
print('No')
|
import collections
n = int(input())
a = list(map(int, input().split()))
c = collections.Counter(a)
v = c.values()
ans = 0
for i in v:
if i == 1:
ans += 1
if ans == n:
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,916
| 575,917
|
u583507988
|
python
|
p02779
|
import collections
n = int(input())
a = list(map(int, input().split()))
ans = set(a)
if len(ans) == n:
print('Yes')
else:
print('No')
|
n = int(input())
a = list(map(int, input().split()))
ans = set(a)
if len(ans) == n:
print('YES')
else:
print('NO')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,918
| 575,919
|
u583507988
|
python
|
p02779
|
N = int(input())
A = sorted(input().split())
if A == sorted(list(set(A))):
print("Yes")
else:
print("No")
|
N = int(input())
A = sorted(input().split())
if A == sorted(list(set(A))):
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,945
| 575,946
|
u926412290
|
python
|
p02779
|
N = int(input())
A = {input().split()}
print('YNEOS'[len(A)==N::2])
|
N = int(input())
A = set(input().split())
print('YNEOS'[len(A)!=N::2])
|
[
"assignment.value.change",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"variable_access.subscript.index.change",
"io.output.change"
] | 575,947
| 575,948
|
u531599639
|
python
|
p02779
|
from collections import defaultdict
n = int(input())
d = defaultdict(int)
A = list(map(int,input().split()))
for a in A:
if d[a] == 1:
print('No')
exit()
else:
d[a] += 1
print('Yes')
|
from collections import defaultdict
n = int(input())
d = defaultdict(int)
A = list(map(int,input().split()))
for a in A:
if d[a] == 1:
print('NO')
exit()
else:
d[a] += 1
print('YES')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,957
| 575,958
|
u423966555
|
python
|
p02779
|
N = int(input())
A = [int(i) for i in input().split()]
if len(A) == len(set(A)):
print('Yes')
else:
print('No')
|
N = int(input())
A = [int(i) for i in 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"
] | 575,965
| 575,966
|
u582415761
|
python
|
p02779
|
N = int(input())
nums = set(map(int, input().split()))
if len(nums) == N:
print("Yes")
else:
print("No")
|
N = int(input())
nums = set(map(int, input().split()))
if len(nums) == N:
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,967
| 575,968
|
u617384447
|
python
|
p02779
|
n = int(input())
a = list(map(int, input().split()))
x = len(set(a))
if x == len(a):
print("Yes")
else:
print("No")
|
n = int(input())
a = list(map(int, input().split()))
x = len(set(a))
if x == len(a):
print("YES")
else:
print("NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,984
| 575,985
|
u555878443
|
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")
break
if i==N-2:
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")
break
if i==N-2:
print("YES")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,986
| 575,987
|
u214864255
|
python
|
p02779
|
from collections import Counter
N=int(input())
A=list(map(int, input().split()))
cnt=Counter(A)
print("Yes" if all([i==1 for i in cnt.values()]) else "No")
|
from collections import Counter
N=int(input())
A=list(map(int, input().split()))
cnt=Counter(A)
print("YES" if all([i==1 for i in cnt.values()]) else "NO")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 575,988
| 575,989
|
u378691508
|
python
|
p02779
|
n = int(input())
a = list(map(int,input().split()))
a.sort()
ans = 'Yes'
for i in range(n-1):
if a[i] == a[i+1]:
ans = 'No'
print(ans)
|
n = int(input())
a = list(map(int,input().split()))
a.sort()
ans = 'YES'
for i in range(n-1):
if a[i] == a[i+1]:
ans = 'NO'
print(ans)
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 575,994
| 575,995
|
u475189661
|
python
|
p02779
|
n = int(input())
a = list(map(int,input().split()))
a.sort()
ans = 'Yes'
for i in range(n-1):
if a[i] == a[i+1]:
ans = 'No'
print(ans)
|
n = int(input())
a = list(map(int,input().split()))
a.sort()
ans = 'YES'
for i in range(n-1):
if a[i] == a[i+1]:
ans = 'NO'
print(ans)
|
[
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 575,996
| 575,995
|
u475189661
|
python
|
p02779
|
n = int(input())
a = list(map(int, input().split()))
re = 0
from collections import Counter
c = Counter(a)
for i, v in c.items():
if v >= 2:
re += 1
if re >= 1:
print("No")
else:
print("Y")
|
n = int(input())
a = map(int, input().split())
re = 0
from collections import Counter
c = Counter(a)
for i, v in c.items():
if v >= 2:
re += 1
if re >= 1:
print("NO")
else:
print("YES")
|
[
"call.remove",
"call.arguments.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 576,003
| 576,004
|
u762533651
|
python
|
p02779
|
n = int(input())
a = map(int, input().split())
re = 0
from collections import Counter
c = Counter(a)
for i, v in c.items():
if v >= 2:
re += 1
if re >= 1:
print("No")
else:
print("Yes")
|
n = int(input())
a = map(int, input().split())
re = 0
from collections import Counter
c = Counter(a)
for i, v in c.items():
if v >= 2:
re += 1
if re >= 1:
print("NO")
else:
print("YES")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 576,005
| 576,004
|
u762533651
|
python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.