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 |
|---|---|---|---|---|---|---|---|
p02778 | S = input()
ls = len(S)
ans = ''
for i in range(ls):
ans.append(x)
print(ans) | S = input()
ls = len(S)
ans = ''
for i in range(ls):
ans += 'x'
print(ans) | [
"call.arguments.change"
] | 575,223 | 575,222 | u697101155 | python |
p02778 | # -*- coding: utf-8 -*-
s=str(input())
n=len(n)
print('x'*n) | # -*- coding: utf-8 -*-
s=str(input())
n=len(s)
print('x'*n) | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 575,237 | 575,238 | u212242633 | python |
p02778 | S = input()
print("x"*len(words)) | S = input()
print("x"*len(S)) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 575,246 | 575,247 | u746791385 | python |
p02778 | S=input()
newS='X'*len(S)
print(newS) | S=input()
newS='x'*len(S)
print(newS) | [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 575,254 | 575,255 | u318233626 | python |
p02778 | S = input()
for i in len(S):
print(x, end="") | S = input()
for i in range(len(S)):
print('x', end="") | [
"call.add",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 575,285 | 575,286 | u989089752 | python |
p02778 | c = input()
#print(len(c))
print('×'*len(c)) | c = input()
#print(len(c))
print('x'*len(c)) | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 575,287 | 575,288 | u136079278 | python |
p02778 | s = input()
n = len(s)
X = x*n
print("X") | s = input()
n = len(s)
X = "x" *n
print(X) | [
"call.arguments.change"
] | 575,296 | 575,295 | u745687363 | python |
p02778 | s = input()
n = int(len(s))
X = x*n
print(X) | s = input()
n = len(s)
X = "x" *n
print(X) | [
"call.remove",
"call.arguments.change"
] | 575,297 | 575,295 | u745687363 | python |
p02778 | s = input()
n = len(s)
X = x*n
print(X) | s = input()
n = len(s)
X = "x" *n
print(X) | [] | 575,298 | 575,295 | u745687363 | python |
p02778 | s = input().split()
for c in s:
print("x", end="") | s = input()
for c in s:
print("x", end="") | [
"call.remove"
] | 575,299 | 575,300 | u702914680 | python |
p02778 | print("x" * len(int(input()))) | print("x" * len(input())) | [
"call.remove",
"call.arguments.change"
] | 575,313 | 575,314 | u889914341 | python |
p02778 | a = input()
num = len(a)
print('*'*num) | a = input()
num = len(a)
print('x'*num) | [
"literal.string.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 575,317 | 575,318 | u906858931 | python |
p02778 | s=input()
l=len(s)
print(x*l) | s=input()
l=len(s)
print('x'*l) | [
"call.arguments.change"
] | 575,319 | 575,320 | u652569315 | python |
p02778 | def resolve_B():
s = input()
l = len(s)
print("x" * l)
resolve_B | def resolve_B():
s = input()
l = len(s)
print("x" * l)
resolve_B() | [
"call.add"
] | 575,321 | 575,322 | u046961553 | python |
p02778 | s = input()
n = len(s)
print(n)
l = []
r = ' '
for i in range(n):
l.append('x')
print(r.join(l).replace(" ", "")) | s = input()
n = len(s)
l = []
r = ' '
for i in range(n):
l.append('x')
print(r.join(l).replace(" ", "")) | [
"call.remove"
] | 575,364 | 575,365 | u406405116 | python |
p02778 | S = input()
for i in range(len(S)):
print(x,end="") | S = input()
for i in range(len(S)):
print("x",end="") | [
"call.arguments.change"
] | 575,384 | 575,385 | u189479417 | python |
p02778 | S = input()
N = (len(S))
for i in range(N):
S = S[:i-1] + 'x' + S[i:]#i番目の文字をxに変える
S = S[:N-1] + '' + S[N:]#i番目の文字をxに変える
S = S[:N] + 'x' + S[N+1:]#最後の文字用
S = S[:N] + '' + S[N+1:]#i番目の文字をxに変える
print(S) | S = input()
N = (len(S))
for i in range(N+1):
S = S[:i-1] + 'x' + S[i:]#i番目の文字をxに変える
S = S[:N-1] + '' + S[N:]#i番目の文字をxに変える
S = S[:N] + 'x' + S[N+1:]#最後の文字用
S = S[:N] + '' + S[N+1:]#i番目の文字をxに変える
print(S) | [
"control_flow.loop.range.bounds.upper.change",
"expression.operation.binary.add"
] | 575,386 | 575,387 | u432699428 | python |
p02778 | s = str(input())
import re
re.sub(r'.', 'x', s) | s = str(input())
import re
print(re.sub(r'.', 'x', s)) | [
"call.add",
"call.arguments.change"
] | 575,409 | 575,410 | u742036388 | python |
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()... | #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()... | [
"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(): ... | 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(): ... | [
"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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.