Harryxun/GPT-100-sft-dataset huggingface dataset:
Problem p02778 (python)

Fixed submission:
s=input()
print('x'*len(s))

Buggy submission (verdict: Runtime Error):
s=input()
S=''
moji=len(s)
for i in range(moji)
    S+='x'
print(S)

Buggy submission (verdict: Runtime Error):
s=str(input())
S=''
for i in range(len(s))
    S+='x'
print(S)

Buggy submission (verdict: Runtime Error):
s=input()
S=''
for i in range(len(s))
    S+='x'
print(S)

Buggy submission (verdict: Runtime Error):
s=input()
for i in range(len(s))
    s[i].replace(x)
print(s)
Problem p02784 (python)

Fixed submission:
h,n=map(int,input().split())
a=[int(i) for i in input().split()]

if sum(a)>=h:
    print("Yes")
else:
    print("No")

Buggy submission (verdict: Runtime Error):
h,n=map(int,inpiut().split())
a=[int(i) for i in input().split()]

if sum(a)>h:
    print("Yes")
else:
    print("No")
Problem p02789 (python)

Fixed submission:
a,b=map(int,input().split())
if a==b:
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
if a=b:
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
print("Yes" a=b else "No" )
Problem p02812 (python)

Fixed submission:
n=int(input())
s=input()
count=0
for i in range(n):
    if s[i]=="A":
        if i+1<n and s[i+1]=="B":
            if i+2<n and s[i+2]=="C":
                count+=1
print(count)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
count=0
for i in range(n):
    if s[i]=="A":
        if s[i+1]=="B":
            if s[i+2]=="C":
                count+=1
print(count)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
count=0
for i in range(len(s)):
    if s[i]=="A":
        if s[i+1]=="B":
            if s[i+2]=="C":
                count+=1
print(count)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
count=0
for i in range(len(s))
    if s[i]=="A":
        if s[i+1]=="B":
            if s[i+2]=="C":
                count+=1
print(count)
Problem p02818 (python)

Fixed submission:
a,b,k=map(int,input().split())
if a-k>=0:
    print(a-k,b)
elif a+b>=k:
    print(0,a+b-k)
else:
    print(0,0)

Buggy submission (verdict: Runtime Error):
a,b,k=map(int,input().split())
if a-k>=0:
    print(a-k,b)
elif a+b>=k:
    print(0,a+b-k)
else:
    print(0,0z)

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
k=int(input())
for i in range (k):
  if a > 0:
    a-=1
  elif　a<=0:
  	if b > 0:
      b-=1
  elif a==0 and b==0:
    break
    	print(0)
print(a, b)

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
k=int(input())
for i in range (k):
  if a > 0:
    a-=1
  elif　a<=0:
  	if b > 0:
      b-=1
print(a, b)

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
k=int(input())
for i in range (k):
  if a > 0:
    a-=1
  elif:
  	if b > 0:
      b-=1
print(a, b)

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
k=int(input())
for i in range (k):
  if a > 0:
    a-1
  elif:
  	if b > 0:
      b-1
print(a, b)

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
k=int(input())
for i in range (k):
  if a > 0:
    a-1
  else:
  	if b > 0:
      b-1
print(a, b)
Problem p02830 (python)

Fixed submission:
n=int(input())
s,t=input().split()

word=""
for i in range(n):
    word+=(s[i]+t[i])
print(word)

Buggy submission (verdict: Runtime Error):
n=input()
s,t=input().split()

word=""
for i in range(n):
    word+=(s[i]+t[i])
print(word)

Buggy submission (verdict: Runtime Error):
n=input()
s,t=input().split()

word=""
for i in range(n):
    word+=s[i]+t[i]
print(word)

Buggy submission (verdict: Runtime Error):
zn=int(input())
s,t=input().split()
word=""
for i in range(n):
  word+=s[i]+t[i]
 
print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s,t=input(),split()
word=""
for i in range(n):
  word+=s[i]+t[i]
 
print(word)

Buggy submission (verdict: Runtime Error):
zn=int(input())
s,t=input(),split()
word=""
for i in range(n):
  word+=s[i]+t[i]
 
print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s,t=map(int,input(),split())
word=""
for i in range(n):
  word+=s[i]+t[i]

print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
t=input()
word = 0
for i in range(n):
  word += s[i] + t[i]
 
print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
t=input()
word = 0
for i in range(n):
  word += s[i]
  for j in range(n):
    word += t[j]
 
print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
t=input()
word = 0
for i in range(n):
  word += s[n]
  for j in range(n):
    word += t[n]

print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
t=input()
word = 0
for i in range(n):
  for j in range(n):
    word += i + j

print(word)
Problem p02842 (python)

Fixed submission:
n = int(input().strip())

for i in range(1, 50001):
    if int(i * 1.08) == n:
        print(i)
        break
else:
    print(":(")

Buggy submission (verdict: Runtime Error):
n=int(input())
for i in range(1,50001):
  if (i＊1.08)==n:
    print(i)
    break
  else:
    print(":(")

Buggy submission (verdict: Runtime Error):
n=int(input())
if (n//1.08)%2==0:
  print(n//1.08)
else:
  print(:()
Problem p02848 (python)

Fixed submission:
n=int(input())
s=input()
word=""
for i in range(len(s)):
    if ord(s[i])+n>90:
        word+=chr(ord(s[i])+n-26)
    else:
        word+=chr(ord(s[i])+n)
print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
word=""
for i in range(len(s)):
    if ord(i)+n>90:
        word+=chr(ord(i)+n-26)
    else:
        word+=chr(ord(i)+n)
print(word)

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
sorted(s)
print((s-s[n:])+s[n:])

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
s=sorted(s)
print(s[n:]+(s-s[n:]))

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input()
sorted(s)
print(s[n:]+(s-s[n:]))

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input().sort()
print(s[n:]+(s-s[n:]))

Buggy submission (verdict: Runtime Error):
n=int(input())
s=input().sort()
print(s[:n]+s[n:])
Problem p02853 (python)

Fixed submission:
x,y=map(int,input().split())
if x==1 and y==1:
  print(1000000)
elif x<=3 and y>=4:
  print((x-4)*(-100000))
elif x>=4 and y<=3:
  print((y-4)*(-100000))
elif x<=3 and y<=3:
  print((x-4)*(-100000)+(y-4)*(-100000))
else:
  print(0)

Buggy submission (verdict: Runtime Error):
x,y=map(int,input().split())
if x==1 and y==1:
  print(1000000)
elif x<=3 and y>=4:
  print((x-4)*(-100000))
elif x>=4 and y<=3:
  print((y-4)*(-100000))
elif x<=3 and y<=3:
  peint(((x-4)*(-100000))+((y-4)*(-100000)))
else:
  print(0)

Buggy submission (verdict: Runtime Error):
x,y=map(int,input().split())
if x==1 and y==1:
  print(1000000)
elif x<=3 and y>=4:
  print((x-4)*(-100000))
elif x>=4 and y<=3:
  print((y-4)*(-100000))
elif x<=3 and y<=3:
  peint((x-4)*(-100000)+(y-4)*(-100000))
else:
  print(0)

Buggy submission (verdict: Runtime Error):
x,y=map(int,input().split())
if x==1 and y==1:
  print(1000000)
elif x<=3 and y>=4:
  print(x*100000)
elif x>=4 and y<=3:
  print(y*100000)
elif x<=3 and y<=3:
  peint(x*100000+y*100000)
else:
  print(0)

Buggy submission (verdict: Runtime Error):
x,y=map(int,input().split())
if x==1 and y==1:
  print(1000000)
elif x<=3 and y>=4 x>=4 or y<=3:
  print(x*10000)

Buggy submission (verdict: Runtime Error):
x=int(input())
y=int(input())
if x==1 and y==1:
  print(1000000)

Buggy submission (verdict: Runtime Error):
x=int(input())
y=int(input())
if x==1 and y==1:
  print(1000000)
elif x==1 and y==2 or x==2 and y==1:
  print(500000)
elif x==1 and y==3 or x==3 and y==1 or x==2 and y==2:
  print(400000)
elif x==3 and y==3:
  print(200000)
elif x==1 and y>=4 or x>=4 and y==1:
  print(300000)
elif x==2 and y>=4 or x>=4 and y==2:
  print(200000)
elif x==3 and y>=4 or x>=4 and y==3:
  print(100000)
else:
  pass
Problem p02885 (python)

Fixed submission:
a,b=map(int,input().split())
print(0 if a<=(2*b) else a-(2*b))

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
print(0 if a<=2b else a-2b)

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
if a-2b<=0:
  print(0)
else:
  print(a-2b)

Buggy submission (verdict: Runtime Error):
A,B=map(int,input().split())
print(0 if A<=2B else A-2B)

Buggy submission (verdict: Runtime Error):
a=int(input())
b=int(input())
if a<=2b:
  print(0)
else:
  print(a-2b)

Buggy submission (verdict: Runtime Error):
a,b=map(int, input().split())
print(0 if a<=(2b) else a-(2b))

Buggy submission (verdict: Runtime Error):
a,b=map(int,input().split())
print(0 if a-(2b)<=0 else a-(2b))
Problem p02886 (python)

Fixed submission:
n=int(input())
d=list(map(int,input().split()))
 
sum=0
for i in range(n-1):
    for l in range(i+1,n):
        sum+=d[i]*d[l]
print(sum)

Buggy submission (verdict: Runtime Error):
n=int(input())
d=li(map(int,input().split())
 
sum=0
for i in range(n-1):
    for l in range(i+1,n):
        sum+=d[i]*d[l]
print(sum)

Buggy submission (verdict: Runtime Error):
n=int(input())
d=[int(input()) for i in range(n)]

sum=0
for i in range(n-1):
    for l in range(i+1,n):
        sum+=d[i]*d[l]
print(sum)

Buggy submission (verdict: Runtime Error):
n=int(input())
d=[int(input()) for i in range(n)]

sum=0
for i in range(n-1):
    for l in range(i+1,n):
        sum+=d[i]*d[l]
print(sum)

Buggy submission (verdict: Runtime Error):
n=int(input())
d=[int(input()) for i in range(n)]

sum=0
for i in range(n):
    for l in range(1<=n):
        sum+=d[i]*d[l]
print(sum)
Problem p02898 (python)

Fixed submission:
N, K = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in h:
    if i >= K:
      count+=1
print(count)

Buggy submission (verdict: Runtime Error):
N, K = map(int, input().split())
h = list(map(int, input().split()))
count = 0
for i in range(len(h)):
    a = h[i]
    if h >= K:
        count += 1
print(count)

Buggy submission (verdict: Runtime Error):
N,K=map(int,input().split())
h=[int(input() for i in range(N))]
count=0
for a in range(1,N+1):
  if a<=K:
    count+=1
  else:
    pass
print(count)

Buggy submission (verdict: Runtime Error):
n=int(input())
k=int(input())
N=map(int,input().split())
count=0
for n1 in n:
  if N>=k:
    count+=1
  ekse:
    count+=0
print(count)

Buggy submission (verdict: Runtime Error):
n=int(input())
k=int(input())
N=map(int,input().split())
count=0
for n1 in n:
  if N>k:
    count+=1
  ekse:
    count+=0
pribt(count)

Buggy submission (verdict: Runtime Error):
n=int(input())
k=int(input())
N=map(int,input().split())
count=0
for n1 in n:
  if N>k:
    count+=1
  ekse:
    print(0)
pribt(count)
Problem p02909 (python)

Fixed submission:
w = input()

s = "Sunny"
c = "Cloudy"
r = "Rainy"
 
if w == s:
  print(c)
elif w == c:
  print(r)
else:
  print(s)

Buggy submission (verdict: Runtime Error):
w = input()
 
s = "Sunny"
c = "Cloudy"
r = "Rainy"
 
if w == s:
  print(c)
elif w == c:
  print(r)
else w == r:
  print(s)

Buggy submission (verdict: Runtime Error):
w = input()

s = "Sunny"
c = "Cloudy"
r = "Rainy"

if w == s:
  print(c)
elif w == c:
  print(r)
else w == r:
  print(s)

Buggy submission (verdict: Runtime Error):
w = input()
s = "sunny"
c = "cloudy"
r = "rainy"
if w == s:
     print(c)
elif w == c:
     print(r)
else w == r:
     print(s)
Problem p02910 (python)

Fixed submission:
s=input()
if "L" in s[::2] or "R" in s[1::2]:
  print("No")
else:
  print("Yes")

Buggy submission (verdict: Runtime Error):
s=input()
rud=["R","U","D"]
lud=["L","U","D"]
if rud in s[::2] and lud in s[1::2]:
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):

Copy
Copy
s = input()
k = s[::2]
g = s[1::2]
 
if (k in "R" or "U" or "D") and (g in "L" or "U" or "D"):
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
s = input()
k = s[::2]
g = s[1::2]
 
if (k in "R" or "U" or "D") and (g in "L" or "U" or "D":)
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
s = input()
k = s[::2]
g = s[1::2]
 
if (k == "R" or "U" or "D") and (g == "L" or "U" or "D":)
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
s = input()
k = s[::2]
g = s[1::2]
 
if k in "R","U","D" and g in "L","U","D":
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
s = input()
k = s[::2]
g = s[1::2]

if k == "R","U","D" and g == "L","U","D":
  print("Yes")
else:
  print("No")
Problem p02921 (python)

Fixed submission:
s = input()
t = input()
 
count = 0
 
for i in range(3):
		if s[i] == t[i]:
			count += 1  
    
print(count)

Buggy submission (verdict: Runtime Error):
s,t=input().split()
if s==t:
  print(3)
elif s!=t:
  for i in range(3):
    if s[i]==t[i]:
      i+=1
      print(i)

Buggy submission (verdict: Runtime Error):
s = input()
t = input()
 
count = 0
 
for i in range(3):
	if s[i] == t[i]:
	count += 1  
  	print(count)

Buggy submission (verdict: Runtime Error):
s = input()
t = input()
 
count = 0
 
for i in range(3):
	if s[i] == t[i]
	count += 1  
  	print(count)

Buggy submission (verdict: Runtime Error):
s = input()
t = input()

count = 0

for i in range(3)
	if s[i] == t[i]
	count += 1  
  	print(count)

Buggy submission (verdict: Runtime Error):
s = input()
t = input()

count = 0

if s[i] == t[i]:
  count += 1
  print(count)

Buggy submission (verdict: Runtime Error):
a, b, c = input()
d, e, f = input()
if a == d and b == e and c == f:
  print(3)
elif a == b and b == e:
  print(2)
elif b == e and c == f:
  print(2)
elif c == f and a == b:
  print(2)
elif a == d or b == e or c == f:
  print(1)
elif a != d and b != e and c != f:
  peint(0)
else:
  pass

Buggy submission (verdict: Runtime Error):
a, b, c = input()
d, e, f = input()
if a == d and b == e and c == f:
  print(3)
elif a == b and b == e, b == e and c == f, c == f and a == b:
  print(2)
elif a == d or b == e or c == f:
  print(1)
else:
  peint(0)

Buggy submission (verdict: Runtime Error):
a, b, c = input()
d, e, f = input()
if a == d and b == e and c == f:
  print(3)
elif a == b and b == e:
  print(2)
elif b == e and c == f:
  print(2)
elif c == f and a == b:
  print(2)
elif a == d or b == e or c == f:
  print(1)
else:
  peint(0)

Buggy submission (verdict: Runtime Error):
a, b, c = input()
d, e, f = input()
if a, b, c == d, e, f:
  print(3)
elif a == b and b == e:
  print(2)
elif b == e and c == f:
  print(2)
elif c == f and a == b:
  print(2)
elif a == d or b == e or c == f:
  print(1)
else:
  peint(0)
Problem p02934 (python)

Fixed submission:
n=int(input())
a_list=list(map(int,input().split()))
print(1/sum(1/a for a in a_list))

Buggy submission (verdict: Runtime Error):
n=int(input())
a_list=list(map(int,input().split()))
print(1/sum(1/a for a in range(a_list)))

Buggy submission (verdict: Runtime Error):
n=int(input())
a=[int(input()) for i in range(n)]
for result in range(n):
  1//(1//(a*n))
  print(result)
Problem p02945 (python)

Fixed submission:
A, B = map(int, input().split())

P = A + B
M = A - B
T = A * B

print(max(P, M, T))

Buggy submission (verdict: Runtime Error):
A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
lst = [P, M, T]
print(max(lst))

Buggy submission (verdict: Runtime Error):
A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
li = [P, M, T]
print(max(li))

Buggy submission (verdict: Runtime Error):
A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
list = [P, M, T]
print(max(list))

Buggy submission (verdict: Runtime Error):
A, B = [int(input()) for _ in range(2)]
 
P = A + B
M = A - B
T = A * B
 
list = [P, M, T]
print(list(max))

Buggy submission (verdict: Runtime Error):
A, B = [int(input()) for _ in range(2)]

P = A + B
M = A - B
T = A * B

if P > M or P > T:
  print(P)
elif M > P or M > T:
  print(M)
elif T > M or T > P:
  print(T)
else:
  pass
Problem p02946 (python)

Fixed submission:
K, X = map(int, input().split())
print(' '.join(map(str, range(X - K + 1, X + K))))

Buggy submission (verdict: Runtime Error):
1 K, X = map(int, input().split())
2 print(' '.join(map(str, range(X - K + 1, X + K))))
Problem p02958 (python)

Fixed submission:
n=int(input())
p=[int(i) for i in input().split()]
count=0
P=sorted(p)
for i in range(n):
    if p[i]!=P[i]:
        count+=1
if count==2 or count==0:
    print("YES")
else:
    print("NO")

Buggy submission (verdict: Runtime Error):
zn=int(input())
p=[int(i) for i in input().split()]
count=0
for i in range(n-1):
    for j in range(i+1,n):
        #print(p[i],p[j])
        if p[i]>p[j]:
            count+=1
if count>=3:
    print("NO")
else:
    print("YES")
Problem p02993 (python)

Fixed submission:
s=input()
print("Bad" if s[0]==s[1] or s[1]==s[2] or s[2]==s[3] else "Good")

Buggy submission (verdict: Runtime Error):
s=int(input())
print("Good" if s[0]!=s[1] or s[1]!=s[2] or s[2]!=s[3] else "Bad")

Buggy submission (verdict: Runtime Error):
s=int(input())
print("Good" if s[0]==s[1] or s[1]==s[2] or s[2]==s[3] else "Bad")
Problem p02994 (python)

Fixed submission:
n,l=map(int,input().split())
taste_list=[]
for i in range(1,n+1):
    taste_list.append(l+i-1)
taste=sum(taste_list)
if taste_list[0]>0:
    print(taste-taste_list[0])
elif 0 in taste_list:
    print(taste)
else:
    print(taste-taste_list[n-1])

Buggy submission (verdict: Runtime Error):
n,l=map(int,input().split())
taste_list=[]
for i in range(1,n+1):
    taste_list.append(l+i-1)
#taste=sum(taste_list)
if taste_list[0]>0:
    print(taste-taste_list[0])
else:
    print(taste-taste_list[n-1])

Buggy submission (verdict: Runtime Error):
n,l=map(int,input().split())
taste_list=[]
for i in range(1,n+1):
    taste_list.append(l+i-1)
if taste_list[0]>0:
    print(taste-taste_list[0])
elif taste_list[0]<0:
    print(taste-taste_list[n-1])
Problem p03109 (python)

Fixed submission:
a=input()
print("Heisei" if int(a.replace("/", ""))<=20190430 else "TBD")

Buggy submission (verdict: Runtime Error):
print("Heisei" if int(input().replace("/", ""))<=20190430 else "TBD"

Buggy submission (verdict: Runtime Error):
a=input()
a.replace("/", "")
print("Heisei" if int(a)<=20190430 else "TBD")

Buggy submission (verdict: Runtime Error):
a=input()
a.replace("/", "")
print("Heisei" if int(a)<=2019430 else "TBD")

Buggy submission (verdict: Runtime Error):
a=input()
a.replace("/","")
print("Heisei" if int(a)<=2019430 else "TBD")

Buggy submission (verdict: Runtime Error):
a=int(input())
a.replace("/","")
print("Heisei" if a<=2019430 else "TBD")

Buggy submission (verdict: Runtime Error):
a=int(input())
a.remove("/","")
print("Heisei" if a<=2019430 else "TBD")

Buggy submission (verdict: Runtime Error):
a=int(input())
a.rempve("/","")
print("Heisei" if a<=2019430 else "TBD")
Problem p03139 (python)

Fixed submission:
N, A, B= map(int, input().split())
print(min(A, B), max(0, A + B - N))

Buggy submission (verdict: Runtime Error):
N, A, B= map(int, input().split())
print(min(N, A, B)
if A==B:
	print(A)
elif A>B:
	  print(A-B)
elif:
	  printt(B-A)
else:
      pass
Problem p03238 (python)

Fixed submission:
n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Buggy submission (verdict: Runtime Error):
n=int(input())print("Hello World" if n==1 else a=int(input() b=int(input() print(a+b)))

Buggy submission (verdict: Runtime Error):
n=int(input());print("Hello World" if n==1 else a=int(input() b=int(input() a+b)))

Buggy submission (verdict: Runtime Error):
n=int(input())
a=int(input())
b=int(input())
print("Hello World" if n==1 else a+b)
Problem p03264 (python)

Fixed submission:
k=int(input())
if k%2==0:
  print(int((k/2))**2)
elif k%2==1:
  print(int((k/2))*int((k/2+1)))

Buggy submission (verdict: Runtime Error):
k=int(inout())
if k%2==0:
  print((k/2)**2)
elif k%2==1:
  print((k/2)*(k/2+1))
Problem p03284 (python)

Fixed submission:
n, k=map(int, input().split());print(0 if n%k==0 else 1)

Buggy submission (verdict: Runtime Error):
n, k=map(int, input().split());print(0 if n%k==o else 1)

Buggy submission (verdict: Runtime Error):
n, k=map(int,input().split());print(0 if n%k==o else 1)
Problem p03369 (python)

Fixed submission:
s = input()
print(700 + int(s.count("o")*100))

Buggy submission (verdict: Runtime Error):
s = input()
print(700 + int(s.count(o)*100))

Buggy submission (verdict: Runtime Error):
s = input()
print(700 + int(s.count(o)))

Buggy submission (verdict: Runtime Error):
s = input()
print(700 + s.count(o))

Buggy submission (verdict: Runtime Error):
s = input().split()
print(700 + s.count(o))
Problem p03385 (python)

Fixed submission:
a = input()
if "a" in a and "b" in a and "c" in a:
  print("Yes")
else:
  print("No")

Buggy submission (verdict: Runtime Error):
a = input()
b = ["a","b","c"]
if b in a:
  print("Yes")
else:
  print("No")
Problem p03415 (python)

Fixed submission:
a = input()
b = input()
c = input()
print(a[0]+b[1]+c[2])

Buggy submission (verdict: Runtime Error):
a, b c = input().split()
print(a[0]+b[1]+c[2])
Problem p03447 (python)

Fixed submission:
x = int(input())
a = int(input())
b = int(input())
print((x-a)%b)

Buggy submission (verdict: Runtime Error):
x, a, b = map(int, input().split())
 print(x-(a+b))
Problem p03473 (python)

Fixed submission:
a = int(input())
print(48-a)

Buggy submission (verdict: Runtime Error):
a = int(input)
print(48-a)
Problem p03485 (python)

Fixed submission:
import math
a, b = map(int,input().split())
x = (a + b)/2
print(math.ceil(x))

Buggy submission (verdict: Runtime Error):
inport math
a, b = map(int, input().split())
x = (a + b)/2
print(math.ceil(x))

Buggy submission (verdict: Runtime Error):
a, b = map(int, input().split())
x = (a + b)/2
print(math.ceil(x))

Buggy submission (verdict: Runtime Error):
a, b = int(input().split())
x = int((a+b)/2)
print(x)

Buggy submission (verdict: Runtime Error):
a, b = int(input())
x = (a+b)/2
print(int(x))

Buggy submission (verdict: Runtime Error):
a, b = int(input())
x = (a+b)/2
print(x)
Problem p03493 (python)

Fixed submission:
a = input()
print(a.count("1"))

Buggy submission (verdict: Runtime Error):
a = int(input())
print(a.count(0))

Buggy submission (verdict: Runtime Error):
a = int(input())
print(a.count(o))
Problem p03597 (python)

Fixed submission:
n = int(input())
a = int(input())

print((n*n)-a)

Buggy submission (verdict: Runtime Error):
n,a = map(int,input().split())
print((n*n)-a)

Buggy submission (verdict: Runtime Error):
n,a = int(input().split())
print((n*n)-a)
Problem p03623 (python)

Fixed submission:
x, a, b = map(int, input().split())
xa = abs(x-a)
xb = abs(x-b)
if xa < xb:
  print("A")
elif xa > xb:
  print("B")

Buggy submission (verdict: Runtime Error):
x, a, b = map(int, input().split())
xa = abs(x-a)
xb = abs(x-b)
if xa < xb:
  print(A)
elif xa > xb:
  print(B)

Buggy submission (verdict: Runtime Error):
x, a, b = map(int, input().split())
xa = abs(x-a)
xb = abs(x-b)
if xa < xb:
  print(A)
else:
  print(B)

Buggy submission (verdict: Runtime Error):
x, a, b = map(int, input().split())
xa = abs(x-a)
xb = abs(x-b)
if xa > xb:
  print(A)
else:
  print(B)
Problem p03657 (python)

Fixed submission:
a, b = map(int, input().split())
if a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:
  print("Possible")
else:
  print("Impossible")

Buggy submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a % 3 == 0 and b % 3 != 0 and (a + b) % 3 != 0:
  print("Possible")
elif b % 3 == 0 and a % 3 != 0 and (a + b) % 3 != 0:
  print("Possible")
elif (a + b) % 3 == 0 and a % 3 != 0 and b % 3 != 0:
  print("Possible")
else:
  ("Inpossible")

Buggy submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a % 3 == 0 and b % 3 != 0 and (a + b) % 3 != 0:
  print("Possible")
elif b % 3 == 0 and a % 3 != 0 and (a + b) % 3 != 0:
  print("Possible")
elif (a + b) % 3 == 0 and a % 3 != 0 and a % 3 != 0:
  print("Possible")
else:
  ("Inpossible")

Buggy submission (verdict: Runtime Error):
a, b, c = map(int, input().split())
if a % 3 == 0 and b % 3 != 0 and (a + b) % 3 != 0:
  print("possible")
elif b % 3 == 0 and a % 3 != 0 and (a + b) % 3 != 0:
  print("possible")
elif (a + b) % 3 == 0 and a % 3 != 0 and a % 3 != 0: