Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
8 values
p02755
A,B=map(int,input().split()) cal,cal2=0,0 ans=[] for i in range(1200): cal=math.floor(i*0.08) cal2=math.floor(i*0.1) if cal==A and cal2==B: ans.append(i) if len(ans)>0: print(min(ans)) else : print(-1)
import math A,B=map(int,input().split()) cal,cal2=0,0 ans=[] for i in range(1200): cal=math.floor(i*0.08) cal2=math.floor(i*0.1) if cal==A and cal2==B: ans.append(i) if len(ans)>0: print(min(ans)) else : print(-1)
[]
537,565
537,566
u434296044
python
p02755
a,b = map(int,input().split()) s = 0 for i in range(101): if (i*0.08)//1 == a and (i*0.1)//1 == b: s = 1 break if s == 0: print("-1") else: print(i)
a,b = map(int,input().split()) s = 0 for i in range(10001): if (i*0.08)//1 == a and (i*0.1)//1 == b: s = 1 break if s == 0: print("-1") else: print(i)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,569
537,570
u614181788
python
p02755
a,b = map(int,input().split()) s = 0 for i in range(101): if i*0.08//1 == a and i*0.1//1 == b: s = 1 break if s == 0: print("-1") else: print(i)
a,b = map(int,input().split()) s = 0 for i in range(10001): if (i*0.08)//1 == a and (i*0.1)//1 == b: s = 1 break if s == 0: print("-1") else: print(i)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
537,571
537,570
u614181788
python
p02755
def main(): a, b = map(int, input().split()) ans = -1 for i in range(10000, -1, -1): tax1 = int(i*0.08) tax2 = int(i*0.08) if tax1 == a and tax2 == b: ans = i print(ans) if __name__ == "__main__": main()
def main(): a, b = map(int, input().split()) ans = -1 for i in range(10000, -1, -1): tax1 = int(i*0.08) tax2 = int(i*0.10) if tax1 == a and tax2 == b: ans = i print(ans) if __name__ == "__main__": main()
[ "literal.number.float.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change" ]
537,572
537,573
u044964932
python
p02755
def main(): a, b = map(int, input().split()) ans = -1 for i in range(10000, 1, -1): tax1 = int(i*0.08) tax2 = int(i*0.08) if tax1 == a and tax2 == b: ans = i print(ans) if __name__ == "__main__": main()
def main(): a, b = map(int, input().split()) ans = -1 for i in range(10000, -1, -1): tax1 = int(i*0.08) tax2 = int(i*0.10) if tax1 == a and tax2 == b: ans = i print(ans) if __name__ == "__main__": main()
[ "expression.operation.unary.add", "call.arguments.change", "control_flow.loop.range.bounds.step.change", "literal.number.float.change", "assignment.value.change", "expression.operation.binary.change" ]
537,574
537,573
u044964932
python
p02755
from math import ceil, floor A, B = map(int, input().split()) for i in range(100): j = i+1 if floor(j*0.08) ==A and floor(j*0.1)==B: print(j) break else: print(-1)
from math import ceil, floor A, B = map(int, input().split()) for i in range(10000): j = i+1 if floor(j*0.08) ==A and floor(j*0.1)==B: print(j) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,575
537,576
u095384238
python
p02755
from math import ceil, floor A, B = map(int, input().split()) for i in range(100): j = i+1 if floor(j*0.08) ==A and floor(j*0.1)==B: print(j) break else: print("-1")
from math import ceil, floor A, B = map(int, input().split()) for i in range(10000): j = i+1 if floor(j*0.08) ==A and floor(j*0.1)==B: print(j) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,577
537,576
u095384238
python
p02755
A,B=map(int,input().split()) a=True for i in range(100): if int(0.08*i)==A and int(0.10*i)==B: print(i) a=False break if a==True: print(-1)
A,B=map(int,input().split()) a=True for i in range(10000): if int(0.08*i)==A and int(0.10*i)==B: print(i) a=False break if a==True: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,578
537,579
u172966990
python
p02755
from sys import stdin a,b = map(int,stdin.readline().rstrip().split()) for i in range(1000): if int(i*0.08) == a and int(i*0.1) == b: print(i) exit() print(-1)
from sys import stdin a,b = map(int,stdin.readline().rstrip().split()) for i in range(1001): if int(i*0.08) == a and int(i*0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,589
537,590
u987164499
python
p02755
A, B = map(int, input().split()) for i in range(1000): if (i * 8) // 100 == A and (i * 10) // 100 == B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(100000): if (i * 8) // 100 == A and (i * 10) // 100 == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,591
537,592
u392319141
python
p02755
A, B = map(int, input().split()) for i in range(B*100): if i*8//100 == A and i * 10 // 100 == B: print(i) exit() print(-1, -1)
A, B = map(int, input().split()) for i in range(B*100): if i*8//100 == A and i * 10 // 100 == B: print(i) exit() print(-1)
[ "call.arguments.change" ]
537,593
537,594
u223663729
python
p02755
def resolve(): a, b = map(int, input().split()) for i in range(1, 101): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) return print('-1') return if __name__ == "__main__": resolve()
def resolve(): a, b = map(int, input().split()) for i in range(1, 10001): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) return print('-1') return if __name__ == "__main__": resolve()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,605
537,606
u733814820
python
p02755
a,b=map(int,input().split()) for i in range(1,101): if int(0.08*i)==a and int(0.10*i)==b: print(i) exit() print(-1)
a,b=map(int,input().split()) for i in range(1,10**5): if int(0.08*i)==a and int(0.10*i)==b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,617
537,618
u094191970
python
p02755
a, b = map(int, input().split()) ans = -1 for i in range(1, 1000): if int(i*0.08) == a and int(i*0.1) == b: ans = i break print(ans)
a, b = map(int, input().split()) ans = -1 for i in range(1, 1011): if int(i*0.08) == a and int(i*0.1) == b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,625
537,626
u057415180
python
p02755
a,b=map(int,input().split()) for i in range(100): if i*8//100==a and i//10==b: print(i) exit(0) print(-1)
a,b=map(int,input().split()) for i in range(10010): if i*8//100==a and i//10==b: print(i) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,632
537,633
u863044225
python
p02755
a,b=map(int,input().split()) for i in range(1000): if int(i*0.08)==a and int(i*0.1)==b: print(i) exit() print(-1)
a,b=map(int,input().split()) for i in range(2000): if int(i*0.08)==a and int(i*0.1)==b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,651
537,652
u024782094
python
p02755
a,b=map(int,input().split()) for i in range(1000): if int(i*0.08)==a and int(i*0.1)==b: print(i) exit() print(-1)
a,b=map(int,input().split()) for i in range(2000): if int(i*0.08)==a and int(i*0.1)==b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,651
537,653
u024782094
python
p02755
def main(): #from sys import stdin, setrecursionlimit #setrecursionlimit(10**9) #r = input() #n = int(input()) #a, b = map(int, input().split()) #s, y = input().split() #a = input().split() #a = [int(input()) for i in range(n)] #a = list(map(int, input().split())) #a = [list(map(...
def main(): #from sys import stdin, setrecursionlimit #setrecursionlimit(10**9) #r = input() #n = int(input()) #a, b = map(int, input().split()) #s, y = input().split() #a = input().split() #a = [int(input()) for i in range(n)] #a = list(map(int, input().split())) #a = [list(map(...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,656
537,657
u414458988
python
p02754
from sys import stdin N,A,B = [int(x) for x in stdin.readline().rstrip().split()] if N >= A+B: ans = A*(N//(A+B)) + (N%(A+B)) else: ans = min(A,N) print(ans)
from sys import stdin N,A,B = [int(x) for x in stdin.readline().rstrip().split()] if N >= A+B: ans = A*(N//(A+B)) ans += min(A,N%(A+B)) else: ans = min(A,N) print(ans)
[ "expression.operation.binary.change", "call.arguments.add" ]
537,670
537,671
u405256066
python
p02754
N, A, B = [int(i) for i in input().split()] tmp = A * N//(A+B) res = N - (A+B) * (N//(A+B)) if res > A: print(tmp + A) else: print(tmp + res)
N, A, B = [int(i) for i in input().split()] tmp = A * (N//(A+B)) res = N - (A+B) * (N//(A+B)) if res > A: print(tmp + A) else: print(tmp + res)
[]
537,678
537,679
u256281774
python
p02754
n,a,b=map(int,input().split()) k=n//(a+b) print(k*a+n-k*(a+b))
n,a,b=map(int,input().split()) k=n//(a+b) print(k*a+min(a,n-k*(a+b)))
[ "call.add", "call.arguments.change" ]
537,686
537,687
u169138653
python
p02754
n,a,b =list(map(int,input().split())) wa = a+b print(n // wa * a + n % wa)
n,a,b =list(map(int,input().split())) wa = a+b print(n // wa * a + min(n % wa , a))
[ "call.add", "call.arguments.add", "call.arguments.change" ]
537,710
537,711
u476124554
python
p02754
N,A,B = map(int,input().split()) if A==0: print(0) exit() if A==B==0: print(0) exit() print(N//(A+B)*A+N%(A+B))
N,A,B = map(int,input().split()) if A==0: print(0) exit() if A==B==0: print(0) exit() print(N//(A+B)*A+min(A,N%(A+B)))
[ "call.add", "call.arguments.change" ]
537,716
537,717
u305885563
python
p02754
n, a, b = map(int, input().split()) x = n // (a + b) ans = x * a + n % (a + b) print(ans)
n, a, b = map(int, input().split()) x = n // (a + b) ans = x * a + min(n % (a + b), a) print(ans)
[ "call.add", "call.arguments.add" ]
537,718
537,719
u445624660
python
p02754
N, A, B = map(int, input().split()) if N // (A + B) == 0: ans = min(N, A) else: ans = (N // (A + B)) * A + N % (A + B) print(ans)
N, A, B = map(int, input().split()) if N // (A + B) == 0: ans = min(N, A) else: ans = (N // (A + B)) * A + min(N % (A + B), A) print(ans)
[ "call.add", "call.arguments.add" ]
537,748
537,749
u811967730
python
p02754
N,A,B = map(int,input().split()) print(A*N//(A+B)+min(A,N%(A+B)))
N,A,B = map(int,input().split()) print((N//(A+B))*A+min(A,N%(A+B)))
[ "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
537,760
537,761
u602740328
python
p02754
import sys input = sys.stdin.readline def main(): n,a,b=map(int,input().split()) print((n//(a+b))*a+(n%(a+b))) if __name__ == '__main__': main()
import sys input = sys.stdin.readline def main(): n,a,b=map(int,input().split()) print((n//(a+b))*a+min(a,(n%(a+b)))) if __name__ == '__main__': main()
[ "call.add", "call.arguments.change" ]
537,766
537,767
u919730120
python
p02754
import math import itertools import fractions import heapq import collections import bisect import sys import copy sys.setrecursionlimit(10**9) mod = 10**7+9 inf = 10**20 n,a,b = list(map(int,input().split())) if n<=a+b: l = (a+b)//n p = min(n%(a+b),a) print((l*a)+p) else: ans = (n//(a+b))*a ans...
import math import itertools import fractions import heapq import collections import bisect import sys import copy sys.setrecursionlimit(10**9) mod = 10**7+9 inf = 10**20 n,a,b = list(map(int,input().split())) if n<=a+b: l = n//(a+b) p = min(n%(a+b),a) print((l*a)+p) else: ans = (n//(a+b))*a ans...
[ "expression.operation.binary.remove" ]
537,768
537,769
u896451538
python
p02754
n, b, r = map(int, input().split()) br = b + r a = n / br a_ = n % br print(int(a * b + (b if a_ >= b else a_)))
n, b, r = map(int, input().split()) br = b + r a = int(n / br) a_ = n % br print(a * b + (b if a_ >= b else a_))
[ "call.add", "call.arguments.change" ]
537,770
537,771
u942788644
python
p02754
n, b, r = map(int, input().split()) br = b + r a = n / br a_ = n % br print(a * b + (b if a_ >= b else a_))
n, b, r = map(int, input().split()) br = b + r a = int(n / br) a_ = n % br print(a * b + (b if a_ >= b else a_))
[ "call.add", "call.arguments.change" ]
537,772
537,771
u942788644
python
p02754
N, A, B = list(map(int, input().split())) pair = N // (A + B) rest = N % (A + B) if rest >= A: ans = pair * (A + 1) else: ans = pair * A + rest print(ans)
N, A, B = list(map(int, input().split())) pair = N // (A + B) rest = N % (A + B) if rest >= A: ans = A * (pair + 1) else: ans = pair * A + rest print(ans)
[ "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
537,778
537,779
u323626540
python
p02754
# -*- coding: utf-8 -*- N, A, B = map(int, input().split()) q, mod = divmod(N, A + B) print((A * q) + max((mod - B), mod))
# -*- coding: utf-8 -*- N, A, B = map(int, input().split()) q, mod = divmod(N, A + B) print((A * q) + min(mod, A))
[ "misc.opposites", "identifier.change", "call.function.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
537,821
537,820
u255821449
python
p02754
n,a,b=map(int,input().split()) c=a*n//(a+b) r=n%(a+b) if r<=a: print(c+r) else: print(c+a)
n,a,b=map(int,input().split()) c=(n//(a+b))*a r=n%(a+b) if r<=a: print(c+r) else: print(c+a)
[ "assignment.value.change", "expression.operation.binary.change" ]
537,827
537,828
u268792407
python
p02754
N, A, B = map(int, input().split()) C = A + B x = N // C y = N % C p = x * A q = min(y, A) p + q
N, A, B = map(int, input().split()) C = A + B x = N // C y = N % C p = x * A q = min(y, A) print(p + q)
[ "call.add", "call.arguments.change" ]
537,835
537,836
u546386229
python
p02754
n,a,b=map(int,input().split()) print(a*n//(a+b) + min(n%(a+b),a))
n,a,b=map(int,input().split()) print(n//(a+b)*a + min(n%(a+b),a))
[ "expression.operation.binary.remove" ]
537,841
537,842
u867320886
python
p02754
import sys input = sys.stdin.readline def gcd(a: int, b: int): """ https://cocodrips.hateblo.jp/entry/2014/03/05/143623 """ while b: a, b = b, a%b return a def lcm(a: int, b: int): return a * b // gcd(a, b) def main(): N,A,B = map(int, input().split()) #S = input().rstrip() #vA = list...
import sys input = sys.stdin.readline def gcd(a: int, b: int): """ https://cocodrips.hateblo.jp/entry/2014/03/05/143623 """ while b: a, b = b, a%b return a def lcm(a: int, b: int): return a * b // gcd(a, b) def main(): N,A,B = map(int, input().split()) #S = input().rstrip() #vA = list...
[ "call.add", "call.arguments.add" ]
537,851
537,852
u557168336
python
p02754
n,a,b = list(map(int,input().split())) res = (n/(a+b)) * a if (n % (a+b)) <= a: res += n % (a+b) else: res += a print(int(res))
n,a,b = list(map(int,input().split())) res = int(n/(a+b)) * a if int(n % (a+b)) <= a: res += int(n % (a+b)) else: res += a print(int(res))
[ "call.add", "type_conversion.to_integer.change", "type_conversion.to_number.change", "control_flow.branch.if.condition.change", "call.arguments.change" ]
537,855
537,856
u752115287
python
p02754
(N, A, B) = list(map(int, input().split())) cnt = int(N / (A + B)) rest = N % (A + B) if A == 0: print(0) elif rest > A: print(cnt*A + rest) else: print(cnt*A + A)
(N, A, B) = list(map(int, input().split())) cnt = int(N / (A + B)) rest = N % (A + B) if A == 0: print(0) elif rest > A: print(cnt*A + A) else: print(cnt*A + rest)
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
537,861
537,862
u205936263
python
p02754
N, A, B = map(int, input().split()) q = N//(A+B) mod = N%(A+B) print(q*A + min(N, mod))
N, A, B = map(int, input().split()) q = N//(A+B) mod = N%(A+B) print(q*A + min(A, mod))
[ "identifier.change", "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
537,863
537,864
u703742468
python
p02754
#!/usr/bin/env python3 import sys def solve(N: int, A: int, B: int): x = N // (A+B) r = N % (A+B) ans = A * x + r if r >= B: ans -= B print(ans) return # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this ...
#!/usr/bin/env python3 import sys def solve(N: int, A: int, B: int): x = N // (A+B) r = N % (A+B) ans = A * x + r if r >= A: ans -= (r - A) print(ans) return # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
537,869
537,870
u544587633
python
p02754
#!/usr/bin/env python3 import sys def solve(N: int, A: int, B: int): x = N // (A+B) r = N % (A+B) ans = A * x + r if r >= B: ans -= r print(ans) return # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove this ...
#!/usr/bin/env python3 import sys def solve(N: int, A: int, B: int): x = N // (A+B) r = N % (A+B) ans = A * x + r if r >= A: ans -= (r - A) print(ans) return # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use the default template now. You can remove...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
537,871
537,870
u544587633
python
p02754
#!/usr/bin/env python3 import sys, math, itertools, collections, bisect input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') inf = float('inf') ;mod = 10**9+7 mans = inf ;ans = 0 ;count = 0 ;pro = 1 n,a,b = map(int,input().split()) c = n//(a+b) count += c * a count += max(0,n%(a+b)) print(count)
#!/usr/bin/env python3 import sys, math, itertools, collections, bisect input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') inf = float('inf') ;mod = 10**9+7 mans = inf ;ans = 0 ;count = 0 ;pro = 1 n,a,b = map(int,input().split()) c = n//(a+b) count += c * a count += min(a,n%(a+b)) print(count)
[ "misc.opposites", "identifier.change", "call.function.change", "identifier.replace.add", "literal.replace.remove", "call.arguments.change" ]
537,876
537,877
u716530146
python
p02754
N, A, B = map(int, input().split()) i=N//(A+B) irest=N%(A+B) if(irest>B): print((i+1)*A) else: print(i*A+irest)
N, A, B = map(int, input().split()) i=N//(A+B) irest=N%(A+B) if(irest>A): print((i+1)*A) else: print(i*A+irest)
[ "identifier.change", "control_flow.branch.if.condition.change" ]
537,880
537,881
u442855260
python
p02754
N, A, B = map(int, input().split()) div = int(N/(A+B)) amari = N%(A+B) if amari > A: print(A*div + amari + A) else: print(A*div + amari)
N, A, B = map(int, input().split()) div = int(N/(A+B)) amari = N%(A+B) if amari > A: print(A*div + A) else: print(A*div + amari)
[ "expression.operation.binary.remove" ]
537,890
537,891
u161168905
python
p02754
N, A, B = list(map(int, input().split())) print(A * (N//(A+B)) + N%(A+B))
N, A, B = list(map(int, input().split())) print(A * (N//(A+B)) + min(A, N%(A+B)))
[ "call.add", "call.arguments.change" ]
537,905
537,906
u230416699
python
p02755
from math import floor from sys import exit A, B = map(int, input().split()) for i in range(100): if floor(i * 1.08) == A and floor(i * 1.1) == B: print(i) exit() print(-1)
from math import floor from sys import exit A, B = map(int, input().split()) for i in range(2000): if floor(i * 0.08) == A and floor(i * 0.1) == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "literal.number.float.change", "control_flow.branch.if.condition.change" ]
537,912
537,913
u536034761
python
p02755
A,B = map(int,input().split()) ami,ama = A/0.08,(A+1)/0.08 bmi,bma = B/0.1,(B+1)/0.1 #print(ami,ama,bmi,bma) ans = 0 flag = False for x in range(1,1000): if ami<=x<ama and bmi<=x<bma: ans = x flag = True break if flag: print(ans) else: print("-1")
A,B = map(int,input().split()) ami,ama = A/0.08,(A+1)/0.08 bmi,bma = B/0.1,(B+1)/0.1 #print(ami,ama,bmi,bma) ans = 0 flag = False for x in range(1,1200): if ami<=x<ama and bmi<=x<bma: ans = x flag = True break if flag: print(ans) else: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,918
537,919
u679520304
python
p02755
a,b = map(int, input().split()) p = [] for i in range(10, 1000): if int(i*0.08) == a: if int(i*0.1) == b: p.append(i) if len(p) == 0: print(-1) else: print(p[0])
a,b = map(int, input().split()) p = [] for i in range(10, 2000): if int(i*0.08) == a: if int(i*0.1) == b: p.append(i) if len(p) == 0: print(-1) else: print(p[0])
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,920
537,921
u188827677
python
p02755
def main(): a, b = list(map(int, input().split())) for i in range(1,101): if int(i*0.08)==a and int(i*0.1)==b: print(i) break else: print(-1) if __name__ == '__main__': main()
def main(): a, b = list(map(int, input().split())) for i in range(1,1010): if int(i*0.08)==a and int(i*0.1)==b: print(i) break else: print(-1) if __name__ == '__main__': main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,922
537,923
u157232135
python
p02755
A, B = map(int, input().split()) flag = 1 for i in range(1,100): if int(i*1.08) == A and int(i*1.1) == B: print(i) flag = 0 break if flag: print(-1)
A, B = map(int, input().split()) flag = 1 for i in range(1,10001): if int(i*0.08) == A and int(i*0.1) == B: print(i) flag = 0 break if flag: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "literal.number.float.change", "control_flow.branch.if.condition.change" ]
537,927
537,928
u991134049
python
p02755
A, B = map(int, input().split()) C = -(-A//0.08) D = -(-(A+1)//0.08) for i in range(C,D): if i//10 == B: print(i) break else: print(-1)
A, B = map(int, input().split()) C = int(-(-A//0.08)) D = int(-(-(A+1)//0.08)) for i in range(C,D): if i//10 == B: print(i) break else: print(-1)
[ "call.add", "call.arguments.change" ]
537,932
537,933
u531599639
python
p02755
def getN(): return int(input()) def getNM(): return map(int, input().split()) def getList(): return list(map(int, input().split())) def getArray(intn): return [int(input()) for i in range(intn)] def input(): return sys.stdin.readline().rstrip() from collections import defaultdict, deque, Counter fr...
def getN(): return int(input()) def getNM(): return map(int, input().split()) def getList(): return list(map(int, input().split())) def getArray(intn): return [int(input()) for i in range(intn)] def input(): return sys.stdin.readline().rstrip() from collections import defaultdict, deque, Counter fr...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,934
537,935
u145231176
python
p02755
A, B = map(int, input().split()) def test(n): x = n * 8 // 100 y = n * 10 // 100 return (x == A) and (y == B) answer = -1 for n in range(20000): if test(n): ans = n break print(ans)
a, b = map(int, input().split()) def test(n): x = n * 8 // 100 y = n * 10 // 100 return (x == a) and (y == b) ans = -1 for n in range(20000): if test(n): ans = n break print(ans)
[ "assignment.variable.change", "identifier.change", "function.return_value.change" ]
537,946
537,947
u520843951
python
p02755
a, b = map(int, input().split()) def test(n): x = n * 8 // 100 y = n * 10 // 100 return (x==a) and (y==b) answer = -1 for n in range(20000): if test(n): ans = n break print(ans)
a, b = map(int, input().split()) def test(n): x = n * 8 // 100 y = n * 10 // 100 return (x == a) and (y == b) ans = -1 for n in range(20000): if test(n): ans = n break print(ans)
[ "assignment.variable.change", "identifier.change" ]
537,948
537,947
u520843951
python
p02755
a,b=map(int,input().split()) import math al=(a/0.08) bl=(b/0.10) ah=(a+1)/0.08 bh=(b+1)/0.10 #print(al,ah) #print(bl,bh) if ah<bl or bh<al: print(-1) exit() print(math.ceil(max(al,bl)))
a,b=map(int,input().split()) import math al=(a/0.08) bl=(b/0.10) ah=(a+1)/0.08 bh=(b+1)/0.10 #print(al,ah) #print(bl,bh) if ah<=bl or bh<=al: print(-1) exit() print(math.ceil(max(al,bl)))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
537,949
537,950
u940622864
python
p02755
import math a, b = map(int, input().split()) if math.ceil(a*100/8) <= math.ceil(b*100/10): if math.floor(b*100/10) <= math.floor((a+1)*100/8): print(math.ceil(b*100/10)) else: print(-1) else: if math.floor(a*100/8) <= math.floor((b+1)*100/10): print(math.ceil(a*100/8)) else: ...
import math a, b = map(int, input().split()) if math.ceil(a*100/8) <= math.ceil(b*100/10): if math.floor(b*100/10) < math.floor((a+1)*100/8): print(math.ceil(b*100/10)) else: print(-1) else: if math.floor(a*100/8) < math.floor((b+1)*100/10): print(math.ceil(a*100/8)) else: ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
537,970
537,971
u662396511
python
p02755
import math a, b = map(int, input().split()) if math.ceil(a*100/8) <= math.ceil(b*100/10): if math.floor(b*100/10) <= math.floor((a+1)*100/8): print(math.ceil(b*100/10)) else: print(-1) else: if math.floor(a*100/8) < math.floor((b+1)*100/10): print(math.ceil(a*100/8)) else: ...
import math a, b = map(int, input().split()) if math.ceil(a*100/8) <= math.ceil(b*100/10): if math.floor(b*100/10) < math.floor((a+1)*100/8): print(math.ceil(b*100/10)) else: print(-1) else: if math.floor(a*100/8) < math.floor((b+1)*100/10): print(math.ceil(a*100/8)) else: ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
537,972
537,971
u662396511
python
p02755
import math a, b = map(int, input().split()) if math.floor(a*100/8) <= math.floor(b*100/10): if math.floor(b*100/10) < math.floor((a+1)*100/8): print(math.floor(b*100/10)) else: print(-1) else: if math.floor(a*100/8) < math.floor((b+1)*100/10): print(math.floor(a*100/8)) else: ...
import math a, b = map(int, input().split()) if math.ceil(a*100/8) <= math.ceil(b*100/10): if math.floor(b*100/10) < math.floor((a+1)*100/8): print(math.ceil(b*100/10)) else: print(-1) else: if math.floor(a*100/8) < math.floor((b+1)*100/10): print(math.ceil(a*100/8)) else: ...
[ "misc.opposites", "identifier.change", "control_flow.branch.if.condition.change", "call.arguments.change", "io.output.change" ]
537,973
537,971
u662396511
python
p02755
import math a,b=map(int,input().split()) tempa1=math.ceil(a/0.08) tempa2=int((a+1)/0.08) tempb1=math.ceil(b/0.1) tempb2=int((b+1)/0.1)-1 if tempa1>tempb2 or tempa2<tempb1: print(-1) else: print(max(tempa1,tempb1))
import math a,b=map(int,input().split()) tempa1=math.ceil(a/0.08) tempa2=math.ceil((a+1)/0.08)-1 tempb1=math.ceil(b/0.1) tempb2=int((b+1)/0.1)-1 if tempa1>tempb2 or tempa2<tempb1: print(-1) else: print(max(tempa1,tempb1))
[ "assignment.value.change" ]
537,974
537,975
u629350026
python
p02755
import math a,b=map(int,input().split()) tempa1=math.ceil(a/0.08) tempa2=int((a+1)/0.08) tempb1=math.ceil(b/0.1) tempb2=int((b+1)/0.1)+1 if tempa1>tempb2 or tempa2<tempb1: print(-1) else: print(max(tempa1,tempb1))
import math a,b=map(int,input().split()) tempa1=math.ceil(a/0.08) tempa2=math.ceil((a+1)/0.08)-1 tempb1=math.ceil(b/0.1) tempb2=int((b+1)/0.1)-1 if tempa1>tempb2 or tempa2<tempb1: print(-1) else: print(max(tempa1,tempb1))
[ "assignment.value.change", "misc.opposites", "expression.operator.arithmetic.change", "expression.operation.binary.change" ]
537,976
537,975
u629350026
python
p02755
a,b = map(int,input().split()) for i in range(1,101): A = int(i*0.08) B = int(i*0.10) if A == a and B == b: print(i) exit() print(-1)
a,b = map(int,input().split()) for i in range(1,100000): A = int(i*0.08) B = int(i*0.10) if A == a and B == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,977
537,978
u785578220
python
p02755
a, b = map(int, input().split()) for i in range(10): x = (b * 10) + i if x * 0.08 == a: print(x) break else: print(-1)
a, b = map(int, input().split()) for i in range(10): x = (b * 10) + i if x * 0.08 // 1 == a: print(x) break else: print(-1)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
537,985
537,986
u134019875
python
p02755
A, B = map(int, input().split()) f = False ans = 0 n = A * 100 // 9 m = A * 100 // 8 for i in range(n, m + 1): if i * 8 // 100 == A and i // 10 == B: f = True ans = i break print(ans if f else -1)
A, B = map(int, input().split()) f = False ans = 0 n = A * 100 // 8 m = (A + 1) * 100 // 8 for i in range(n, m + 1): if i * 8 // 100 == A and i // 10 == B: f = True ans = i break print(ans if f else -1)
[ "assignment.remove", "assignment.add" ]
537,987
537,988
u238084414
python
p02755
class abc_158: def __init__(self): pass def A(self): S=input() if "BA" in S or "AB" in S:print("Yes") else:print("No") def B(self): NAB=list(map(int,input().split())) tail = NAB[0]%(NAB[1]+NAB[2]) if NAB[0]%(NAB[1]+NAB[2])<NAB[1] else NAB[1] ...
class abc_158: def __init__(self): pass def A(self): S=input() if "BA" in S or "AB" in S:print("Yes") else:print("No") def B(self): NAB=list(map(int,input().split())) tail = NAB[0]%(NAB[1]+NAB[2]) if NAB[0]%(NAB[1]+NAB[2])<NAB[1] else NAB[1] ...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
537,998
537,999
u274244155
python
p02755
a,b = map(int, input().split()) for i in range(1000): if (int(i*0.08) == a) and (int(i*0.1) == b): print(i) break else: print(-1)
a,b = map(int, input().split()) for i in range(1001): if (int(i*0.08) == a) and (int(i*0.1) == b): print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,006
538,007
u202406075
python
p02755
import math a, b = map(int, input().split()) for i in range(1000): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) exit() print(-1)
import math a, b = map(int, input().split()) for i in range(1001): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,010
538,011
u851706118
python
p02755
A,B = map(int,input().split()) for x in range(0,101): if (0.1*x)//1 == B and (0.08*x)//1 == A: print(x) exit(0) print(-1)
A,B = map(int,input().split()) for x in range(1,10001): if (0.1*x)//1 == B and (0.08*x)//1 == A: print(x) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
538,019
538,020
u876536031
python
p02755
#!/usr/bin/env python3 a, b = map(int, input().split()) mn = max(100 * a, 80 * b) mx = min(100 * a + 99, 80 * b + 72) print(mn // 8 if mn <= mx else -1)
#!/usr/bin/env python3 a, b = map(int, input().split()) mn = max(100 * a, 80 * b) mx = min(100 * a + 99, 80 * b + 72) print((mn + 7) // 8 if mn <= mx else -1)
[ "call.arguments.change" ]
538,021
538,022
u858748695
python
p02755
import math a, b = map(int, input().split(" ")) x_min = a / 0.08 x_max = (a + 1) / 0.08 y_min = b / 0.10 y_max = (b + 1) / 0.10 lower = math.ceil(max([x_min, y_min])) upper = math.floor(min([x_max, y_max])) if lower <= upper: print(lower) else: print("-1")
import math a, b = map(int, input().split(" ")) x_min = a / 0.08 x_max = (a + 1) / 0.08 y_min = b / 0.10 y_max = (b + 1) / 0.10 lower = math.ceil(max([x_min, y_min])) upper = math.floor(min([x_max, y_max])) if lower < upper: print(lower) else: print("-1")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,023
538,024
u497805118
python
p02755
a, b = map(int,input().split()) for i in range(1001): if i*0.08==a and i*0.10==b : print(i) exit() print(-1)
a, b = map(int,input().split()) for i in range(1001): if i*0.08//1==a and i*0.10//1==b : print(i) exit() print(-1)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
538,029
538,030
u453623947
python
p02755
# coding: utf-8 import sys sr = lambda: sys.stdin.readline().rstrip() ir = lambda: int(sr()) lr = lambda: list(map(int, sr().split())) A, B = lr() for x in range(1, 101): if x * 8 // 100 == A and x * 10 // 100 == B: print(x); exit() print(-1)
# coding: utf-8 import sys sr = lambda: sys.stdin.readline().rstrip() ir = lambda: int(sr()) lr = lambda: list(map(int, sr().split())) A, B = lr() for x in range(1, 10001): if x * 8 // 100 == A and x * 10 // 100 == B: print(x); exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,033
538,034
u600402037
python
p02755
A, B = [int(_) for _ in input().split()] for i in range(100+1): if int(i * 0.08) == A and int(i * 0.1) == B: print(i) exit() print(-1)
A, B = [int(_) for _ in input().split()] for i in range(0, 1250+1): if int(i * 0.08) == A and int(i * 0.1) == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
538,047
538,048
u203669169
python
p02755
a, b = map(int, input().split()) for i in range(1000): chk_a = int(i * 0.08) chk_b = int(i * 0.10) if chk_a == a and chk_b == b: print(i) exit() print(-1)
a, b = map(int, input().split()) for i in range(1001): chk_a = int(i * 0.08) chk_b = int(i * 0.10) if chk_a == a and chk_b == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,061
538,062
u673173160
python
p02755
a,b=map(int,input().split()) k=[] o=[] p=[] for i in range(1,101): if int(i*0.08)==a: k.append(i) for j in range(1,101): if int(j*0.1)==b: o.append(j) for t in range(len(k)): for u in range(len(o)): if k[t]==o[u]: p.append(k[t]) if p==[]: print(-1) else: print(min...
a,b=map(int,input().split()) k=[] o=[] p=[] for i in range(1,5000): if int(i*0.08)==a: k.append(i) for j in range(1,5000): if int(j*0.1)==b: o.append(j) for t in range(len(k)): for u in range(len(o)): if k[t]==o[u]: p.append(k[t]) if p==[]: print(-1) else: print(m...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,069
538,070
u646203242
python
p02755
a,b = map(int,input().split()) import math for i in range(1,120): if math.floor(i*0.08) == a and math.floor(i*0.1) == b and (a <= b): print(i) exit() print(-1)
a,b = map(int,input().split()) import math for i in range(1,1200): if math.floor(i*0.08) == a and math.floor(i*0.1) == b and (a <= b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,090
538,091
u252828980
python
p02755
a,b = map(int,input().split()) import math for i in range(1,120): if math.floor(i*0.08) == a and math.floor(i*0.1) == b and a <= b: print(i) exit() print(-1)
a,b = map(int,input().split()) import math for i in range(1,1200): if math.floor(i*0.08) == a and math.floor(i*0.1) == b and (a <= b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
538,092
538,091
u252828980
python
p02755
a,b = map(int,input().split()) import math for i in range(1,101): if math.floor(i*0.08) == a and math.floor(i*0.1) == b and a <= b: print(i) exit() print(-1)
a,b = map(int,input().split()) import math for i in range(1,1200): if math.floor(i*0.08) == a and math.floor(i*0.1) == b and (a <= b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
538,093
538,091
u252828980
python
p02755
import math import queue from collections import defaultdict def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChar(): return input() def readChars(): return input().split() def factorization(n): res = [] if n%2==0: res.append(2) for i in range(3,math.floor(n//...
import math import queue from collections import defaultdict def readInt(): return int(input()) def readInts(): return list(map(int, input().split())) def readChar(): return input() def readChars(): return input().split() def factorization(n): res = [] if n%2==0: res.append(2) for i in range(3,math.floor(n//...
[ "expression.operation.binary.remove" ]
538,094
538,095
u509739538
python
p02755
import math a,b = map(int,input().split()) for x in range(0,1000): if math.floor(x*0.08)==a and math.floor(x*0.10)==b: print(x) break else: print(-1)
import math a,b = map(int,input().split()) for x in range(0,2000): if math.floor(x*0.08)==a and math.floor(x*0.10)==b: print(x) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,100
538,101
u742960659
python
p02755
import math a,b = map(int,input().split()) for x in range(1,200): if math.floor(x*0.08)==a and math.floor(x*0.10)==b: print(x) break else: print(-1)
import math a,b = map(int,input().split()) for x in range(0,2000): if math.floor(x*0.08)==a and math.floor(x*0.10)==b: print(x) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
538,102
538,101
u742960659
python
p02755
A,B = map(int,input().split()) i=1 while i<=10000: if (int((i*0.08)==A)) and (int((i*0.1)==B)): print(i) exit() i+=1 print(-1)
A,B = map(int,input().split()) i=1 while i<=10000: if (int(i * 0.08) == A) & (int(i * 0.10) == B): print(i) exit() i+=1 print(-1)
[ "control_flow.branch.if.condition.change", "literal.number.float.change" ]
538,107
538,108
u190873802
python
p02755
A, B = map(int, input().split()) i=1 while i<=10000: if (int(i*0.08==A)) and (int(i*0.1==B)): print(i) exit() i+=1 print(-1)
A,B = map(int,input().split()) i=1 while i<=10000: if (int(i * 0.08) == A) & (int(i * 0.10) == B): print(i) exit() i+=1 print(-1)
[ "control_flow.branch.if.condition.change", "literal.number.float.change" ]
538,109
538,108
u190873802
python
p02755
a,b=[int(x) for x in input().split()] for i in range(111): if int(i*0.08)==a and int(i*0.1)==b: print(i) break else: print(-1)
a,b=[int(x) for x in input().split()] for i in range(10010): if int(i*0.08)==a and int(i*0.1)==b: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,117
538,118
u026788530
python
p02755
a,b = map(int,input().split()) for i in range(1,101): va = int(i * 0.08) vb = int(i * 0.1) if(va == a and vb == b): print(i) exit() print(-1)
a,b = map(int,input().split()) for i in range(1,20001): va = int(i * 0.08) vb = int(i * 0.1) if(va == a and vb == b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,119
538,120
u030726788
python
p02755
a,b = map(int,input().split()) for i in range(1,101): va = int(i * 1.08) vb = int(i * 1.1) if(va == a and vb == b): print(i) exit() print(-1)
a,b = map(int,input().split()) for i in range(1,20001): va = int(i * 0.08) vb = int(i * 0.1) if(va == a and vb == b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "literal.number.float.change", "assignment.value.change", "expression.operation.binary.change" ]
538,121
538,120
u030726788
python
p02755
A,B=map(int,input().split()) Aset=set([int(i) for i in range(1,1010) if int(i*0.08)==A]) Bset=set([int(i) for i in range(1,1010) if int(i*0.1)==B]) if Aset&Bset!={}: print(min(Aset&Bset)) else: print(-1)
A,B=map(int,input().split()) Aset=set([int(i) for i in range(1,1010) if int(i*0.08)==A]) Bset=set([int(i) for i in range(1,1010) if int(i*0.1)==B]) if Aset&Bset : print(min(Aset&Bset)) else: print(-1)
[]
538,122
538,123
u697422981
python
p02755
A,B=map(int,input().split()) for i in range(1,10010): if i*0.08==A and i*0.1==B: print(i) exit() print(-1)
A,B=map(int,input().split()) for i in range(1,10010): if int(i*0.08)==A and int(i*0.1)==B: print(i) exit() print(-1)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
538,133
538,134
u527993431
python
p02755
import math a, b = map(int, input().split()) for i in range(1001): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) else: print(-1)
import math a, b = map(int, input().split()) for i in range(1001): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) exit(0) print(-1)
[ "call.arguments.add" ]
538,139
538,140
u751539777
python
p02755
import math a,b = map(int,input().split()) tax_8 = 0.08 tax_10 = 0.1 li = [99999999999] for i in range(1,101): temp = math.floor(i *tax_8) temp2 = math.floor(i*tax_10) if temp == a and temp2 == b: li.append(i) li.sort() if li[0] == 99999999999: print("-1") else: print(li[0])
import math a,b = map(int,input().split()) tax_8 = 0.08 tax_10 = 0.1 li = [99999999999] for i in range(1,1010): temp = math.floor(i *tax_8) temp2 = math.floor(i*tax_10) if temp == a and temp2 == b: li.append(i) li.sort() if li[0] == 99999999999: print("-1") else: print(li[0])
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,149
538,150
u391675400
python
p02755
import math t8,t10=map(int,input().split(" ")) mint8=t8/0.08 maxt8=(t8+1)/0.08 mint10=t10/0.1 maxt10=(t10+1)/0.1 ans=list(set(range(math.ceil(mint8),int(maxt8)+1)) & set(range(math.ceil(mint10),int(maxt10)+1))) if len(ans)==0: print(-1) else: print(min(ans))
import math t8,t10=map(int,input().split(" ")) mint8=t8/0.08 maxt8=(t8+1)/0.08 mint10=t10/0.1 maxt10=(t10+1)/0.1 ans=list(set(range(math.ceil(mint8),int(maxt8))) & set(range(math.ceil(mint10),int(maxt10)))) if len(ans)==0: print(-1) else: print(min(ans))
[ "expression.operation.binary.remove" ]
538,161
538,162
u924276527
python
p02755
A, B = map(int, input().split()) ans = -1 for i in range(10 ** 3 + 1): if int(i * 0.08) == A and int(i * 0.1) == B: ans = i print(ans)
A, B = map(int, input().split()) ans = -1 for i in range(10 ** 3 + 1): if int(i * 0.08) == A and int(i * 0.1) == B: ans = i break print(ans)
[ "control_flow.break.add" ]
538,163
538,164
u411858517
python
p02755
from math import * A,B=list(map(input().split())) x=ceil(max(A/0.08,B/0.1)) y=min((A+1)/0.08,(B+1)/0.1) if x<y: print(x) else: print(-1)
from math import * A,B=list(map(int, input().split())) x=ceil(max(A/0.08,B/0.1)) y=min((A+1)/0.08,(B+1)/0.1) if x<y: print(x) else: print(-1)
[ "call.arguments.add" ]
538,171
538,172
u999482355
python
p02755
a, b = map(int,input().split()) ans = -1 for i in range(10): num = 10*b + i if a <= num*0.08 <= a+1: ans = num break print(ans)
a, b = map(int,input().split()) ans = -1 for i in range(10): num = 10*b + i if a <= num*0.08 < a+1: ans = num break print(ans)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,175
538,176
u672316981
python
p02755
import math a,b=map(int, input().split()) a_min = math.ceil(a/0.08) a_max = math.ceil((a+1)/0.08)-1 b_min = math.ceil(b/0.1) b_max = math.ceil((b+1)/0.1)-1 if max([a_min,b_min]) >= min([a_max,b_max]): print(-1) else: print(min([a_min,b_min]))
import math a,b=map(int, input().split()) a_min = math.ceil(a/0.08) a_max = math.ceil((a+1)/0.08)-1 b_min = math.ceil(b/0.1) b_max = math.ceil((b+1)/0.1)-1 if max([a_min,b_min]) >= min([a_max,b_max]): print(-1) else: print(max([a_min,b_min]))
[ "misc.opposites", "identifier.change", "call.function.change", "call.arguments.change", "io.output.change" ]
538,185
538,186
u252964975
python
p02755
import math il = input().split() A = int(il[0]) B = int(il[1]) flag = -1 for i in range(10, 1000): if(math.floor(i * 0.08) == A and math.floor(i * 0.1) == B): flag = i break print(flag)
import math il = input().split() A = int(il[0]) B = int(il[1]) flag = -1 for i in range(10, 1000+1): if(math.floor(i * 0.08) == A and math.floor(i * 0.1) == B): flag = i break print(flag)
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
538,210
538,211
u136279532
python
p02755
# input A, B = map(int, input().split()) # check ans = -1 for n in range(100 / 0.1, -1, -1): if int(n * 0.08) == A and int(n * 0.1) == B: ans = n print(ans)
# input A, B = map(int, input().split()) # check ans = -1 for n in range(1000, -1, -1): if int(n * 0.08) == A and int(n * 0.1) == B: ans = n print(ans)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.step.change", "expression.operation.binary.remove" ]
538,212
538,213
u284363684
python
p02755
# input A, B = map(int, input().split()) # check # kimeuchi = max([int(A / 0.08), int(B / 0.1)]) # if int(kimeuchi * 0.08) == A and int(kimeuchi * 0.1) == B: # # print(kimeuchi) # else: # print(-1) ans = -1 for n in range(100 * 0.1, -1 , -1): if int(n * 0.08) == A and int(n * 0.1) == B: ans = n p...
# input A, B = map(int, input().split()) # check ans = -1 for n in range(1000, -1, -1): if int(n * 0.08) == A and int(n * 0.1) == B: ans = n print(ans)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.step.change", "expression.operation.binary.remove" ]
538,214
538,213
u284363684
python
p02755
import sys A,B = map(int, input().split()) for i in range(1,101,1): if int(i*0.08)==A and int(i*0.10)==B: print(i) sys.exit() print(-1)
import sys A,B = map(int, input().split()) for i in range(1,10000,1): if int(i*0.08)==A and int(i*0.10)==B: print(i) sys.exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,215
538,216
u492447501
python
p02755
A, B = map(int, input().split()) for i in range(20000): if int(i*0.08) == A and (i * 0.1) == B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(20000): if int(i*0.08) == A and int(i * 0.1) == B: print(i) exit() print(-1)
[ "call.add", "control_flow.branch.if.condition.change" ]
538,217
538,218
u731368968
python
p02755
def main(): A, B = map(int, input().split()) for i in range(1, 10000): if i * 0.08 == A and i * 0.1 == B: print(i) break else: print(-1) if __name__ == "__main__": main()
def main(): A, B = map(int, input().split()) for i in range(1, 10000): if int(i * 0.08) == A and int(i * 0.1) == B: print(i) break else: print(-1) if __name__ == "__main__": main()
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
538,221
538,222
u411353821
python