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
import math a,b = map(int,input().split()) val1 = math.floor(a / 0.08) val2 = math.floor(b / 0.1) ans = [] for i in range(0, 101): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: ans.append(i) if ans: print(min(ans)) else: print(-1)
import math a,b = map(int,input().split()) val1 = math.floor(a / 0.08) val2 = math.floor(b / 0.1) ans = [] for i in range(0, 1250): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: ans.append(i) if ans: print(min(ans)) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,368
540,369
u476124554
python
p02755
import math A, B = map(int, input().split()) x = (A * 100) // 8 y = (B * 100) // 10 ans = max(x, y) if (ans * 8) // 100 != A or (ans * 10) // 100 != B: ans = -1 print(ans)
import math A, B = map(int, input().split()) x = (A * 100 + 7) // 8 y = (B * 100 + 9) // 10 ans = max(x, y) if (ans * 8) // 100 != A or (ans * 10) // 100 != B: ans = -1 print(ans)
[ "assignment.change" ]
540,372
540,373
u811967730
python
p02755
A,B = map(int,input().split()) Ans = -1 for i in range(1,101): 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,10001): 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" ]
540,374
540,375
u225845681
python
p02755
from math import ceil a,b = map(int,input().split()) ah=(a+1)//0.08 al=ceil(a/0.08) bh=(b+1)//0.1 bl=ceil(b/0.1) if ah < al or bh < bl: ans = -1 else: if (al <= bh and ah >= bl) or (al >= bh and ah <= bl): ans = al else: ans = -1 print(ans)
from math import ceil a,b = map(int,input().split()) ah=(a+1)//0.08 al=ceil(a/0.08) bh=(b+1)//0.1 bl=ceil(b/0.1) if ah < al or bh < bl: ans = -1 else: if (al <= bh and ah >= bl) or (al >= bh and ah <= bl): ans = max(al,bl) else: ans = -1 print(ans)
[ "call.add", "call.arguments.add" ]
540,376
540,377
u559196406
python
p02755
a, b = map(int, input().split()) for i in range(1, 1250): if a == int(i * 0.08) and b == int(i * 0.1): flag = True break if flag: print(i) else: print(-1)
a, b = map(int, input().split()) flag = False for i in range(0, 1300): if a == int(i * 0.08) and b == int(i * 0.1): flag = True break if flag: print(i) else: print(-1) #print(i)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
540,380
540,381
u038408819
python
p02755
a, b = map(int, input().split()) pa = int(a * 100/8) pb = int(b * 100/10) ans1 = None ans2 = None for price in range(pb-1, pa+1): if int(price * 0.08) == a and int(price * 0.1) == b: ans1 = price for price in range(pa-1, pb+1): if int(price * 0.08) == a and int(price * 0.1) == b: ans2 = pric...
a, b = map(int, input().split()) pa = int(a * 100/8) pb = int(b * 100/10) ans1 = None ans2 = None for price in range(pb-1, pa+2): if int(price * 0.08) == a and int(price * 0.1) == b: ans1 = price break for price in range(pa-1, pb+2): if int(price * 0.08) == a and int(price * 0.1) == b: ...
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "control_flow.break.add" ]
540,384
540,383
u952467214
python
p02755
a, b = map(int, input().split()) t = False for i in range(1, 101): if int(i*0.08) == a: if int(i*0.1) == b: t = True break if t == True: print(i) else: print("-1")
a, b = map(int, input().split()) t = False for i in range(1, 2000): if int(i*0.08) == a: if int(i*0.1) == b: t = True break if t == True: print(i) else: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,389
540,390
u995861601
python
p02755
import math def resolve(): a, b = map(int, input().split()) for i in range(1000): t8 = math.floor(i * 0.08) t10 = math.floor(i * 0.1) if t8 == a and t10 == b: print(i) return print(-1) resolve()
import math def resolve(): a, b = map(int, input().split()) for i in range(10000): t8 = math.floor(i * 0.08) t10 = math.floor(i * 0.1) if t8 == a and t10 == b: print(i) return print(-1) resolve()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,395
540,396
u105210954
python
p02755
A, B = map(int, input().split()) def isOK(num): tax8 = num * 8 // 100 tax10 = num * 10 // 100 if tax8 == A and tax10 == B: return True else: return False for i in range(1, 101): if isOK(i): print(i) break else: print(-1)
A, B = map(int, input().split()) def isOK(num): tax8 = num * 8 // 100 tax10 = num * 10 // 100 if tax8 == A and tax10 == B: return True else: return False for i in range(1, 100001): if isOK(i): print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,397
540,398
u707498674
python
p02755
import math A,B=map(int,input().split()) flag=True for i in range(1, 101): if(math.floor(i*0.08) == A and math.floor(i*0.10) == B and flag == True): print(i) flag=False if(flag==True): print(-1)
import math A,B=map(int,input().split()) flag=True for i in range(1, 2000): if(math.floor(i*0.08) == A and math.floor(i*0.10) == B and flag == True): print(i) flag=False if(flag==True): print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,403
540,404
u607444339
python
p02755
import math A,B=map(int,input().split()) flag=True for i in range(101): if(math.floor(i*0.08) == A and math.floor(i*0.10) == B and flag == True): print(i) flag=False if(flag==True): print(-1)
import math A,B=map(int,input().split()) flag=True for i in range(1, 2000): if(math.floor(i*0.08) == A and math.floor(i*0.10) == B and flag == True): print(i) flag=False if(flag==True): print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
540,405
540,404
u607444339
python
p02755
import sys import math MAX_INT = int(10e15) MIN_INT = -MAX_INT mod = 1000000007 sys.setrecursionlimit(1000000) def IL(): return list(map(int,input().split())) def SL(): return input().split() def I(): return int(sys.stdin.readline()) def S(): return input() a,b = IL() ans = 1 while ans < 200: if int(ans*0.08) == a ...
import sys import math MAX_INT = int(10e15) MIN_INT = -MAX_INT mod = 1000000007 sys.setrecursionlimit(1000000) def IL(): return list(map(int,input().split())) def SL(): return input().split() def I(): return int(sys.stdin.readline()) def S(): return input() a,b = IL() ans = 1 while ans < 10000: if int(ans*0.08) == ...
[ "literal.number.integer.change", "control_flow.loop.condition.change" ]
540,408
540,409
u634461820
python
p02755
import math a, b = [int(i) for i in input().split()] # int(0.08x)=a # int(0.1x) = b first = [math.ceil(12.5*a), math.floor(12.5*a+12.5)] second = [10*b, 10*b+10] if second[0] <= first[1] and first[0] <= second[1]: print(max(second[0], first[0])) else: print(-1)
import math a, b = [int(i) for i in input().split()] # int(0.08x)=a # int(0.1x) = b first = [math.ceil(12.5*a), math.floor(12.5*a+12.5)] second = [10*b, 10*b+9] if second[0] < first[1] and first[0] < second[1]: print(max(second[0], first[0])) else: print(-1)
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,410
540,411
u539953365
python
p02755
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) break if i == 100: print(-1)
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) break if i == 10000: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
540,428
540,429
u559200744
python
p02755
import math A, B = map(int, input().split()) ans = -1 for i in range(1, 1000): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: ans = i break print(ans)
import math A, B = map(int, input().split()) ans = -1 for i in range(1, 1001): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,434
540,435
u263226212
python
p02755
a,b = map(int,input().split()) ans = -1 for i in range(1,b): if int(i*1.08) == a and int(i*1.10)==b: ans = i break print(ans)
a,b = map(int,input().split()) ans = -1 for i in range(1,10000): if int(i*0.08) == a and int(i*0.10)==b: ans = i break print(ans)
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "literal.number.float.change", "control_flow.branch.if.condition.change" ]
540,436
540,437
u115110170
python
p02755
import math a,b=map(int,input().split()) for i in range(1000): x=math.floor(i*0.08) y=math.floor(i*0.1) if(x==a and y==b): print(i) exit() print(-1)
import math a,b=map(int,input().split()) for i in range(10000): x=math.floor(i*0.08) y=math.floor(i*0.1) if(x==a and y==b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,442
540,443
u088277062
python
p02755
import math a,b=map(int,input().split()) for i in range(101): x=math.floor(i*0.08) y=math.floor(i*0.1) if(x==a and y==b): print(i) exit() print(-1)
import math a,b=map(int,input().split()) for i in range(10000): x=math.floor(i*0.08) y=math.floor(i*0.1) if(x==a and y==b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,444
540,443
u088277062
python
p02755
A,B=map(int,input().split()) if A%2==0: set1={i for i in range((25*A)//2,(25*A+25)//2)} set2={i for i in range(10*B,10*B+10)} ans=set1.intersection(set2) if len(ans)>0: print(min(ans)) else: print(-1) else: set1={i for i in range((25*A)//2+1,(25*A+25)//2+1)} set2={i for i in ...
A,B=map(int,input().split()) if A%2==0: set1={i for i in range((25*A)//2,(25*A+25)//2+1)} set2={i for i in range(10*B,10*B+10)} ans=set1.intersection(set2) if len(ans)>0: print(min(ans)) else: print(-1) else: set1={i for i in range((25*A)//2+1,(25*A+25)//2)} set2={i for i in ...
[ "expression.operation.binary.remove" ]
540,445
540,446
u488401358
python
p02755
A,B=map(int,input().split()) price = -1 for i in range(int(120)): if int(i*0.08) == A and int(i*0.1)==B: price = i break print(price)
A,B=map(int,input().split()) price = -1 for i in range(int(1500)): if int(i*0.08) == A and int(i*0.1)==B: price = i break print(price)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,447
540,448
u797106134
python
p02755
S = [int(x) for x in input().split()] A = S[0] B = S[1] ans = -1 for i in range(100): num = (i+1) MotoA = int(num * 0.08) MotoB = int(num * 0.1) if MotoA == A and MotoB ==B: ans = num break print(ans)
S = [int(x) for x in input().split()] A = S[0] B = S[1] ans = -1 for i in range(1000): num = (i+1) MotoA = int(num * 0.08) MotoB = int(num * 0.1) if MotoA == A and MotoB ==B: ans = num break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,458
540,459
u638033979
python
p02755
import math a,b = map(int,input().split()) res = -1 for x in range(1, 1251): if math.ceil(x/0.08)==a and math.ceil(x/0.1)==b: res = x break print(res)
import math a,b = map(int,input().split()) res = -1 for x in range(1, 1251): if math.floor(x*0.08)==a and math.floor(x*0.1)==b: res = x break print(res)
[ "misc.opposites", "identifier.change", "control_flow.branch.if.condition.change", "expression.operator.arithmetic.change" ]
540,460
540,461
u672475305
python
p02755
#C import math #入力 A,B=map(int,input().split()) #処理 c=0 d=0 c=max([math.floor(A/0.08),math.floor(B/0.1)]) d=min([math.ceil((A+1)/0.08),math.ceil((B+1)/0.1)]) x=-1 for i in range(c,d+1): if math.floor(i*0.08)==A and math.floor(i*0.1)==B: z=i break print(z)
#C import math #入力 A,B=map(int,input().split()) #処理 c=0 d=0 c=max([math.floor(A/0.08),math.floor(B/0.1)]) d=min([math.ceil((A+1)/0.08),math.ceil((B+1)/0.1)]) z=-1 for i in range(c,d+1): if math.floor(i*0.08)==A and math.floor(i*0.1)==B: z=i break print(z)
[ "assignment.variable.change", "identifier.change" ]
540,462
540,463
u489155878
python
p02755
import math a,b=map(int,input().split()) for x in range(1,101): if math.floor(x*0.08)==a and math.floor(x*0.1)==b: print(x) exit() print(-1)
import math a,b=map(int,input().split()) for x in range(1,1001): if math.floor(x*0.08)==a and math.floor(x*0.1)==b: print(x) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,469
540,470
u625963200
python
p02755
#def main(S, b): if __name__ == '__main__': a, b = map(int, input().split()) ans = -1 for i in range(100): j = i + 1 if (int(j * 0.08) == a and int(j * 0.1) == b): ans = j break print(ans)
#def main(S, b): if __name__ == '__main__': a, b = map(int, input().split()) ans = -1 for i in range(2000): j = i + 1 if (int(j * 0.08) == a and int(j * 0.1) == b): ans = j break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,485
540,486
u442810826
python
p02755
import math a, b = map(int, input().split(' ')) cnt = -1 for i in range(1, 1000): hachi = math.floor(i * 0.08) ju = math.floor(i * 0.1) if hachi == a and ju == b: cnt = i break print(cnt)
import math a, b = map(int, input().split(' ')) cnt = -1 for i in range(1, 1001): hachi = math.floor(i * 0.08) ju = math.floor(i * 0.1) if hachi == a and ju == b: cnt = i break print(cnt)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,492
540,493
u296101474
python
p02755
A,B = map(int, input().split()) ans=-1 for n in range(101): if int(n*0.08)==A and int(n*0.1)==B: ans=n break print(ans)
A,B = map(int, input().split()) ans=-1 for n in range(1251): if int(n*0.08)==A and int(n*0.1)==B: ans=n break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,494
540,495
u233159251
python
p02755
# -*- coding: utf-8 -*- import sys from collections import Counter def input(): return sys.stdin.readline().strip() def list2d(a, b, c): return [[c] * b for i in range(a)] def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)] def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for...
# -*- coding: utf-8 -*- import sys from collections import Counter def input(): return sys.stdin.readline().strip() def list2d(a, b, c): return [[c] * b for i in range(a)] def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)] def list4d(a, b, c, d, e): return [[[[e] * d for j in range(c)] for...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,500
540,501
u588341295
python
p02755
a, b = map(int, input().split()) ans = -1 for i in range(1, 1000): if i * 0.08 // 1 == a and i * 0.1 // 1 == b: ans = i break print(ans)
a, b = map(int, input().split()) ans = -1 for i in range(1, 1100): if i * 0.08 // 1 == a and i * 0.1 // 1 == b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,504
540,505
u929569377
python
p02755
import math A,B = map(int,input().split()) a = math.ceil(A/0.08) b = math.ceil(B/0.1) a2 = math.ceil((A+1)/0.08) b2 = math.ceil((B+1)/0.1) ans = max(a,b) if a > b: if a > b2: ans = -1 else: if b > a2: ans = -1 print(int(ans))
import math A,B = map(int,input().split()) a = math.ceil(A/0.08) b = math.ceil(B/0.1) a2 = math.ceil((A+1)/0.08) b2 = math.ceil((B+1)/0.1) ans = max(a,b) if a > b: if a >= b2: ans = -1 else: if b >= a2: ans = -1 print(int(ans))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,518
540,519
u493555013
python
p02755
import math a, b = map(int, input().split()) MAX = 10001 for i in range(1, MAX): if i * 0.08 == a and math.floor(i * 0.1) == b: print(i) exit() print(-1)
import math a, b = map(int, input().split()) MAX = 1001 for i in range(1, MAX): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "assignment.value.change", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
540,520
540,521
u221580805
python
p02755
a, b = map(int, input().split()) if a % 8 == 0: a_min = int(a * 12.5) else: a_min = int(a * 12.5) + 1 if (a + 1) % 8 == 0: a_max = int((a + 1) * 12.5) - 1 else: a_max = int((a + 1) * 12.5) b_min = b * 10 b_max = (b + 1) * 10 - 1 if a_max < b_min: print("-1") elif a_min <= b_min: print(int(b_m...
a, b = map(int, input().split()) if a % 2 == 0: a_min = int(a * 12.5) else: a_min = int(a * 12.5) + 1 if (a + 1) % 2 == 0: a_max = int((a + 1) * 12.5) - 1 else: a_max = int((a + 1) * 12.5) b_min = b * 10 b_max = (b + 1) * 10 - 1 if a_max < b_min: print("-1") elif a_min <= b_min: print(int(b_...
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
540,524
540,525
u878239774
python
p02755
from math import ceil as c a,b=map(int,input().split()) amin=c(a/0.08) amax=c((a+1)/0.08)-1 bmin=b*10 if amax<bmin: print(-1) elif bmin<amin: print(amin) else: print(bmin)
from math import ceil as c a,b=map(int,input().split()) amin=c(a/0.08) amax=c((a+1)/0.08)-1 bmin=b*10 if amax<bmin or bmin+9<amin: print(-1) elif bmin<amin: print(amin) else: print(bmin)
[ "control_flow.branch.if.condition.change" ]
540,533
540,534
u695625981
python
p02755
A, B = map(int, input().split()) # S * 0.08 = A + a, S * 0.10 = B + b # A < B # A <= S * 0.08 < A+1 B <= S * 0.10 < B+1 def getS(A, B): if A / 0.08 <= B / 0.10: start = int(A / 0.08) end = int((B + 1) // 0.10 + 1) for S in range(start, end): if int(S * 0.08) == A and int(S * 0...
A, B = map(int, input().split()) # S * 0.08 = A + a, S * 0.10 = B + b # A < B # A <= S * 0.08 < A+1 B <= S * 0.10 < B+1 def getS(A, B): if A / 0.08 <= B / 0.10: start = int(A / 0.08) end = int((B + 1) // 0.10 + 1) for S in range(start, end): if int(S * 0.08) == A and int(S * 0...
[ "call.add", "call.arguments.change" ]
540,538
540,539
u959390099
python
p02755
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) break if i == 100: print(-1)
a, b = map(int, input().split()) for i in range(1, 1251): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) break if i == 1250: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
540,540
540,541
u886142147
python
p02755
# coding: utf-8 import math a, b = map(float, input().split()) i = math.floor(a/0.08) while i*0.08 < a+1: #print(i) if math.floor(i*0.1) == b: print(i) break else: i += 1 else: print('-1')
# coding: utf-8 import math a, b = map(float, input().split()) i = math.ceil(a/0.08) while i*0.08 < a+1: #print(i) if math.floor(i*0.1) == b: print(i) break else: i += 1 else: print('-1')
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
540,548
540,549
u665452497
python
p02755
# coding: utf-8 def main(): tax8, tax10 = map(int, input().split()) rate8 = 0.08 rate10 = 0.1 value8 = tax8 / rate8 value10 = tax10 / rate10 price_min = int(min(value8, value10)) price_max = int(max(value8, value10)) #print('price_min, price_max', price_min, price_max) for pric...
# coding: utf-8 def main(): tax8, tax10 = map(int, input().split()) rate8 = 0.08 rate10 = 0.1 value8 = tax8 / rate8 value10 = tax10 / rate10 price_min = int(min(value8, value10)) price_max = int(max(value8, value10)) + 1 # print('price_min, price_max', price_min, price_max) for...
[ "assignment.change" ]
540,552
540,553
u025595730
python
p02755
import math A, B = map(int, input().split()) lsta = list(range(int(12.5*A), math.ceil((A+1)*12.5))) ans = -1 for i in lsta: if int(i*0.1)==B: ans=i break print(ans)
import math A, B = map(int, input().split()) lsta = list(range(math.ceil(12.5*A), math.ceil((A+1)*12.5))) ans = -1 for i in lsta: if int(i*0.1)==B: ans=i break print(ans)
[ "assignment.value.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,562
540,563
u185948224
python
p02755
import math A, B = map(int, input().split()) lsta = list(range(int(12.5*A), math.ceil((A+1)*12.5))) ans = -1 for i in lsta: if int(i*0.1)==B:ans=i break print(ans)
import math A, B = map(int, input().split()) lsta = list(range(math.ceil(12.5*A), math.ceil((A+1)*12.5))) ans = -1 for i in lsta: if int(i*0.1)==B: ans=i break print(ans)
[ "assignment.value.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,564
540,563
u185948224
python
p02755
import math a,b=map(int,input().split()) for i in range(1,102): if i==101: print(-1) elif math.floor(i*0.08)==a and math.floor(i*0.1)==b: print(i) break
import math a,b=map(int,input().split()) for i in range(1,1252): if i==1251: print(-1) elif math.floor(i*0.08)==a and math.floor(i*0.1)==b: print(i) break
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
540,575
540,576
u553070631
python
p02755
A, B = map(int, input().split()) for i in range(1,101): if A == int(i * 0.08) and B == int(i * 0.1): print (i) exit() print (-1)
A, B = map(int, input().split()) for i in range(1,2001): #print (i) if A == int(i * 0.08) and B == int(i * 0.1): print (i) exit() print (-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,585
540,586
u709304134
python
p02755
import numpy as np a, b = list(map(int, input().split())) minXa = int(np.ceil(a / 0.08)) minXb = b * 10 maxXa = int(np.ceil((a+1) / 0.08)) maxXb = (b+1) * 10 ansX = 9999 ansY = 9999 for x in range(minXa, maxXa): if(int(x*0.1) == xb): ansX = x break for y in range(minXb, maxXb): if(int(y*0.08)...
import numpy as np a, b = list(map(int, input().split())) minXa = int(np.ceil(a / 0.08)) minXb = b * 10 maxXa = int(np.ceil((a+1) / 0.08)) maxXb = (b+1) * 10 ansX = 9999 ansY = 9999 for x in range(minXa, maxXa): if(int(x*0.1) == b): ansX = x break for y in range(minXb, maxXb): if(int(y*0.08) ...
[ "identifier.change", "control_flow.branch.if.condition.change" ]
540,597
540,598
u369752439
python
p02755
import math a,b = map(int,input().split()) ans = 10000000000000000000000 inf = 10000000000000000000000 an = [math.floor(a*(100/8)) , math.ceil((a+1)*(100/8))-1] bn = [math.floor(b*(100/10)) , math.ceil((b+1)*(100/10))-1] ax = [] bx = [] for i in range(an[0],an[1]+1): ax.append(i) for i in range(bn[0...
import math a,b = map(int,input().split()) ans = 10000000000000000000000 inf = 10000000000000000000000 an = [math.ceil(a*(100/8)) , math.floor((a+1)*(100/8))-1] bn = [math.ceil(b*(100/10)) , math.floor((b+1)*(100/10))-1] ax = [] bx = [] for i in range(an[0],an[1]+1): ax.append(i) for i in range(bn[0...
[ "misc.opposites", "assignment.value.change", "identifier.change", "expression.operation.binary.change" ]
540,599
540,600
u246217175
python
p02755
from math import floor, ceil a, b = map(int, input().split()) x = floor(a / 0.08) y = floor(b / 0.1) x, y = min(x, y), max(x, y) for i in range(x - 1, y + 1): if floor(i * 0.08) == a and floor(i * 0.1) == b: print(i) break else: print(-1)
from math import floor, ceil a, b = map(int, input().split()) x = ceil(a / 0.08) y = ceil(b / 0.1) x, y = min(x, y), max(x, y) for i in range(x, y + 1): if floor(i * 0.08) == a and floor(i * 0.1) == b: print(i) break else: print(-1)
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.function.change", "expression.operation.binary.remove" ]
540,601
540,602
u940139461
python
p02755
from math import floor a, b = map(int, input().split()) x = floor(a / 0.08) y = floor(b / 0.1) x, y = min(x, y), max(x, y) for i in range(x, y + 1): if floor(i * 0.08) == a and floor(i * 0.1) == b: print(i) break else: print(-1)
from math import floor, ceil a, b = map(int, input().split()) x = ceil(a / 0.08) y = ceil(b / 0.1) x, y = min(x, y), max(x, y) for i in range(x, y + 1): if floor(i * 0.08) == a and floor(i * 0.1) == b: print(i) break else: print(-1)
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.function.change" ]
540,603
540,602
u940139461
python
p02755
a, b = map(int, input().split()) def tax8(p): return (p * 0.08 // 1) def tax10(p): return (p * 0.1 // 1) for p in range(1, 1000): tmp8 = tax8(p) tmp10 = tax10(p) if tmp8 == a and tmp10 == b: print(p) exit(0) print('-1')
a, b = map(int, input().split()) def tax8(p): return (p * 0.08 // 1) def tax10(p): return (p * 0.1 // 1) for p in range(1, 2000): tmp8 = tax8(p) tmp10 = tax10(p) if tmp8 == a and tmp10 == b: print(p) exit(0) print('-1')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,608
540,609
u560464565
python
p02755
def main(): a,b = map(int,input().split()) lst = calc_task(a,b) answer = 0 if len(lst) == 0: answer = -1 else: answer = lst[0] print(answer) def calc_task(a,b): return [n for n in range(1,101) if ((n * 8 // 100)==a and (n * 10 // 100)==b)] if __name__ == '__main__': m...
def main(): a,b = map(int,input().split()) lst = calc_task(a,b) answer = 0 if len(lst) == 0: answer = -1 else: answer = lst[0] print(answer) def calc_task(a,b): return [n for n in range(1,2000) if ((n * 8 // 100)==a and (n * 10 // 100)==b)] if __name__ == '__main__': ...
[ "literal.number.integer.change", "call.arguments.change", "function.return_value.change", "control_flow.loop.range.bounds.upper.change" ]
540,620
540,621
u695079172
python
p02755
a, b = map(int, input().split()) a1 = 0 a2 = 0 if a*100 % 8 == 0: a1 = a/0.08 else: a1 = a//0.08 + 1 a2 = (a+1)//0.08 b1 = b / 0.1 b2 = (b+1) / 0.1 a1 = int(a1) a2 = int(a2) b1 = int(b1) b2 = int(b2) al = [] bl = [] for i in range(a1, a2+1): al.append(i) for i in range(b1, b2+1): bl.append(i) ans...
a, b = map(int, input().split()) a1 = 0 a2 = 0 if a*100 % 8 == 0: a1 = a/0.08 else: a1 = a//0.08 + 1 a2 = (a+1)//0.08 b1 = b / 0.1 b2 = (b+1) / 0.1 a1 = int(a1) a2 = int(a2) b1 = int(b1) b2 = int(b2) al = [] bl = [] for i in range(a1, a2+1): al.append(i) for i in range(b1, b2): bl.append(i) ans =...
[ "expression.operation.binary.remove" ]
540,622
540,623
u793666115
python
p02755
A, B = map(int, input().split(" ")) _min = int(A / 0.10) _max = int(B / 0.08) flg = True for i in range(_min-1, _max+1): if int(i * 0.08) == A and int(i * 0.10) == B: print(i) flg = False break if flg: print(-1)
A, B = map(int, input().split(" ")) _min = int(A / 0.10) _max = int(B / 0.08) flg = True for i in range(_min-3, _max+3): if int(i * 0.08) == A and int(i * 0.10) == B: print(i) flg = False break if flg: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
540,624
540,625
u868767877
python
p02755
import math a, b = map(int, input().split()) ans = -1 for i in range(1, 1000): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: ans = i break print(ans)
import math a, b = map(int, input().split()) ans = -1 for i in range(1001): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
540,635
540,636
u502028059
python
p02755
import math a,b=map(int,input().split()) a_min=math.ceil(a/(0.08)) a_max=(a+1)/(0.08) b_min=math.ceil(b/(0.1)) b_max=(b+1)/(0.1) if a_min>=a_max: print(-1) elif b_min>=b_max: print(-1) else: if a_min<b_min: if b_min<=a_max: print(b_min) else: print(-1) if b_min<a...
import math a,b=map(int,input().split()) a_min=math.ceil(a/(0.08)) a_max=(a+1)/(0.08) b_min=math.ceil(b/(0.1)) b_max=(b+1)/(0.1) if a_min>=a_max: print(-1) elif b_min>=b_max: print(-1) else: if a_min<b_min: if b_min<a_max: print(b_min) else: print(-1) if b_min<a_...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,637
540,638
u998262711
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: print(i) break else: print("-1")
a,b = map(int,input().split()) import math for i in range(1,10000): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) break else: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,639
540,640
u135389999
python
p02755
import math A, B = list(map(int, input().strip().split())) ans = -1 for i in range(1, 101): if(math.floor(i * 0.08) == A and math.floor(i * 0.1) == B): ans = i break print(ans)
import math A, B = list(map(int, input().strip().split())) ans = -1 for i in range(1, 1001): if(math.floor(i * 0.08) == A and math.floor(i * 0.1) == B): ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,654
540,655
u305744669
python
p02755
import sys import math input = sys.stdin.readline a, b = map(int, input().split()) for i in range(1, 101): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: print(i) break else: print(-1)
import sys import math input = sys.stdin.readline a, b = map(int, input().split()) for i in range(1, 2000): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,656
540,657
u102275718
python
p02755
import math A, B = map(int, input().split()) minA = math.floor(A / 0.08) minB = math.floor(B / 0.1) small = min(minA, minB) large = max(minA, minB) #print (minA,minB) for i in range(small, large+1): if (math.floor(i * 0.08) == A and math.floor(i * 0.1) == B): print (i) exit(0) print ("-1")
import math A, B = map(int, input().split()) minA = math.ceil(A / 0.08) minB = math.ceil(B / 0.1) small = min(minA, minB) large = max(minA, minB) #print (minA,minB) for i in range(small, large+1): if (math.floor(i * 0.08) == A and math.floor(i * 0.1) == B): print (i) exit(0) print ("-1")
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
540,666
540,667
u775499932
python
p02755
import math A, B = map(lambda x: int(x), input().split(" ")) result = -1 for i in range(1, 101): if math.floor(i*0.08) == A and math.floor(i*0.1) == B: result = i break print(result)
import math A, B = map(lambda x: int(x), input().split(" ")) # a = A / 0.08 # a = a // 10 # a *= 10 # # result = -1 # for i in range(10): # temp = a + i # if math.floor(temp*0.08) == A and math.floor(temp*0.1) == B: # result = int(temp) # break result = -1 for i in range(1, 1263): if mat...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.add" ]
540,672
540,673
u844426556
python
p02755
import math A,B = map(int,input().split()) a_sita = A/0.08 a_ue = (A+1)/0.08 b_sita = B/0.10 b_ue = (B+1)/0.10 if a_ue < b_sita or b_ue < a_sita: print(-1) else: ans = max(a_sita,b_sita) ans = math.ceil(ans) print(int(ans))
import math A,B = map(int,input().split()) a_sita = A/0.08 a_ue = (A+1)/0.08 b_sita = B/0.10 b_ue = (B+1)/0.10 if a_ue <= b_sita or b_ue <= a_sita: print(-1) else: ans = max(a_sita,b_sita) ans = math.ceil(ans) print(int(ans))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,681
540,682
u674574659
python
p02755
import math a, b = map(int, input().split()) c = 0 for i in range(2000): c += 1 if c == 1000: print(-1) if math.floor(i*0.08)==a and math.floor(i*0.1)==b: print(i) break
import math a, b = map(int, input().split()) c = 0 for i in range(2000): c += 1 if c == 2000: print(-1) if math.floor(i*0.08)==a and math.floor(i*0.1)==b: print(i) break
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
540,683
540,684
u771167374
python
p02755
import math AB = input().split() A = int(AB[0]) B = int(AB[1]) # floor(0.08*x)=A # floor(0.1*x)=B # means # A <= 0.08*x < A+1 # B <= 0.1*x < B+1 # therefore # A/0.08 <= x < (A+1)/0.08 # B/0.1 <= x < (B+1)/0.1 x_lower1 = A/0.08 x_lower2 = B/0.1 x_upper1 = (A+1)/0.08 x_upper2 = (B+1)/0.1 x_lower = max(x_lower1, x_low...
import math AB = input().split() A = int(AB[0]) B = int(AB[1]) # floor(0.08*x)=A # floor(0.1*x)=B # means # A <= 0.08*x < A+1 # B <= 0.1*x < B+1 # therefore # A/0.08 <= x < (A+1)/0.08 # B/0.1 <= x < (B+1)/0.1 x_lower1 = A/0.08 x_lower2 = B/0.1 x_upper1 = (A+1)/0.08 x_upper2 = (B+1)/0.1 x_lower = max(x_lower1, x_low...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "call.add", "call.arguments.change" ]
540,690
540,691
u755167727
python
p02755
import math import sys a, b = map(int,input().split()) # ans1 = math.ceil(a/0.08) # ans2 = math.ceil(b/0.1) # if ans1 == ans2: # print(ans1) # elif ans1 > ans2: for i in range(1000): ans1 = math.floor(i*0.08) ans2 = math.floor(i*0.1) if (ans1 == a) & (ans2 == b): print(i) sys.exit() pr...
import math import sys a, b = map(int,input().split()) # ans1 = math.ceil(a/0.08) # ans2 = math.ceil(b/0.1) # if ans1 == ans2: # print(ans1) # elif ans1 > ans2: for i in range(1001): ans1 = math.floor(i*0.08) ans2 = math.floor(i*0.1) if (ans1 == a) & (ans2 == b): print(i) sys.exit() pr...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,696
540,697
u309834353
python
p02755
A, B = map(int, input().split()) ans = -1 for i in range(int(B / 0.1), int(A / 0.08) + 5): if int(i * 0.08) == A and int(i * 0.1) == B: ans = i break print(ans)
A, B = map(int, input().split()) #print((A + 1) / 0.08) ans = -1 for i in range(int(B / 0.1), int((A + 1) / 0.08)): if int(i * 0.08) == A and int(i * 0.1) == B: ans = i break print(ans)
[ "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.remove" ]
540,698
540,699
u504256702
python
p02755
A, B = map(int, input().split()) def check(X): global A global B return (int)(X*0.08) == A and (int)(X*0.1) == B for x in range(1, max(A, B)*11): if check(x): print(x) exit(0) print(-1)
A, B = map(int, input().split()) def check(X): global A global B return (int)(X*0.08) == A and (int)(X*0.1) == B for x in range(1, max(A, B)*20): if check(x): print(x) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
540,716
540,717
u206133536
python
p02755
A, B = map(int, input().split()) def check(X): global A global B return (int)(X*0.08) == A and (int)(X*0.1) == B for x in range(1, max(A, B)*11): if check(x): print(x) exit(0) print(-1)
A, B = map(int, input().split()) def check(X): global A global B return (int)(X*0.08) == A and (int)(X*0.1) == B for x in range(1, max(A, B)*20): if check(x): print(x) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
540,718
540,717
u206133536
python
p02755
import math A, B = map(int, input().split()) for i in range(1, 101): t = math.floor(i * 0.08) t2 = math.floor(i * 0.1) if t == A and t2 == B: print(i) break else: print(-1)
import math A, B = map(int, input().split()) for i in range(1, 2001): t = math.floor(i * 0.08) t2 = math.floor(i * 0.1) if t == A and t2 == B: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,723
540,724
u483331319
python
p02755
import math a,b = map(int,input().split()) a1 = round(a/0.08) b1 = round(b/0.1) c = min(a1,b1) while True: if math.floor(c*0.08) == a and math.floor(c*0.1) == b: print(c) break elif math.floor(c*0.08) != a and math.floor(c*0.1) != b: print(-1) break else: c+=1
import math a,b = map(int,input().split()) a1 = round(a/0.08) b1 = round(b/0.1) c = min(a1,b1) while True: if math.floor(c*0.08) == a and math.floor(c*0.1) == b: print(c) break elif math.floor(c*0.08) > a and math.floor(c*0.1) > b: print(-1) break else: c+=1
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,731
540,732
u976169012
python
p02755
import math a,b = map(int,input().split()) a1 = int(a/0.08) b1 = int(b/0.1) c = min(a1,b1) while True: if math.floor(c*0.08) == a and math.floor(c*0.1) == b: print(c) break elif math.floor(c*0.08) != a and math.floor(c*0.1) != b: print(-1) break else: c+=1
import math a,b = map(int,input().split()) a1 = round(a/0.08) b1 = round(b/0.1) c = min(a1,b1) while True: if math.floor(c*0.08) == a and math.floor(c*0.1) == b: print(c) break elif math.floor(c*0.08) > a and math.floor(c*0.1) > b: print(-1) break else: c+=1
[ "assignment.value.change", "identifier.change", "call.function.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,733
540,732
u976169012
python
p02755
import math a,b = map(int,input().split()) flag = False for i in range(1,101): ans1 = math.floor(i*0.08) ans2 = math.floor(i*0.1) if ans1==a and ans2==b: ans = i flag = True break if flag == True: print(ans) else: print(-1)
import math a,b = map(int,input().split()) flag = False for i in range(1,10001): ans1 = math.floor(i*0.08) ans2 = math.floor(i*0.1) if ans1==a and ans2==b: ans = i flag = True break if flag == True: print(ans) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,738
540,739
u644360640
python
p02755
#At coder 2020/3/8 C import math I = list(map(int, input().split())) A=I[0] B=I[1] a1=A/0.08 b1=B/0.1 a2=(A+1)/0.08 b2=(B+1)/0.1 af=math.ceil(a1) ac=math.ceil(a2) bf=math.ceil(b1) bc=math.ceil(b2) if ac<bf or bc<af: ans=-1 else: ans=min(af,bf) print(ans)
#At coder 2020/3/8 C import math I = list(map(int, input().split())) A=I[0] B=I[1] a1=A/0.08 b1=B/0.1 a2=(A+1)/0.08 b2=(B+1)/0.1 af=math.ceil(a1) ac=math.ceil(a2) bf=math.ceil(b1) bc=math.ceil(b2) if ac<=bf or bc<=af: ans=-1 else: ans=max(af,bf) #print(af,ac,bf,bc) print(ans)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "misc.opposites", "assignment.value.change", "identifier.change", "call.function.change" ]
540,742
540,743
u781928894
python
p02755
#At coder 2020/3/8 C import math I = list(map(int, input().split())) A=I[0] B=I[1] a1=A/0.08 b1=B/0.1 a2=(A+1)/0.08 b2=(B+1)/0.1 af=math.ceil(a1) ac=math.ceil(a2) bf=math.ceil(b1) bc=math.ceil(b2) if ac<=bf or bc<=af: ans=-1 else: ans=min(af,bf) print(ans)
#At coder 2020/3/8 C import math I = list(map(int, input().split())) A=I[0] B=I[1] a1=A/0.08 b1=B/0.1 a2=(A+1)/0.08 b2=(B+1)/0.1 af=math.ceil(a1) ac=math.ceil(a2) bf=math.ceil(b1) bc=math.ceil(b2) if ac<=bf or bc<=af: ans=-1 else: ans=max(af,bf) #print(af,ac,bf,bc) print(ans)
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.function.change" ]
540,744
540,743
u781928894
python
p02755
a, b = map(int, input().split()) for i in range(101): if int(i*1.08)==i+a and int(i*1.1)==i+b: print(i) exit(0) print(-1)
a, b = map(int, input().split()) for i in range(1010000): if int(i*1.08)==i+a and int(i*1.1)==i+b: print(i) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,763
540,764
u829859091
python
p02755
a, b = map(int, input().split()) ans = 10**9 for i in range(1, 101): if (i*8)//100 == a and (i*10)//100 == b: ans = min(ans, i) if ans == 10**9: print(-1) else: print(ans)
a, b = map(int, input().split()) ans = 10**9 for i in range(1, 1101): if (i*8)//100 == a and (i*10)//100 == b: ans = min(ans, i) if ans == 10**9: print(-1) else: print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,767
540,768
u970002663
python
p02755
A,B = map(int, input().split()) # 5 7 2 ans=-1 for i in range(1,101): a = int(i * 0.08) if A!=a: continue b = int(i * 0.1) if B!=b: continue ans=i break print(ans)
A,B = map(int, input().split()) # 5 7 2 ans=-1 for i in range(1,1001): a = int(i * 0.08) if A!=a: continue b = int(i * 0.1) if B!=b: continue ans=i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,782
540,783
u833492079
python
p02755
a, b = map(int, input().split()) ans = -1 for i in range(120): 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(1010): 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" ]
540,784
540,785
u707808519
python
p02755
a, b = list(map(int, input().split())) ans = -1 for p in range(1000): togo = int(p*0.08) forhere = int(p*0.1) if togo == a and forhere == b: ans = p break print(ans)
a, b = list(map(int, input().split())) ans = -1 for p in range(1001): togo = int(p*0.08) forhere = int(p*0.1) if togo == a and forhere == b: ans = p break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,796
540,797
u917872021
python
p02755
import math a, b = map(int, input().split()) i = -1 atax = -1 btax = -1 while not ((atax == a and btax == b) or (btax > 100)): i += 1 atax = math.floor(i * 0.08) btax = math.floor(i * 0.1) if i > 100: print(-1) else: print(i)
import math a, b = map(int, input().split()) i = -1 atax = -1 btax = -1 while not ((atax == a and btax == b) or (btax > 100)): i += 1 atax = math.floor(i * 0.08) btax = math.floor(i * 0.1) if btax > 100: print(-1) else: print(i)
[ "identifier.change", "control_flow.branch.if.condition.change" ]
540,798
540,799
u641460756
python
p02755
a, b = map(int, input().split()) for x in range(1000): if int(x*0.08) == a and int(x*0.1) == b: print(x) exit() print(-1)
a, b = map(int, input().split()) for x in range(10000): if int(x*0.08) == a and int(x*0.1) == b: print(x) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,802
540,803
u554954744
python
p02755
def input_int(): return map(int, input().split()) def one_int(): return int(input()) def one_str(): return input() def many_int(): return list(map(int, input().split())) A, B = input_int() flg=True for i in range(1, 101): temp_A = int(i*0.08) temp_B = int(i*0.1) if temp_A == A an...
def input_int(): return map(int, input().split()) def one_int(): return int(input()) def one_str(): return input() def many_int(): return list(map(int, input().split())) A, B = input_int() flg=True for i in range(1, 10000): temp_A = int(i*0.08) temp_B = int(i*0.1) if temp_A == A ...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,804
540,805
u688375653
python
p02755
import math A,B=map(int,input().split()) am=math.ceil(A/0.08) bm=math.ceil(B/0.1) aM=math.ceil((A+1)/0.08) bM=math.ceil((B+1)/0.1) if max(am,bm)>min(aM,bM): print(-1) else: print(max(am,bm))
import math A,B=map(int,input().split()) am=math.ceil(A/0.08) bm=math.ceil(B/0.1) aM=math.ceil((A+1)/0.08)-1 bM=math.ceil((B+1)/0.1)-1 if max(am,bm)>min(aM,bM): print(-1) else: print(max(am,bm))
[ "assignment.change" ]
540,808
540,809
u703528810
python
p02755
a,b=map(int,input().split()) mn=max(b*10,a*12.5) if mn==a*12.5 and a%2==1: mn=int(mn)+1 mx=min((b+1)/0.1,(a+1)/0.08) if mn<=mx: print(int(mn)) else: print(-1)
a,b=map(int,input().split()) mn=max(b*10,a*12.5) if mn==a*12.5 and a%2==1: mn=int(mn)+1 mx=min((b+1)/0.1,(a+1)/0.08) if mn<mx: print(int(mn)) else: print(-1)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,814
540,815
u492026192
python
p02755
import math a, b = map(int, input().split()) for i in range(101): 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(10**4+100): 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" ]
540,818
540,819
u558242240
python
p02755
A, B = list(map(int, input().split())) ans = 1 while True: if ans == 801: ans = -1 break if int(ans * 0.08) == A and int(ans * 0.1) == B: break ans += 1 print(ans)
A, B = list(map(int, input().split())) ans = 1 while True: if ans == 1010: ans = -1 break if int(ans * 0.08) == A and int(ans * 0.1) == B: break ans += 1 print(ans)
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
540,820
540,821
u418527037
python
p02755
import math A,B = map(int,input().split()) A_range = [math.ceil(100*A/8),100*(A+1)//8] B_range = [10*B,10*(B+1)] if(min(A_range[1],B_range[1])<max(A_range[0],B_range[0])): print("-1") else: print(max(A_range[0],B_range[0]))
import math A,B = map(int,input().split()) A_range = [math.ceil(100*A/8),100*(A+1)//8] B_range = [10*B,10*(B+1)] if(min(A_range[1],B_range[1])<=max(A_range[0],B_range[0])): print("-1") else: print(max(A_range[0],B_range[0]))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
540,822
540,823
u557282438
python
p02755
A,B=map(int,input().split()) vA=[] vB=[] for i in range(101): if int(i*0.08) == A: vA.append(i) if int(i*0.1) == B: vB.append(i) ans=10000 for i in vA: if i in vB:ans=min(ans,i) for i in vB: if i in vA:ans=min(ans,i) if ans==10000: ans=-1 print(ans)
A,B=map(int,input().split()) vA=[] vB=[] for i in range(10001): if int(i*0.08) == A: vA.append(i) if int(i*0.1) == B: vB.append(i) ans=10000 for i in vA: if i in vB:ans=min(ans,i) for i in vB: if i in vA:ans=min(ans,i) if ans==10000: ans=-1 print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,834
540,835
u589381719
python
p02755
A, B = map(int, input().split()) ans = -1 for i in range(1251): 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(1251): if int(i * 0.08) == A and int(i * 0.1) == B: ans = i break print(ans)
[ "expression.operator.arithmetic.change", "control_flow.branch.if.condition.change" ]
540,842
540,843
u092646083
python
p02755
#!/usr/bin/env python3 import sys import math def solve(A: int, B: int): # INF = 1001001 ans = 1 for _ in range(101): e = math.floor(ans * 0.08) t = math.floor(ans * 0.1) if e == A and t == B: print(ans) return ans += 1 print(-1) return # G...
#!/usr/bin/env python3 import sys import math def solve(A: int, B: int): # INF = 1001001 ans = 1 for _ in range(1100): e = math.floor(ans * 0.08) t = math.floor(ans * 0.1) if e == A and t == B: print(ans) return ans += 1 print(-1) return # ...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,848
540,849
u928254435
python
p02755
def main(): a,b=map(int,input().split()) for i in range(1,130): if int(i*0.08)==a: if int(i*0.1)==b: print(i) return print( -1) main()
def main(): a,b=map(int,input().split()) for i in range(1,1020): if int(i*0.08)==a: if int(i*0.1)==b: print(i) return print( -1) main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,858
540,859
u393253137
python
p02755
A, B = map(int, input().split()) ans = [] for i in range(100, 0, -1): if int(i * 0.08) == A and int(i * 0.1) == B: ans.append(i) if len(ans) > 0: print(min(ans)) else: print(-1)
A, B = map(int, input().split()) ans = [] for i in range(2000, 0, -1): if int(i * 0.08) == A and int(i * 0.1) == B: ans.append(i) if len(ans) > 0: print(min(ans)) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
540,882
540,881
u133566678
python
p02755
import math A,B=map(int,input().split()) a1 = math.ceil( A /0.08 ) a2 = math.ceil( (A+1) /0.08 ) b1 = math.ceil( B /0.1 ) b2 = math.ceil( (B+1) /0.1 ) ans = max(a1,b1) if ans >= a1 and ans <= a2 and ans >= b1 and ans <= b2: print(ans) else: print(-1)
import math A,B=map(int,input().split()) a1 = math.ceil( A /0.08 ) a2 = math.ceil( (A+1) /0.08 )-1 b1 = math.ceil( B /0.1 ) b2 = math.ceil( (B+1) /0.1 )-1 ans = max(a1,b1) if ans >= a1 and ans <= a2 and ans >= b1 and ans <= b2: print(ans) else: print(-1)
[ "assignment.change" ]
540,893
540,894
u329407311
python
p02755
import sys input = sys.stdin.readline A, B = map(int, input().split()) xmin = 1 while xmin < 100*A: if int(0.08*xmin) == A and int(0.1*xmin) == B : print(int(xmin)) exit() elif int(0.08*xmin) < A or int(0.1*xmin) < B : xmin += 1 else : print(-1) exit()
import sys input = sys.stdin.readline A, B = map(int, input().split()) xmin = 1 while xmin : if int(0.08*xmin) == A and int(0.1*xmin) == B : print(int(xmin)) exit() elif int(0.08*xmin) < A or int(0.1*xmin) < B : xmin += 1 else : print(-1) exit()
[]
540,920
540,919
u721970149
python
p02755
A, B = map(int, input().split()) ans = -1 for i in range(1, 101): if int(i* 0.08) == A: if int(i * 0.1) == B: ans = i break print(ans)
A, B = map(int, input().split()) ans = -1 for i in range(1, 10100): if int(i * 0.08) == A: if int(i * 0.1) == B: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,923
540,924
u470560351
python
p02755
def solve(): a, b = [int(i) for i in input().split()] for i in range(200): if int(i * 0.08) == a and int(i * 0.10) == b: print(i) return print(-1) return if __name__ == "__main__": solve()
def solve(): a, b = [int(i) for i in input().split()] for i in range(10**6): if int(i * 0.08) == a and int(i * 0.10) == b: print(i) return print(-1) return if __name__ == "__main__": solve()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,925
540,926
u646818123
python
p02755
import math a, b = map(int, input().split()) x = -1 for i in range(1, 101): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: x = i break print(x)
import math a, b = map(int, input().split()) x = -1 for i in range(0, 10000): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: x = i break print(x)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
540,929
540,930
u594518120
python
p02755
import math import sys x,y= map(int,input().split()) for i in range(1000): if math.floor(i *0.08) == x and math.floor(i *0.10) == y: print(i) sys.exit() print(-1)
import math import sys x,y= map(int,input().split()) for i in range(1001): if math.floor(i *0.08) == x and math.floor(i *0.10) == y: print(i) sys.exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,937
540,938
u487594898
python
p02755
A, B = map(int, input().split()) for n in range(1, 101): if int(n*0.08) == A and int(n*0.10) == B: print(n) break else: print('-1')
A, B = map(int, input().split()) for n in range(1, 1001): if int(n*0.08) == A and int(n*0.10) == B: print(n) break else: print('-1')
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,939
540,940
u905743924
python
p02755
A,B = map(int,input().split()) import math a,b = math.ceil(A/0.08),int((A+1)//0.08) c,d = math.ceil(A/0.1),int((A+1)//0.1) if (a>=c)and(a<d): print(int(a)) elif (c>=a)and(c<b): print(int(c)) else: print(-1)
A,B = map(int,input().split()) import math a,b = math.ceil(A/0.08),int((A+1)//0.08) c,d = math.ceil(B/0.1),int((B+1)//0.1) if (a>=c)and(a<d): print(int(a)) elif (c>=a)and(c<b): print(int(c)) else: print(-1)
[ "assignment.value.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change" ]
540,944
540,945
u268554510
python
p02755
# import numpy as np # import math # import copy # from collections import deque import sys input = sys.stdin.readline # sys.setrecursionlimit(10000) def main(): A,B = map(int,input().split()) res = -1 for i in range(1,101): price8 = int(i*0.08) price10 = int(i*0.1) if (price8 ==...
# import numpy as np # import math # import copy # from collections import deque import sys input = sys.stdin.readline # sys.setrecursionlimit(10000) def main(): A,B = map(int,input().split()) res = -1 for i in range(1,1251): price8 = int(i*0.08) price10 = int(i*0.1) if (price8 =...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,952
540,953
u469254913
python
p02755
import math A,B = map(int, input().split()) ans = -1 for i in range(0,1000): if(math.floor(i*0.08) == A and math.floor(i*0.10) == B): ans = i break print(ans)
import math A,B = map(int, input().split()) ans = -1 for i in range(0,1001): if(math.floor(i*0.08) == A and math.floor(i*0.10) == B): ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,960
540,961
u845148770
python
p02755
import math A, B = map(int, input().split()) for i in range(1, 101): 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(1, 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" ]
540,962
540,963
u318029285
python
p02755
# -*- coding: utf-8 -*- ############# # Libraries # ############# import math from functools import lru_cache ############# # Constants # ############# MOD = 10**9 +7 INF = float('inf') ############# # Functions # ############# kaijo_memo = [] def kaijo(n): if(len(kaijo_memo) > n): return kaijo_memo[n] if...
# -*- coding: utf-8 -*- ############# # Libraries # ############# import math from functools import lru_cache ############# # Constants # ############# MOD = 10**9 +7 INF = float('inf') ############# # Functions # ############# kaijo_memo = [] def kaijo(n): if(len(kaijo_memo) > n): return kaijo_memo[n] if...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,967
540,968
u493130708
python
p02755
import math from collections import deque def main(): a,b = tuple([int(t)for t in input().split()]) for i in range(1,100): a_tax = i * 108//100 b_tax = i * 110/100 if a == a_tax and b == b_tax: print(i) return print(-1) if __name__ == "__main__": main(...
import math from collections import deque def main(): a,b = tuple([int(t)for t in input().split()]) for i in range(1,100000): a_tax = i *8 //100 b_tax = i * 10//100 if a == a_tax and b == b_tax: print(i) return print(-1) if __name__ == "__main__": main...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "assignment.value.change", "expression.operation.binary.change" ]
540,975
540,976
u711238850
python