ZhenlongDai/ACPR huggingface dataset:
Problem: p02835
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A = list(map(int, input().split()))

if sum(A) >= 22:
    print('bust')
else:
    print('Yes')


Failing test case input:
-1 1 1

Expected output:
win


Actual output:
Yes


Fixed submission (verdict: Accepted):
A = list(map(int, input().split()))

if sum(A) >= 22:
    print('bust')
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a1, a2, a3 = map(int, input().split())
print('burst' if a1 + a2 + a3 >= 22 else 'win')


Failing test case input:
13 7 2

Expected output:
bust

Actual output:
burst


Fixed submission (verdict: Accepted):
a1, a2, a3 = map(int, input().split())
print('bust' if a1 + a2 + a3 >= 22 else 'win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a+b+c > 21:
    print ('burst')
else:
    print ('win')

Failing test case input:
93 0 2

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a+b+c > 21:
    print ('bust')
else:
    print ('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=sum(map(int,input().split()))
if a<=21:
    print("win")
else:
    print("burst")
    

Failing test case input:
93 -7 0

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a=sum(map(int,input().split()))
if a<=21:
    print("win")
else:
    print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))
if sum(a) == 22:
    print('bust')
else:
    print('win')


Failing test case input:
93 -7 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))
if sum(a) >= 22:
    print('bust')
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):



i = list(map(int, input().split()))
a=i[0]
b=i[1]
c=i[2]

if a+b+c < 21:
    print ("win")
    exit (0)
print ("bust")


Failing test case input:
5 7 9

Expected output:
win

Actual output:
bust


Fixed submission (verdict: Accepted):



i = list(map(int, input().split()))
a=i[0]
b=i[1]
c=i[2]

if a+b+c < 22:
    print ("win")
    exit (0)
print ("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))
if sum(a) >= 22:
  print('busu')
else:
  print('win')

Failing test case input:
30 1 1

Expected output:
bust


Actual output:
busu


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))
if sum(a) >= 22:
  print('bust')
else:
  print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
x=list(map(int, input().split()))
if x[2]+x[1]+x[0]>21:
	print('bust')
else:
	print('Win')

Failing test case input:
-2 1 2

Expected output:
win


Actual output:
Win


Fixed submission (verdict: Accepted):
x=list(map(int, input().split()))
if x[2]+x[1]+x[0]>21:
	print('bust')
else:
	print('win')
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

A1, A2, A3 = map(int, input().split())

if sum([A1, A2, A3]) <= 22:
    print("bust")
else:
    print("win")


Failing test case input:
72 -2 1

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):

A1, A2, A3 = map(int, input().split())

if sum([A1, A2, A3]) >= 22:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a = sum(map(int, input().split(' ',2)))
if 21 >= a:
    print('bust') 
else:
    print('win')

Failing test case input:
13 9 4

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a = sum(map(int, input().split(' ',2)))
if 22 <= a:
    print('bust') 
elif 21 >= a:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 22:
        return "bust"
    elif total <= 21 :
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))

Failing test case input:
13 7 2

Expected output:
bust

Actual output:
None


Fixed submission (verdict: Accepted):
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 21:
        return "bust"
    elif total <= 21:
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
s = a+b+c
if (s>22):
  print('bust')
else: 
  print('win')

Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
s = a+b+c
if (s>21):
  print('bust')
else: 
  print('win')

Problem: p02835
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from sys import stdin, stdout

def print(x):
    stdout.write(str(x))

def solve():
    A = [int(x) for x in stdin.readline().split()]
    sum = 0
    for a in A:
        sum += a
    if sum <= 22 :
        print("win")
    else:
        print("bust")

def main():
    solve()


if __name__ == "__main__":
    main()

Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win

Fixed submission (verdict: Accepted):
from sys import stdin, stdout

def print(x):
    stdout.write(str(x))

def solve():
    A = [int(x) for x in stdin.readline().split()]
    sum = 0
    for a in A:
        sum += a
    if sum < 22 :
        print("win")
    else:
        print("bust")

def main():
    solve()


if __name__ == "__main__":
    main()

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split()) 
d = a + b + c  
if d < 21:
  print("win")
else:
  print("bust") 

Failing test case input:
5 7 9

Expected output:
win

Actual output:
bust


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split()) 
d = a + b + c  
if d <= 21:
  print("win")
else:
  print("bust")
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a+b+c > 22:
    print("bust")
elif a+b+c < 21:
    print("win")

Failing test case input:
13 7 2

Expected output:
bust

Actual output:

Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a+b+c >= 22:
    print("bust")
elif a+b+c <= 21:
    print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n=list(map(int,input().split()))
if n[0]+n[1]+n[2]<=22:
    print("win")
else:
    print("bust")

Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win


Fixed submission (verdict: Accepted):
n=list(map(int,input().split()))
if n[0]+n[1]+n[2]<=21:
    print("win")
else:
    print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

k = a+b+c

if k <= 22:
    print("win")
else:
    print("bust")



Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

k = a+b+c

if k < 22:
    print("win")
else:
    print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print("win" if a+b+c==21 else "bust")

Failing test case input:
0 9 4

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print("win" if a+b+c<=21 else "bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a+b+c <= 22:
  print("bust")
else:
  print("win")

Failing test case input:
73 -3 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
if a+b+c >= 22:
  print("bust")
else:
  print("win")

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a = sum(map(int, input().split(' ',2)))
if a >= 21:
    print('win')
else:
    print('bust') 

Failing test case input:
0 9 4

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
a = sum(map(int, input().split(' ',2)))
if 22 <= a:
    print('bust') 
elif 21 >= a:
    print('win')

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a, b, c= map(int, input().split())
d =a+b+c
if d < 21:
  print("win")
else:
  print("bust")

Failing test case input:
5 7 9

Expected output:
win

Actual output:
bust


Fixed submission (verdict: Accepted):
a, b, c= map(int, input().split())
if a+b+c <= 21:
  print("win")
else:
  print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A = sum(map(int,input().split()))
print("bust" if A>= 22 else "No")

Failing test case input:
-4 -10 -1

Expected output:
win


Actual output:
No


Fixed submission (verdict: Accepted):
A = sum(map(int,input().split()))
print("bust" if A>= 22 else "win")
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = map(int, input().split())
if sum(n) > 22:
    print('bust')
else:
    print('win')


Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win


Fixed submission (verdict: Accepted):
n = map(int, input().split())
if sum(n) > 21:
    print('bust')
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
l_in = list(map(int, input().split()))
if sum(l_in) < 21:
  print('win')
else:
  print('bust')

Failing test case input:
5 7 9

Expected output:
win

Actual output:
bust


Fixed submission (verdict: Accepted):
l_in = list(map(int, input().split()))
if sum(l_in) <= 21:
  print('win')
else:
  print('bust')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
b = a.split()

if int(b[0]) + int(b[1]) + int(b[2]) >= 22:
    print("bust")
    
else:
    print("winn")

Failing test case input:
-2 1 2

Expected output:
win


Actual output:
winn


Fixed submission (verdict: Accepted):
a = input()
b = a.split()

if int(b[0]) + int(b[1]) + int(b[2]) >= 22:
    print('bust')
    
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
s=sum([int(x) for x in input().split()])
if s>22:
    print('bust')
else:
    print('win')

Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win


Fixed submission (verdict: Accepted):
s=sum([int(x) for x in input().split()])
if s>=22:
    print('bust')
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a+b+c>=22:
  print('win')
else:
  print('bust')

Failing test case input:
0 -7 -2

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a+b+c>=22:
  print('bust')
else:
  print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=map(int,input().split())
if a+b+c >= 22:
  print("'bust'")
else:
  print("'win'")

Failing test case input:
-4 -10 -1

Expected output:
win


Actual output:
'win'


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
if a+b+c >= 22:
  print("bust")
else:
  print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
i = input()
t = i.split()
if 22 >= int(t[0])+int(t[1])+int(t[2]):
    print("bust")
else:
    print("win")

Failing test case input:
51 -1 1

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
i = input()
t = i.split()
if int(t[0])+int(t[1])+int(t[2]) >= 22:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
  A = list(map(int, input().split()))
  
  if sum(A) <= 22:
    print('win')
  else:
    print('dust')
  
  
main()

Failing test case input:
73 -6 2

Expected output:
bust


Actual output:
dust


Fixed submission (verdict: Accepted):
def main():
  A = list(map(int, input().split()))
  
  if sum(A) <= 21:
    print('win')
  else:
    print('bust')
  
  
main()
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
if a+b+c>=22:
  print("dust")
else:
  print("win")

Failing test case input:
30 0 0

Expected output:
bust


Actual output:
dust


Fixed submission (verdict: Accepted):
A1,A2,A3 = map(int,input().split())
if A1+A2+A3>=22:
  print("bust")
else:
  print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
k = a+b+c

if k >= 22:
  print("win")
else:
  print("bust")

Failing test case input:
0 -13 -2

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
k = a+b+c

if k >= 22:
  print("bust")
else:
  print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 22:
        return "bust"
    elif 0 < total < 21 :
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))

Failing test case input:
5 7 9

Expected output:
win

Actual output:
None


Fixed submission (verdict: Accepted):
def blackjack(data):
    [a,b,c] = data
    total = a+b+c

    if total > 21:
        return "bust"
    elif total <= 21:
        return "win"

input_data = [int(x) for x in input().split()]

print(blackjack(input_data))

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a,b,c=map(int,input().split())
print("win" if a+b+c>21 else "bust")

Failing test case input:
13 9 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a,b,c=map(int,input().split())
print("win" if a+b+c<=21 else "bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a1, a2, a3 = map(int,input().split())
if a1 + a2 + a3 <= 22:
    print("bust")
else:
    print("win")



Failing test case input:
93 0 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a1, a2, a3 = map(int,input().split())
if a1 + a2 + a3 >= 22:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
a, b, c = map(int, input().split())

if a + b + c >= 22:
	print ('win')
else:
	print('bust')

Failing test case input:
84 -6 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a + b + c >= 22:
	print ('bust')
else:
	print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A1, A2, A3 = map(int, input("Enter a multiple value: ").split())
if A1 + A2 + A3 >= 22:
    print('bust')
else:
    print('win')


Failing test case input:
73 -6 2

Expected output:
bust


Actual output:
Enter a multiple value: bust


Fixed submission (verdict: Accepted):
A1, A2, A3 = map(int, input().split())
if A1 + A2 + A3 >= 22:
    print('bust')
else:
    print('win')
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a=list(map(int, input().split()))
if sum(a)<22:
  print("bust")
else:
  print("win")
  

Failing test case input:
0 -5 -2

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))
if sum(a) < 22:
    print("win")
else:
    print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())

if a + b + c <= 21:
    print("win")
else:
    print("burst")

Failing test case input:
51 -1 1

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())

if a + b + c <= 21:
    print("win")
else:
    print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = input()
a = a.split(" ")
sum = 0
for num in a:
    sum += int(num)
if sum >= 22:
    print("bust")
else:
    print(sum)

Failing test case input:
17 0 0

Expected output:
win


Actual output:
17


Fixed submission (verdict: Accepted):
a = input()
a = a.split(" ")
sum = 0
for num in a:
    sum += int(num)
if sum >= 22:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
result = a+b+c
if result >= 22:
    print("burst")
else:
    print("win") 

Failing test case input:
30 0 0

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
result = a+b+c
if result >= 22:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A=list(map(int,input().split()))

print(A[0])
if A[0]+A[1]+A[2]<=21 :
    print("win")
else:
    print("bust")

Failing test case input:
-2 1 2

Expected output:
win


Actual output:
-2
win


Fixed submission (verdict: Accepted):
A=list(map(int,input().split()))
if A[0]+A[1]+A[2]<=21:
    print("win")
else:
    print("bust")

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


def main():
    a, b, c = map(int, input().split())
    print('bust' if sum([a,b,c]) else 'win')

if __name__ == '__main__':
    main()


Failing test case input:
-1 1 2

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
import sys
sys.setrecursionlimit(12345678)
import itertools
from collections import Counter
from collections import defaultdict
from collections import deque
import bisect
from heapq import heappush, heappop


def main():
    a, b, c = map(int, input().split())
    print('bust' if sum([a,b,c]) >= 22 else 'win')

if __name__ == '__main__':
    main()
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())

if(a+b+c >= 22):
    print("burst")
else:
    print("win")

Failing test case input:
30 0 0

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())

if(a+b+c >= 22):
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
A1,A2,A3=map(int,input().split())
if A1+A2+A3<=22:
  print("bust")
else:
  print("win")

Failing test case input:
30 0 -1

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
A1,A2,A3=map(int,input().split())
if A1+A2+A3>=22:
  print("bust")
else:
  print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())
if (a+b+c)>22:
    print('bust')
else:
    print('win')

Failing test case input:
13 7 2

Expected output:
bust

Actual output:
win


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if (a+b+c)>=22:
    print('bust')
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
input = input().split(" ")

a = int(input[0])
b = int(input[1])
c = int(input[2])

if (a+b+c < 22): print("bust")
else: print("win")

Failing test case input:
73 -2 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
input = input().split()

a = int(input[0])
b = int(input[1])
c = int(input[2])

if (a + b + c < 22): print("win")
else: print("bust")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
if sum(list(map(int,input().split())))>=22:
  print("win")
else:
  print("burst")

Failing test case input:
136 0 2

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
if sum(list(map(int,input().split())))>=22:
  print("bust")
else:
  print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a = list(map(int, input().split()))

if sum(a) > 21:
    print('win')
else:
    print('bust')

Failing test case input:
93 -7 0

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a = list(map(int, input().split()))

if sum(a) > 21:
    print('bust')
else:
    print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())

if 22 <= a*b+c:
    print("bust")
else:
    print("win")

Failing test case input:
51 -1 0

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())

if 22 <= a+b+c:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a1, a2, a3 = map(int,input().split())
if a1 + a2 + a3 <= 22:
    print('bust')
else:
    print('win')

Failing test case input:
-3 -1 1

Expected output:
win


Actual output:
bust


Fixed submission (verdict: Accepted):
a1, a2, a3 = map(int,input().split())
if a1 + a2 + a3 >= 22:
    print('bust')
else:
    print('win')
Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c=(int(i) for i in input().split())
print('bust') if a+b+c<=22 else print('win')

Failing test case input:
30 1 1

Expected output:
bust


Actual output:
win


Fixed submission (verdict: Accepted):
a,b,c=(int(i) for i in input().split())
print('bust') if a+b+c>=22 else print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def winOrBust(string_numbers_in):
  num_array = string_numbers_in.split()
  result = 0
  for num in num_array:
    result += int(num)
  if result >= 22:
    print('bust')
  else:
    print('win')

if __name__ == "__main__":
    string_numbers_in = input('Input your 3 numbers:')
    winOrBust(string_numbers_in)

Failing test case input:
0 -9 -2

Expected output:
win


Actual output:
Input your 3 numbers:win


Fixed submission (verdict: Accepted):
def winOrBust(string_numbers_in):
  num_array = string_numbers_in.split()
  result = 0
  for num in num_array:
    result += int(num)
  if result >= 22:
    print('bust')
  else:
    print('win')

if __name__ == "__main__":
    string_numbers_in = input()
    winOrBust(string_numbers_in)

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int,input().split())
s = a+b+c

if s > 21:
    print("burst")
else:
    print("win")

Failing test case input:
51 0 2

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a,b,c = map(int,input().split())
s = a+b+c

if s > 21:
    print("bust")
else:
    print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a,b,c = map(int, input().split())

if a+b+c >= 22:
  print('burst')
else:
  print('win')

Failing test case input:
136 0 1

Expected output:
bust


Actual output:
burst


Fixed submission (verdict: Accepted):
a,b,c = map(int, input().split())
if a+b+c >= 22:
  print('bust')
else:
  print('win')

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b, c = map(int, input().split())
if a+b+c >= 22:
    print("bust")
elif a+b+c < 21:
    print("win")

Failing test case input:
5 7 9

Expected output:
win

Actual output:

Fixed submission (verdict: Accepted):
a, b, c = map(int, input().split())
if a+b+c >= 22:
    print("bust")
elif a+b+c <= 21:
    print("win")

Problem: p02835
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a1, a2, a3 = map(int, input().split())
print('win') if (a1 + a2 + a3) < 21 else print('bust')


Failing test case input:
5 7 9

Expected output:
win

Actual output:
bust


Fixed submission (verdict: Accepted):
a1, a2, a3 = map(int, input().split())
print('win') if (a1 + a2 + a3) < 22 else print('bust')

Problem: p02835
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
print("win" if sum(list(map(int,input().split())))<22 else "best")

Failing test case input:
30 1 0

Expected output:
bust


Actual output:
best


Fixed submission (verdict: Accepted):
print("win" if sum(list(map(int,input().split())))<22 else "bust")
Problem: p03284
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,k=map(int,input().split());print(n%k)

Failing test case input:
110 77

Expected output:
1


Actual output:
33


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())

if n > k or n < k:
  print(1)
elif n == k:
  print(0)

Failing test case input:
000 16

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
n, k = map(int, input().split())

if n % k == 0:
  print(0)
else:
  print(1)

Problem: p03284
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
tmp = input().split(" ")
N = int(tmp[0])
K = int(tmp[1])
print(N % K)
print(1) if N % K else print(0)

Failing test case input:
111 136

Expected output:
1


Actual output:
111
1


Fixed submission (verdict: Accepted):
tmp = input().split(" ")
N = int(tmp[0])
K = int(tmp[1])

print(1) if N % K else print(0)

Problem: p03284
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
def main():
    n, k = map(int, input().split())

    print(n%k)

if __name__ == '__main__':
    main()

Failing test case input:
110 33

Expected output:
1


Actual output:
11


Fixed submission (verdict: Accepted):
def main():
    n, k = map(int, input().split())

    print(1 if n%k!=0 else 0)

if __name__ == '__main__':
    main()

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import math
n,k = map(int,input().split())
if n/k == 0:
    print(0)
else:
    print(1)

Failing test case input:
111 37

Expected output:
0


Actual output:
1


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
if n < k:
    print(1)
else:
    x = n 
    y = n % k
    print((x + y) - x)

Failing test case input:
110 37

Expected output:
1


Actual output:
36


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
if n / k == 0:
  print(0)
else:
  print(-1)

Failing test case input:
011 35

Expected output:
1


Actual output:
-1


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k=map(int,input().split())
print(n%k)

Failing test case input:
010 37

Expected output:
1


Actual output:
10


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int,input().split())
if N >= K :
    print(N % K)
else :
    print(1)


Failing test case input:
000 9

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
N, K = map(int,input().split())
if N % K == 0 :
    print(0)
else :
    print(1)
Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
if N < K:
    print(1)
else:    
    print(N % K)

Failing test case input:
000 59

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
if N % K == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K = map(int,input().split())
X = N 
Y = N % K
if Y > 0:
    print(X - Y)
else:
    print(0)

Failing test case input:
010 33

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
N,K = map(int,input().split())
X = N 
Y = N % K
if Y > 0:
    print(1)
else:
    print(0)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
print(K%2 if N != K else 0)

Failing test case input:
111 48

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
print(0 if N%K == 0 else 1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k=list(map(int,input().split()))
print(n%k)

Failing test case input:
110 18

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
n,k=list(map(int,input().split()))
print(-(-n

Problem: p03284
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
tmp = input().split(" ")
N = int(tmp[0])
K = int(tmp[1])

print(0) if N % K else print(1)

Failing test case input:
101 77

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
tmp = input().split(" ")
N = int(tmp[0])
K = int(tmp[1])

print(1) if N % K else print(0)

Problem: p03284
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n,k = map(int, input().split())
print(n%k)

Failing test case input:
011 127

Expected output:
1


Actual output:
11


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K=map(int,input().split())

a=N
b=N%K
ans=a-b

if b == 0:
    print(0)
else:
    print(ans)

Failing test case input:
011 77

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
N,K=map(int,input().split())

b=N%K

if b == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = list(map(int, input().split()))
print(n%k)



Failing test case input:
110 77

Expected output:
1


Actual output:
33


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
if N % K == 0:
  print(0)
else:
  print(N % K)

Failing test case input:
110 77

Expected output:
1


Actual output:
33


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
if N % K == 0:
  print(0)
else:
  print(1)
Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N , K =map(int,input().split())
print(N % K)

Failing test case input:
010 45

Expected output:
1


Actual output:
10


Fixed submission (verdict: Accepted):
N , K =map(int,input().split())
print(1 if N % K else 0)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = list(map(int, input().split()))
print(n%k if n >= k else 1)



Failing test case input:
000 9

Expected output:
0


Actual output:
1


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = list(map(int, input().split()))
print(n%k if n >= k else 0)



Failing test case input:
010 19

Expected output:
1


Actual output:
0


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
print(n%k!=0)

Failing test case input:
111 48

Expected output:
1


Actual output:
True


Fixed submission (verdict: Accepted):
n, k = map(int, input().split())
print(int(n%k!=0))

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
print(n % k if n % k else 0)


Failing test case input:
110 112

Expected output:
1


Actual output:
110


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
a = n
b = n%k
print((a+b)-a if n>=k else 1)

Failing test case input:
110 33

Expected output:
1


Actual output:
11


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from sys import stdin
n,k=[int(x) for x in stdin.readline().rstrip().split()]
print(n%k)

Failing test case input:
010 45

Expected output:
1


Actual output:
10


Fixed submission (verdict: Accepted):
from sys import stdin
n,k=[int(x) for x in stdin.readline().rstrip().split()]
if n%k==0:
	print(0)
else:
	print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
if n >= k:
    print(n%k)
else :
    print(1)

Failing test case input:
110 37

Expected output:
1


Actual output:
36


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
def ABC_105_A():
    N,K = map(int, input().split())
    
    if N%K == 0:
        print(0)
    else:
        print(abs(int(N/K)-N%K))

if __name__ == '__main__':

    ABC_105_A()

Failing test case input:
110 56

Expected output:
1


Actual output:
53


Fixed submission (verdict: Accepted):
def ABC_105_A():
    N,K = map(int, input().split())
    
    if N%K == 0:
        print(0)
    else:
        print(1)

if __name__ == '__main__':

    ABC_105_A()
Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, M = map(int, input() .split())
a = N 
b = N % M
if b == 0:
    print(0)
else:
    print(abs(a - b))

Failing test case input:
100 11

Expected output:
1


Actual output:
99


Fixed submission (verdict: Accepted):
N, M = map(int, input() .split())
if N % M == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k = map(int, input().split())
a = n
print(min(n-a*k,k*a+k-n))

Failing test case input:
111 69

Expected output:
1


Actual output:
-7548


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
print(n%k)

Failing test case input:
100 78

Expected output:
1


Actual output:
22


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
if n % k == 0:
  print(0)
else:
  print(abs(n-(n%k)))

Failing test case input:
001 9

Expected output:
1


Actual output:
0


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):

n,k=list(map(int,input().split()))
if n%k==0:
    print(n%k)
else:
    x=int(n/k)
    y=n%k
    print(abs(x-y))

Failing test case input:
010 37

Expected output:
1


Actual output:
10


Fixed submission (verdict: Accepted):

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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split(" "))
if n<k:
    print("1")
else:
    print(n%k)


Failing test case input:
110 20

Expected output:
1


Actual output:
10


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

Problem: p03284
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n,k = map(int,input().split())
print(n%k>0)

Failing test case input:
001 9

Expected output:
1


Actual output:
True


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())
print(n % k)


Failing test case input:
110 59

Expected output:
1


Actual output:
51


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
inp = [int(i) for i in input().split()]

if inp[0]<inp[1]:
    print ("1")
else:
    print (inp[0]%inp[1])


Failing test case input:
100 31

Expected output:
1


Actual output:
7


Fixed submission (verdict: Accepted):
n, k = [int(i) for i in input().split()]

if n%k ==0:
    print ('0')
else:
    print ('1')
Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
import sys
input = sys.stdin.readline
N,K = [int(i) for i in input().split()]
if N < K :
    print(1)
else :
    print(N%K)

Failing test case input:
000 77

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
import sys
input = sys.stdin.readline
N,K = [int(i) for i in input().split()]
if N % K == 0 :
    print(0)
else :
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
if N >= K:
    ans = N % K
else:
    ans = 1
print(ans)

Failing test case input:
110 18

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
if N % K == 0:
    ans = 0
else:
    ans = 1
print(ans)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k = [int(x) for x in input().split()]

if n >= k:
    print(n % k)
else:
    print(1)


Failing test case input:
101 26

Expected output:
1


Actual output:
23


Fixed submission (verdict: Accepted):
n,k = [int(x) for x in input().split()]

if n % k == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K=map(int,input().split())

if N%K==0:
  print(0)
else:
  print(N%K)

Failing test case input:
111 99

Expected output:
1


Actual output:
12


Fixed submission (verdict: Accepted):
n,k=map(int,input().split())

if n%k==0:
  print(n%k)
else:
  print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k = map(int,input().split())
if n/k == 0:
  print(0)
else:
  print(1)

Failing test case input:
111 37

Expected output:
0


Actual output:
1


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N ,K = list(map(int,input().split()))
if N >= K:
    print(int(N % K))
else:
    print(1)

Failing test case input:
000 34

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
N ,K = list(map(int,input().split()))
if N % K == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k=map(int,input().split());print(n%k)

Failing test case input:
011 35

Expected output:
1


Actual output:
11


Fixed submission (verdict: Accepted):
n,k=map(int,input().split());print([1,0][n%k==0])

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K = map(int,input().split())
print( 0 if N/K == 0 else 1)

Failing test case input:
111 37

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
N,K = map(int,input().split())
print( 0 if N%K == 0 else 1)
Problem: p03284
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import re, math


def mapt(fn, *args):
    return list(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    n, k = Input()
    if n % k == 0:
        print(0)
    else:
        max_n = math.ceil(k/n)
        min_n = math.floor(k/n)
        print(max_n - min_n)


main()

Failing test case input:
001 16

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
def mapt(fn, *args):
    return list(map(fn, *args))


def Input():
    return mapt(int, input().split(" "))


def main():
    n, k = Input()
    if n % k == 0:
        print(0)
    else:
        print(1)


main()

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K=(int(i) for i in input().split())

res=list()

for i in range(0,K):
    res.append(0)

print(res)
j=0
i=0

while N>0:
    j=0
    while j<len(res):
        if N<=0:
            break
        res[j]=res[j]+1
        N=N-1
        j+=1
        


MinCount=min(res)

MaxCount=max(res)

print(MaxCount-MinCount)


Failing test case input:
110 82

Expected output:
1


Actual output:
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
1


Fixed submission (verdict: Accepted):
N,K=(int(i) for i in input().split())

res=list()

for i in range(0,K):
    res.append(0)

j=0
i=0

while N>0:
    j=0
    while j<len(res):
        if N<=0:
            break
        res[j]=res[j]+1
        N=N-1
        j+=1
        


MinCount=min(res)

MaxCount=max(res)

print(MaxCount-MinCount)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int,input().split())
if n % k == 0:
    print(0)
else:
    print(abs((n % k) % k ))

Failing test case input:
010 45

Expected output:
1


Actual output:
10


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N = list(map(int,input().split()))
print(N[0]%N[1])

Failing test case input:
111 31

Expected output:
1


Actual output:
18


Fixed submission (verdict: Accepted):
N = list(map(int,input().split()))
print(0 if N[0]%N[1]==0 else 1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k=map(int,input().split())

m=n%k
s=n
e=(n+m)

if m!=0:
  print(abs(s-m))
else:
  print(abs(e-k))

Failing test case input:
100 59

Expected output:
1


Actual output:
59


Fixed submission (verdict: Accepted):
n,k=map(int,input().split())

m=n%k

if m==0:
  print(0)
else:
  print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k=map(int, input().split())

if n/k != 1:print(1)
else: print(0)

Failing test case input:
000 77

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
n,k=map(int, input().split())
if n%k == 0:print(0)
else: print(1)
Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K=map(int,input().split())

a=N
b=N%K
ans=abs(a-b)

if b == 0:
    print(0)
else:
    print(ans)

Failing test case input:
111 77

Expected output:
1


Actual output:
77


Fixed submission (verdict: Accepted):
N,K=map(int,input().split())

b=N%K

if b == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
from functools import reduce
import math

def main():
    
    
    
    

    
    
    
    
    
    

    
    

    
    
    
    
    
    
    
    
    
    INF = float("inf")

    
    MOD = 10**9+7
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    
    
    
    
    N, K = (int(_) for _ in input().split())  
    print(N%K)
    
if __name__ == '__main__':
    main()


Failing test case input:
110 81

Expected output:
1


Actual output:
29


Fixed submission (verdict: Accepted):
from functools import reduce
import math

def main():
    
    
    
    

    
    
    
    
    
    

    
    

    
    
    
    
    
    
    
    
    
    INF = float("inf")

    
    MOD = 10**9+7
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    
    
    
    
    N, K = (int(_) for _ in input().split())
    if N%K == 0:
        print(0)
    else:
        print(1)
if __name__ == '__main__':
    main()

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k = map(int,input().split())
if n % k == 0:
    print("0")
else:
    print(n % k)

Failing test case input:
110 59

Expected output:
1


Actual output:
51


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k=map(int,input().split())
if n%k==0:
    print(0)
else:
    print(n%k)

Failing test case input:
100 31

Expected output:
1


Actual output:
7


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = map(int, input().split())

if n / k == 0:
    print("0")
else:
    print("1")

Failing test case input:
111 37

Expected output:
0


Actual output:
1


Fixed submission (verdict: Accepted):
n, k = map(int, input().split())

if n % k == 0:
    print("0")
else:
    print("1")

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n, k = list(map(int, input().split()))
print(0 if n%k else 1)



Failing test case input:
111 136

Expected output:
1


Actual output:
0


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
amari = N % K
print(amari)

Failing test case input:
100 7

Expected output:
1


Actual output:
2


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
amari = N % K
if amari > 0:
    amari = 1
print(amari)
Problem: p03284
Buggy submission (PyPy3 (2.4.0), verdict: Wrong Answer):
n, k = map(int, input().split())
if n%3 == 0:
    print(0)
else:
    print(n%3)

Failing test case input:
110 33

Expected output:
1


Actual output:
2


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n,k = map(int,input().split())
if n == k:
  print(0)
else:
  print(1)

Failing test case input:
000 77

Expected output:
0


Actual output:
1


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

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N,K=map(int,input().split())
print(1 if N%K==1 else 0)


Failing test case input:
111 36

Expected output:
1


Actual output:
0


Fixed submission (verdict: Accepted):
N,K=map(int,input().split())
print(1 if N%K!=0 else 0)

Problem: p03284
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n,k = map(int, input().split())

if n % k == 0:
    print(0)
else:
    print(abs(n-k))

Failing test case input:
101 26

Expected output:
1


Actual output:
75


Fixed submission (verdict: Accepted):
n,k = map(int, input().split())

if n % k == 0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
print(N % K)


Failing test case input:
011 32

Expected output:
1


Actual output:
11


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
print(0 if N % K == 0 else 1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):


import sys
input = sys.stdin.readline

A, B = map(int, input().split())

print(A%B)


Failing test case input:
101 26

Expected output:
1


Actual output:
23


Fixed submission (verdict: Accepted):


import sys
input = sys.stdin.readline

A, B = map(int, input().split())

if A% B==0:
    print(0)
else:
    print(1)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
a, b = (int(i) for i in input().split())
ans = int(a % b)
print(ans)

Failing test case input:
010 37

Expected output:
1


Actual output:
10


Fixed submission (verdict: Accepted):
a, b = (int(i) for i in input().split())
if a % b != 0:
    print(1)
else:
    print(0)

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
n = list(map(int, input().split()))
print(n)

if(n[0] % n[1] == 0):
    print("0")
else:
    print("1")


Failing test case input:
111 77

Expected output:
1


Actual output:
[111, 77]
1


Fixed submission (verdict: Accepted):
n = list(map(int, input().split()))

if(n[0] % n[1] == 0):
    print("0")
else:
    print("1")

Problem: p03284
Buggy submission (Python (3.4.3), verdict: Wrong Answer):
N, K = map(int, input().split())
div = N 
mod = N % K

if mod == 0:
    print(0)
else:
    print(div-mod)


Failing test case input:
111 69

Expected output:
1


Actual output:
69


Fixed submission (verdict: Accepted):
N, K = map(int, input().split())
div = N 
mod = N % K

if mod == 0:
    print(0)
else:
    print(1)