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()) if a/0.08 == a//0.08: emin = a//0.08 else: emin = a//0.08+1 if (a+1)/0.08 == (a+1)//0.08: emax = (a+1)//0.08-1 else: emax = (a+1)//0.08 tmin = b/0.1 tmax = (b+1)/0.1-1 if tmax > emax: if tmin <= emax: print(int(tmin)) else: print(-1) else: if em...
a,b = map(int,input().split()) if a/0.08 == a//0.08: emin = a//0.08 else: emin = a//0.08+1 if (a+1)/0.08 == (a+1)//0.08: emax = (a+1)//0.08-1 else: emax = (a+1)//0.08 tmin = b/0.1 tmax = (b+1)/0.1-1 if tmax >= emax: if tmin <= emax: print(int(tmin)) else: print(-1) else: if e...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,225
538,226
u493318999
python
p02755
a,b = map(int,input().split()) n = 1 while n <= 1000: if a <= n*0.08 < a+1 and b <= n*0.1 < b +1: print(n) break n += 1 if n == 1000: print(-1) break
a,b = map(int,input().split()) n = 1 while n <= 1000: if a <= n*0.08 < a+1 and b <= n*0.1 < b +1: print(n) break n += 1 if n == 1001: print(-1) break
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
538,227
538,228
u227085629
python
p02755
import sys a, b = map(int, sys.stdin.readline().split()) i = 0 res = -1 while i <= 1000: if int(i*0.08) == int(i*0.1): res = i break i += 1 print(res)
import sys a, b = map(int, sys.stdin.readline().split()) i = 0 res = -1 while i <= 1000: if int(i*0.08) == a and int(i*0.1) == b: res = i break i += 1 print(res)
[ "control_flow.branch.if.condition.change" ]
538,229
538,230
u823885866
python
p02755
import sys input = sys.stdin.readline def main(): A, B = map(int, input().split()) ans = 10001 for x in range(1, 10001): if 0 <= 8*x - 100*A <= 100 and 0 <= 10*x - 100*B <= 100: ans = min(ans, x) if ans == 10001:ans = -1 print(ans) if __name__ == "__main__": main()
import sys input = sys.stdin.readline def main(): A, B = map(int, input().split()) ans = 10001 for x in range(1, 10001): if 0 <= 8*x - 100*A < 100 and 0 <= 10*x - 100*B < 100: ans = min(ans, x) if ans == 10001:ans = -1 print(ans) if __name__ == "__main__": main()
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,233
538,234
u004423772
python
p02755
import sys input = sys.stdin.readline import math A, B = map(int, input().split(' ')) A_list = [i/10+A for i in range(0, 10)] B_list = [i/10+B for i in range(0, 10)] x, y = 0, 0 a_set = set() b_set = set() for a in A_list: a_set.add(math.floor(a/0.08)) for b in B_list: b_set.add(math.floor(b/0.1)) ans_list = l...
import sys input = sys.stdin.readline import math A, B = map(int, input().split(' ')) A_list = [i/10+A for i in range(0, 10)] B_list = [i/10+B for i in range(0, 10)] x, y = 0, 0 a_set = set() b_set = set() for a in A_list: a_set.add(math.ceil(a/0.08)) for b in B_list: b_set.add(math.ceil(b/0.1)) ans_list = lis...
[ "misc.opposites", "identifier.change", "call.arguments.change" ]
538,235
538,236
u004423772
python
p02755
a,b=map(int,input().split()) ans=-1 for k in range(1000): if int(k*0.08)==a and int(k*0.1)==b: ans=k break else: continue print(ans)
a,b=map(int,input().split()) ans=-1 for k in range(1001): if int(k*0.08)==a and int(k*0.1)==b: ans=k break else: continue print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,237
538,238
u576335153
python
p02755
import sys import math # input処理を高速化する input = sys.stdin.readline A,B = map(int,input().split()) Moneys = range(1,1000) #消費税が入力と一致したインデックス a_index=set() b_index=set() for i in Moneys: if math.floor(i*0.08) == A: a_index.add(i) for j in Moneys: if math.floor(j*0.1) == B: b_index.add(j) Tax ...
import sys import math # input処理を高速化する input = sys.stdin.readline A,B = map(int,input().split()) Moneys = range(1,1001) #消費税が入力と一致したインデックス a_index=set() b_index=set() for i in Moneys: if math.floor(i*0.08) == A: a_index.add(i) for j in Moneys: if math.floor(j*0.1) == B: b_index.add(j) Tax ...
[ "literal.number.integer.change", "assignment.value.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,239
538,240
u485319545
python
p02755
import sys import math # input処理を高速化する input = sys.stdin.readline A,B = map(int,input().split()) Moneys = range(1,1001) #消費税が入力と一致したインデックス a_index=set() b_index=set() for i in Moneys: if math.floor(i*0.08) == A: a_index.add(i) for j in Moneys: if math.floor(j*0.1) == B: b_index.add(j) Tax ...
import sys import math # input処理を高速化する input = sys.stdin.readline A,B = map(int,input().split()) Moneys = range(1,1001) #消費税が入力と一致したインデックス a_index=set() b_index=set() for i in Moneys: if math.floor(i*0.08) == A: a_index.add(i) for j in Moneys: if math.floor(j*0.1) == B: b_index.add(j) Tax ...
[ "call.arguments.add", "call.arguments.change", "io.output.change" ]
538,241
538,240
u485319545
python
p02755
a,b = map(int,input().split()) for i in range(101): if i * 108 // 100 == a and i * 110 // 100 == b: print(i) break else: print(-1)
a,b = map(int,input().split()) for i in range(10100): if i * 8 // 100 == a and i * 10 // 100 == b: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
538,248
538,249
u743272507
python
p02755
A,B = map(int,input().split()) q = 0 for i in range(math.ceil(12.5*A),int(12.5*(A+1))): if 10*B <= i < 10*(B+1): q = i break if q != 0: print(i) else: print(-1)
A,B = map(int,input().split()) import math q = 0 for i in range(math.ceil(12.5*A),int(12.5*(A+1))): if 10*B <= i < 10*(B+1): q = i break if q != 0: print(i) else: print(-1)
[]
538,258
538,259
u342563578
python
p02755
from sys import stdin import sys import math A, B = list(map(int, stdin.readline().rstrip().split())) #x * 8 / 100 = A #x * 10 / 100 = B #xA = A * 100 / 8 #xB = B * 100 / 10 def tax(x,ratio): return math.floor(x * ratio / 100) xA = int(A * 100 / 8) xB = int(B * 100 / 10) for i in range(max(0, xB-1), xA+2): ...
from sys import stdin import sys import math A, B = list(map(int, stdin.readline().rstrip().split())) #x * 8 / 100 = A #x * 10 / 100 = B #xA = A * 100 / 8 #xB = B * 100 / 10 def tax(x,ratio): return math.floor(x * ratio / 100) xA = int(A * 100 / 8) xB = int(B * 100 / 10) for i in range(max(0, xB-1), xA+1000...
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
538,260
538,261
u832399163
python
p02755
from sys import stdin import sys import math A, B = list(map(int, stdin.readline().rstrip().split())) #x * 8 / 100 = A #x * 10 / 100 = B #xA = A * 100 / 8 #xB = B * 100 / 10 def tax(x,ratio): return math.floor(x * ratio / 100) xA = int(A * 100 / 8) xB = int(B * 100 / 10) for i in range(xB-1, xA+1): tax_...
from sys import stdin import sys import math A, B = list(map(int, stdin.readline().rstrip().split())) #x * 8 / 100 = A #x * 10 / 100 = B #xA = A * 100 / 8 #xB = B * 100 / 10 def tax(x,ratio): return math.floor(x * ratio / 100) xA = int(A * 100 / 8) xB = int(B * 100 / 10) for i in range(max(0, xB-1), xA+1000...
[ "call.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "literal.number.integer.change", "expression.operation.binary.change" ]
538,262
538,261
u832399163
python
p02755
a,b=list(map(int,input().split())) min_a=a*12.5 min_b=b*10 if min_b-min_a<12.5 and min_a<min_b: print(str(min_b)) elif min_a-min_b<=10 and min_b<=min_a: if a%2==1: print(str(int(min_a)+1)) else: print(str(int(min_a))) else: print(str(-1))
a,b=list(map(int,input().split())) min_a=a*12.5 min_b=b*10 if min_b-min_a<12.5 and min_a<=min_b: print(str(min_b)) elif min_a-min_b<10 and min_b<=min_a: if a%2==1: print(str(int(min_a)+1)) else: print(str(int(min_a))) else: print(str(-1))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,263
538,264
u460229551
python
p02755
A, B = map(int, input().split()) X=[] for i in range(1011): if A+1>=0.08*i>=A and B+1>=0.1*i>=B: X.append(i) if len(X)==0: print(-1) else: print(min(X))
A, B = map(int, input().split()) X=[] for i in range(1100): if A+1>0.08*i>=A and B+1>0.1*i>=B: X.append(i) if len(X)==0: print(-1) else: print(min(X))
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,267
538,268
u886459614
python
p02755
a,b = map(int, input().split()) import math x = set(range(math.ceil(a/0.08), math.floor((a+1)/0.08)+1)) y = set(range(math.ceil(b/0.1), math.floor((b+1)/0.1)+1)) z = x.intersection(y) print(min(z)) if z else print(-1)
a,b = map(int, input().split()) import math x = set(range(math.ceil(a/0.08), math.floor((a+0.99)/0.08)+1)) y = set(range(math.ceil(b/0.1), math.floor((b+0.99)/0.1)+1)) z = x.intersection(y) print(min(z)) if z else print(-1)
[ "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
538,269
538,270
u430223993
python
p02755
# -*- coding: utf-8 -*- def main(): A, B = [int(i) for i in input().split()] A_o = int(A*100/8) B_o = B*10 if A_o == B_o: print(B*10) elif A_o > B_o: for i in range(B_o,(B+1)*10): if (i * 0.08) == A: print(i) return else: ...
# -*- coding: utf-8 -*- def main(): A, B = [int(i) for i in input().split()] A_o = int(A*100/8) B_o = B*10 if A_o == B_o: print(B*10) elif A_o > B_o: for i in range(B_o,(B+1)*10): if int(i * 0.08) == A: print(i) return else: ...
[ "call.add", "control_flow.branch.if.condition.change" ]
538,273
538,274
u669812251
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) exit() print(-1)
a,b = map(int,input().split()) for i in range(1,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" ]
538,275
538,276
u190405389
python
p02755
import math a, b = map(int, input().split()) min_a = math.ceil(a / 0.08) max_a = math.ceil((a+1) / 0.08) max_b = math.ceil((b+1) / 0.1) min_b = math.ceil(b / 0.1) a_range = set(list(range(min_a, max_a + 1))) b_range = set(list(range(min_b, max_b + 1))) t = a_range & b_range if len(t) > 0: print(min(list(t))) els...
import math a, b = map(int, input().split()) min_a = math.ceil(a / 0.08) max_a = math.ceil((a+1) / 0.08) max_b = math.ceil((b+1) / 0.1) min_b = math.ceil(b / 0.1) a_range = set(list(range(min_a, max_a))) b_range = set(list(range(min_b, max_b))) t = a_range & b_range if len(t) > 0: print(min(list(t))) else: p...
[ "expression.operation.binary.remove" ]
538,277
538,278
u091051505
python
p02755
A, B = list(map(int, input())) x = -1 for i in range(10100): if (int(i*0.08) == A) and (int(i*0.1) == B): x = i break print(x)
A, B = list(map(int, input().split())) x = -1 for i in range(10100): if (int(i*0.08) == A) and (int(i*0.1) == B): x = i break print(x)
[ "call.add" ]
538,281
538,282
u538808095
python
p02755
import math a, b = map(int, input().split()) min_a = math.ceil(a/0.08) max_a = math.floor((a+1)/0.08) min_b = math.ceil(b/0.1) max_b = math.floor((b+1)/0.1) if max_a < min_b or max_b < min_a: print(-1) else: print(max([min_a, min_b]))
import math a, b = map(int, input().split()) min_a = math.ceil(a/0.08) max_a = math.floor((a+1)/0.08) min_b = math.ceil(b/0.1) max_b = math.floor((b+1)/0.1) if max_a <= min_b or max_b <= min_a: print(-1) else: print(max([min_a, min_b]))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,299
538,300
u086438369
python
p02755
import math flag = 0 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 elif i*0.08 > a and i*0.1 > b: print(-1) break
import math flag = 0 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 elif i*0.08 > a and i*0.1 > b: print(-1) break
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
538,301
538,302
u453306058
python
p02755
a,b = map(int, input().split()) cnt=0 ans=0 for x in range(1,101): if 8*x//100==a and x//10==b: cnt += 1 ans=x break if cnt>0: print(ans) else: print(-1)
a,b = map(int, input().split()) cnt=0 ans=0 for x in range(1,1010): if 8*x//100==a and x//10==b: cnt += 1 ans=x break if cnt>0: print(ans) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,313
538,314
u681323954
python
p02755
A,B=[int(s) for s in input().split()] for i in range(1,101): a=int(i*0.08) b=int(i*0.1) if a==A and b==B: print(i) break else: print(-1)
A,B=[int(s) for s in input().split()] for i in range(1,1001): a=int(i*0.08) b=int(i*0.1) if a==A and b==B: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,317
538,318
u918601425
python
p02755
A,B=[int(s) for s in input().split()] for i in range(101): a=int(i*0.08) b=int(i*0.1) if a==A and b==B: print(i) break else: print(-1)
A,B=[int(s) for s in input().split()] for i in range(1,1001): a=int(i*0.08) b=int(i*0.1) if a==A and b==B: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
538,319
538,318
u918601425
python
p02755
# A: 0.08 tax, B: 0.10 tax A, B = list(map(int, input().split())) # find candidate prices candidate_prices = [(B*10) + i for i in range(0 , 6)] # find minimum possible price min_price = -1 for p in candidate_prices: if int(p*(0.08)) == A: min_price = p break print(min_price)
# A: 0.08 tax, B: 0.10 tax A, B = list(map(int, input().split())) # find candidate prices candidate_prices = [(B * 10) + i for i in range(0, 9)] # find minimum possible price min_price = -1 for p in candidate_prices: if int(p * (0.08)) == A: min_price = p break print(min_price)
[ "literal.number.integer.change", "assignment.value.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,320
538,321
u647679586
python
p02755
a, b, = map(int, input().split()) for i in range(1, 1000): price_a = 0.08 * i price_b = 0.1 * i if int(price_a) == a and int(price_b) == b: print(i) exit() print(-1)
a, b, = map(int, input().split()) for i in range(1, 2000): price_a = 0.08 * i price_b = 0.1 * i if int(price_a) == a and int(price_b) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,328
538,329
u624613992
python
p02755
import math A,B=map(int, input().split()) flag=False for i in range(1000): A_X=math.floor(i*0.08) if(A_X==A): B_X=math.floor(i*0.10) if(B_X==B): print(i) flag=True break if(flag==False): print(-1)
import math A,B=map(int, input().split()) flag=False for i in range(1250): A_X=math.floor(i*0.08) if(A_X==A): B_X=math.floor(i*0.10) if(B_X==B): print(i) flag=True break if(flag==False): print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,330
538,331
u051218477
python
p02755
a, b = map(int, input().split()) x1 = a / 0.08 x2 = b / 0.10 for x in range(int(min(x1, x2))-1, int(max(x1, x2))+1): if int(x*0.08) == a and int(x*0.10) == b: print(x) exit() print(-1)
a, b = map(int, input().split()) x1 = a / 0.08 x2 = b / 0.10 for x in range(int(min(x1, x2))-10, int(max(x1, x2))+10): if int(x*0.08) == a and int(x*0.10) == b: print(x) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
538,334
538,335
u263660661
python
p02755
a ,b = map(int, input().split()) for i in range(int(b/0.1), int((b+1)/0.1) + 1): if int(i*0.08) == a: print(i) break else: print(-1)
a ,b = map(int, input().split()) for i in range(int(b/0.1), int((b+1)/0.1)): if int(i*0.08) == a: print(i) break else: print(-1)
[ "expression.operation.binary.remove" ]
538,336
538,337
u443872523
python
p02755
a ,b = map(int, input().split()) for i in range(int(b/0.1)-1, int((b+1)/0.1) + 1): if int(i*0.08) == a: print(i) break else: print(-1)
a ,b = map(int, input().split()) for i in range(int(b/0.1), int((b+1)/0.1)): if int(i*0.08) == a: print(i) break else: print(-1)
[ "expression.operation.binary.remove" ]
538,338
538,337
u443872523
python
p02755
a,b =map(int,input().split()) for i in range(1009): if int (i*0.08)==a and int(i*0.1)==1: print(i) exit() print(-1)
a,b =map(int,input().split()) for i in range(1009): if int (i*0.08)==a and int(i*0.1)==b: print(i) exit() print(-1)
[ "identifier.replace.add", "literal.replace.remove", "control_flow.branch.if.condition.change" ]
538,340
538,341
u063073794
python
p02755
import math A,B=map(int,input().split()) Amin=A/0.08 Amax=(A+1)/0.08 Bmin=B/0.1 Bmax=(B+1)/0.1 if Amax<Bmin or Bmax<Amin: print(-1) else: a=math.ceil(Amin) b=math.ceil(Bmin) if a<=Bmax or b<=Amax: print(max(a,b)) else: print(-1)
import math A,B=map(int,input().split()) Amin=A/0.08 Amax=(A+1)/0.08 Bmin=B/0.1 Bmax=(B+1)/0.1 if Amax<=Bmin or Bmax<=Amin: print(-1) else: a=math.ceil(Amin) b=math.ceil(Bmin) if a<Bmax or b<Amax: print(max(a,b)) else: print(-1)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,342
538,343
u798093965
python
p02755
from sys import stdin import math if __name__ == "__main__": _in = [_.rstrip() for _ in stdin.readlines()] A, B = list(map(int,_in[0].split(' '))) # type:list(int) # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv if B/0.1<A/0.08: cnt = -1 if (B+1)/0.1<A/0.08 else math.ceil(A/0.08) els...
from sys import stdin import math if __name__ == "__main__": _in = [_.rstrip() for _ in stdin.readlines()] A, B = list(map(int,_in[0].split(' '))) # type:list(int) # vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv if B/0.1<A/0.08: cnt = -1 if (B+1)/0.1<=A/0.08 else math.ceil(A/0.08) el...
[ "expression.operator.compare.change", "assignment.value.change" ]
538,349
538,350
u503227287
python
p02755
import math a,b = map(int,input().split()) for bb in range(b*10,(b+1)*10+2,1): if bb == (b+1)*10+1: print(-1) break elif a*12.5 <= bb and bb < (a+1)*12.5: print(bb) break
import math a,b = map(int,input().split()) for bb in range(b*10,(b+1)*10+1,1): if bb == (b+1)*10: print(-1) break elif a*12.5 <= bb and bb < (a+1)*12.5: print(bb) break
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.step.change", "control_flow.loop.for.condition.change", "expression.operation.binary.remove" ]
538,351
538,352
u872704421
python
p02755
import math a,b = map(int,input().split()) for bb in range(b*10,(b+1)*10+2,1): if bb == (b+1)*10+1: print(-1) break elif a*12.5 <= bb and bb <= (a+1)*12.5: print(bb) break
import math a,b = map(int,input().split()) for bb in range(b*10,(b+1)*10+1,1): if bb == (b+1)*10: print(-1) break elif a*12.5 <= bb and bb < (a+1)*12.5: print(bb) break
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.step.change", "control_flow.loop.for.condition.change", "expression.operation.binary.remove", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ...
538,353
538,352
u872704421
python
p02755
import math a,b = map(int,input().split()) for bb in range(b*10,(b+1)*10+2,1): if bb == (b+1)*10+1: print(-1) elif a*12.5 <= bb and bb <= (a+1)*12.5: print(bb) break
import math a,b = map(int,input().split()) for bb in range(b*10,(b+1)*10+1,1): if bb == (b+1)*10: print(-1) break elif a*12.5 <= bb and bb < (a+1)*12.5: print(bb) break
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.step.change", "control_flow.loop.for.condition.change", "expression.operation.binary.remove", "control_flow.break.add", "expression.operator.compare.change", "control_flow....
538,354
538,352
u872704421
python
p02755
from math import floor def Main(A, B): for i in range(1, 101): if floor(i*0.08) == A and floor(i*0.1) == B: return i return -1 def main(): A, B = map(int, input().split()) print(Main(A, B)) if __name__ == '__main__': main()
from math import floor def Main(A, B): for i in range(1, 1001): if floor(i*0.08) == A and floor(i*0.1) == B: return i return -1 def main(): A, B = map(int, input().split()) print(Main(A, B)) if __name__ == '__main__': main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,372
538,373
u132687480
python
p02755
a, b = input().split(); a = int(a); b = int(b); for x in range(1,101): tax_8 = int(x * 0.08); tax_10= int(x * 0.1); if tax_8 == a and tax_10 == b: ans = x; break; elif x == 100: ans = -1; else: pass; print(ans);
a, b = input().split(); a = int(a); b = int(b); for x in range(1,1001): tax_8 = int(x * 0.08); tax_10= int(x * 0.1); if tax_8 == a and tax_10 == b: ans = x; break; elif x == 100: ans = -1; else: pass; print(ans);
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,378
538,379
u508061226
python
p02755
A, B = map(int, input().split()) for i in range(B*10+1): 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(1100): if int(i * 0.08) == A and int(i * 0.1) == B: print(i) break else: print(-1)
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.remove" ]
538,388
538,389
u538361257
python
p02755
A, B = map(int, input().split()) for i in range(101): 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(1100): 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,390
538,389
u538361257
python
p02755
def cul_even(x): return x // 2 * 25 def cul_odd(x): return x // 2 * 25 + 13 def main(): a,b = map(int,input().split()) if(a % 2 == 0): if(b == cul_even(a)//10): print(cul_even(a)) elif(b == (cul_even(a)//10 + 1)): print((cul_even(a)+12)//10*10) else: print(-1) else: if(b == c...
def cul_even(x): return x // 2 * 25 def cul_odd(x): return x // 2 * 25 + 13 def main(): a,b = map(int,input().split()) if(a % 2 == 0): if(b == cul_even(a)//10): print(cul_even(a)) elif(b == (cul_even(a)//10 + 1)): print((cul_even(a)+12)//10*10) else: print(-1) else: if(b == c...
[ "call.arguments.change", "expression.operation.binary.change", "io.output.change" ]
538,391
538,392
u250554058
python
p02755
import fractions import sys 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) sys.exit() print(-1)
import fractions import sys A,B=map(int,input().split()) for i in range(1,1009): if(int(i*0.08) == A and int(i*0.1)==B): print(i) sys.exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,410
538,411
u301624971
python
p02755
a,b = map(int, input().split()) for i in range(1, 101): if i * 0.08 //1 == a and i * 0.1 //1 == b: print(i) break else: print(-1)
a,b = map(int, input().split()) for i in range(1, 1100): if i * 0.08 //1 == a and i * 0.1 //1 == b: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,414
538,415
u860657719
python
p02755
a,b = map(int, input().split()) for i in range(1010): 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(1010): if int(i*0.08)==a and int(i*0.1)==b: print(i) exit() print(-1)
[]
538,429
538,430
u472696272
python
p02755
a,b = map(int, input().split()) for i in range(1010): 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(1010): if int(i*0.08)==a and int(i*0.10)==b: print(i) exit() print(-1)
[ "literal.number.float.change", "control_flow.branch.if.condition.change" ]
538,429
538,431
u472696272
python
p02755
import sys def input(): return sys.stdin.readline().rstrip() def main(): a,b=map(int,input().split()) for x in range(1,102): if int(x*0.08)==a and int(x*0.1)==b: print(x) break else:print(-1) if __name__=='__main__': main()
import sys def input(): return sys.stdin.readline().rstrip() def main(): a,b=map(int,input().split()) for x in range(1,1100): if int(x*0.08)==a and int(x*0.1)==b: print(x) break else:print(-1) if __name__=='__main__': main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,438
538,439
u810356688
python
p02755
A, B = map(int,input().split()) for i in range(10000): 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(10000): 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,441
538,442
u939585142
python
p02755
a,b =map(int ,input().split()) for i in range(1000): ans_a =int(i *0.08) ans_b =int(i *0.1) if a ==ans_a and b ==ans_b: print(i) break else: print(-1)
a,b =map(int ,input().split()) for i in range(1500): ans_a =int(i *0.08) ans_b =int(i *0.1) if a ==ans_a and b ==ans_b: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,445
538,446
u601235270
python
p02755
A,B = list(map(int,input().split())) found = False for i in range(1009): A_tax = int(i * 0.08) B_tax = int(i * 0.10) if A == A_tax and B == B_tax: print(i) found = True if not found: print("-1")
A,B = list(map(int,input().split())) found = False for i in range(1010): A_tax = int(i * 0.08) B_tax = int(i * 0.10) if A == A_tax and B == B_tax: print(i) found = True break if not found: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.break.add" ]
538,454
538,455
u409542115
python
p02755
from sys import stdin A, B = [int(x) for x in stdin.readline().rstrip().split()] min_eight_ex_tax = float(A / 0.08) max_eight_ex_tax = float((A + 1) / 0.08) min_ten_ex_tax = float(B / 0.1) max_ten_ex_tax = float((B + 1) / 0.1) res = float(-1) for x in range(min_ten_ex_tax, max_ten_ex_tax, 1): if min_eight_ex_tax...
from sys import stdin A, B = [int(x) for x in stdin.readline().rstrip().split()] min_eight_ex_tax = float(A / 0.08) max_eight_ex_tax = float((A + 1) / 0.08) min_ten_ex_tax = int(B / 0.1) max_ten_ex_tax = int((B + 1) / 0.1) res = float(-1) for x in range(min_ten_ex_tax, max_ten_ex_tax, 1): if min_eight_ex_tax <= ...
[ "assignment.value.change", "identifier.change", "call.function.change" ]
538,458
538,459
u374815848
python
p02755
a, b = map(int, input().split()) c=[] for i in range(1250): if int(i*0.08) == a and int(i*0.1) == b: c.append(i) c.append(-1) print(c) print(c[0])
a, b = map(int, input().split()) c=[] for i in range(1250): if int(i*0.08) == a and int(i*0.1) == b: c.append(i) c.append(-1) print(c[0])
[ "call.remove" ]
538,462
538,463
u661439250
python
p02755
A, B = map(int, input().split()) for i in range(1,101,1): 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(3000): 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.lower.change" ]
538,478
538,479
u142211940
python
p02755
import math def main(): A,B = map(int, input().split()) ans = -1 for i in range(1, 101): at = math.floor(i * 0.08) bt = math.floor(i * 0.1) if at == A and bt == B: ans = i break print(ans) main()
import math def main(): A,B = map(int, input().split()) ans = -1 for i in range(1, 1251): at = math.floor(i * 0.08) bt = math.floor(i * 0.1) if at == A and bt == B: ans = i break print(ans) main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,480
538,481
u582847048
python
p02755
import math A,B =list(map(int,input().split())) fr = 0 for i in range(300): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: print(i) fr += 1 break if fr == 0: print(-1)
import math A,B =list(map(int,input().split())) fr = 0 for i in range(10**6): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: print(i) fr += 1 break if fr == 0: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,484
538,485
u297046168
python
p02755
import math [A,B]=[int(item) for item in input().split()] #Aから判断される、元値として適切な値は? Akagen=math.ceil(A*12.5 ) Azyogen=math.ceil((A+1)*12.5) #B Bkagen=math.ceil(B*10 ) Bzyogen=math.ceil((B+1)*10-1 ) #print("{} {} {} {} ".format(Akagen,Azyogen,Bkagen,Bzyogen)) if Azyogen<Bkagen or Bzyogen<Akagen: print("-1") exit()...
import math [A,B]=[int(item) for item in input().split()] #Aから判断される、元値として適切な値は? Akagen=math.ceil(A*12.5 ) Azyogen=math.ceil((A+1)*12.5-1) #B Bkagen=math.ceil(B*10 ) Bzyogen=math.ceil((B+1)*10-1 ) #print("{} {} {} {} ".format(Akagen,Azyogen,Bkagen,Bzyogen)) if Azyogen<Bkagen or Bzyogen<Akagen: print("-1") exit...
[ "assignment.change" ]
538,492
538,493
u789436713
python
p02755
A,B=map(int, input().split()) for i in range(1100): if int(i*0.8)==A and int(i*0.1)==B: print(i) break else: print(-1)
A,B=map(int, input().split()) for i in range(1,1100): if int(i*0.08)==A and int(i*0.1)==B: print(i) exit() print(-1)
[ "call.arguments.add", "literal.number.float.change", "control_flow.branch.if.condition.change" ]
538,510
538,512
u634576930
python
p02755
import math A,B = map(int, input().split()) if max([100/8*A,10*B])<=min([100/8*(A+1),10*(B+1)]): print(math.ceil(max([100/8*A,10*B]))) else: print(-1)
import math A,B = map(int, input().split()) if max([100/8*A,10*B])<min([100/8*(A+1),10*(B+1)]): print(math.ceil(max([100/8*A,10*B]))) else: print(-1)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,521
538,522
u824295380
python
p02755
A,B = map(int, input().split()) if max([100/8*A,10*B])<=min([100/8*(A+1),10*(B+1)]): print(int(max([100/8*A,10*B]))) else: print(-1)
import math A,B = map(int, input().split()) if max([100/8*A,10*B])<min([100/8*(A+1),10*(B+1)]): print(math.ceil(max([100/8*A,10*B]))) else: print(-1)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "call.arguments.change", "io.output.change" ]
538,523
538,522
u824295380
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,531
538,532
u337626942
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()
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", "call.add" ]
538,534
538,532
u337626942
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()
import math A, B=map(int,input().split()) for i in range(10000): 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", "call.add" ]
538,534
538,535
u337626942
python
p02755
A, B = map(int,input().split()) import math a = [x for x in range(math.ceil(A*12.5),math.ceil((A+1)*12.5))] b = [x for x in range(math.ceil(B*10),math.ceil((B+1)*10))] c = set(a) & set(b) if c != {}: print(min(c)) else: print(-1)
A, B = map(int,input().split()) import math a = [x for x in range(math.ceil(A*12.5),math.ceil((A+1)*12.5))] b = [x for x in range(math.ceil(B*10),math.ceil((B+1)*10))] c = set(a) & set(b) if c != set(): print(min(c)) else: print(-1)
[ "control_flow.branch.if.condition.change" ]
538,536
538,537
u500944229
python
p02755
from math import floor def main(): a, b = map(int, input().split()) ans = -1 for i in range(100*10): if floor(i * 0.08) == a and floor(i * 0.1) == b: ans = i break print(ans) if __name__ == "__main__": main()
from math import floor def main(): a, b = map(int, input().split()) ans = -1 for i in range(1, 1001): if floor(i * 0.08) == a and floor(i * 0.1) == b: ans = i break print(ans) if __name__ == "__main__": main()
[]
538,538
538,539
u471214054
python
p02755
from math import floor def main(): a, b = map(int, input().split()) ans = -1 for i in range(100*10): if floor(i * 0.08) == a and floor(i * 0.1) == b: ans = i break print(ans) if __name__ == "__main__": main()
from math import floor def main(): a, b = map(int, input().split()) ans = -1 for i in range(10000): if floor(i * 0.08) == a and floor(i * 0.1) == b: ans = i break print(ans) if __name__ == "__main__": main()
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.remove" ]
538,538
538,540
u471214054
python
p02755
A, B = map(int, input().split()) ans=0 for x in range(1, 101): if (int(x*0.08)==A) and (int(x*0.1)==B): ans=x break if ans: print(ans) else: print(-1)
A, B = map(int, input().split()) ans=0 for x in range(1, 1251): if (int(x*0.08)==A) and (int(x*0.1)==B): ans=x break if ans: print(ans) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,543
538,544
u461833298
python
p02755
import math A, B = list(map(int, input().split())) a_min = math.floor(A * 100 / 8) a_max = math.ceil((A + 1) * 100 / 8) b_min = math.floor(B * 100 / 10) b_max = math.ceil((B + 1) * 100 / 10) set_a = {i for i in range(a_min, a_max)} set_b = {i for i in range(b_min, b_max)} i = set_a.intersection(set_b) if len(i) > 0:...
import math A, B = list(map(int, input().split())) a_min = math.ceil(A * 100 / 8) a_max = math.ceil((A + 1) * 100 / 8) b_min = math.ceil(B * 100 / 10) b_max = math.ceil((B + 1) * 100 / 10) set_a = {i for i in range(a_min, a_max)} set_b = {i for i in range(b_min, b_max)} i = set_a.intersection(set_b) if len(i) > 0: ...
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.remove", "call.arguments.change" ]
538,556
538,557
u219180252
python
p02755
import math A, B = list(map(int, input().split())) a_min = math.floor(A * 100 / 8) a_max = math.ceil((A + 1) * 100 / 8) b_min = math.floor(B * 100 / 10) b_max = math.ceil((B + 1) * 100 / 10) set_a = {i for i in range(a_min, a_max)} set_b = {i for i in range(b_min, b_max)} i = set_a.intersection(set_b) if len(i) > 0:...
import math A, B = list(map(int, input().split())) a_min = math.ceil(A * 100 / 8) a_max = math.ceil((A + 1) * 100 / 8) b_min = math.ceil(B * 100 / 10) b_max = math.ceil((B + 1) * 100 / 10) set_a = {i for i in range(a_min, a_max)} set_b = {i for i in range(b_min, b_max)} i = set_a.intersection(set_b) if len(i) > 0: ...
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
538,558
538,557
u219180252
python
p02755
import math A, B = list(map(int, input().split())) a_min = math.floor(A * 100 / 8) a_max = math.ceil((A + 1) * 100 / 8) b_min = math.floor(B * 100 / 10) b_max = math.ceil((B + 1) * 100 / 10) set_a = {i for i in range(a_min, a_max + 1)} set_b = {i for i in range(b_min, b_max + 1)} i = set_a.intersection(set_b) if len...
import math A, B = list(map(int, input().split())) a_min = math.ceil(A * 100 / 8) a_max = math.ceil((A + 1) * 100 / 8) b_min = math.ceil(B * 100 / 10) b_max = math.ceil((B + 1) * 100 / 10) set_a = {i for i in range(a_min, a_max)} set_b = {i for i in range(b_min, b_max)} i = set_a.intersection(set_b) if len(i) > 0: ...
[ "misc.opposites", "assignment.value.change", "identifier.change", "expression.operation.binary.remove" ]
538,559
538,557
u219180252
python
p02755
a, b = map(int, input().split()) ans = -1 for i in range(1011): _a = i * 0.08 _b = i * 0.1 if _a == a and _b == b: ans = i break print(ans)
a, b = map(int, input().split()) ans = -1 for i in range(1011): _a = int(i * 0.08) _b = int(i * 0.1) if _a == a and _b == b: ans = i break print(ans)
[ "call.add", "call.arguments.change" ]
538,562
538,563
u514401521
python
p02755
A, B = map(int, input().split()) for i in range(1000): if int(i*0.08) == A and i//10 == B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(1010): if int(i*0.08) == A and i//10 == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,564
538,565
u751717561
python
p02755
from math import ceil a,b=map(int,input().split()) for i in range(1,2000): c=i*8/100 d=i*8/100 if(int(c)==a and int(d)==b): print(i) break else:print(-1)
a,b=map(int,input().split()) for i in range(1,2000): c=i*8/100 d=i*10/100 if(int(c)==a and int(d)==b): print(i) break else:print(-1)
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change" ]
538,566
538,567
u614162316
python
p02755
A, B = map(int, input().split()) for i in range(1000): if int(i*0.08) == A and int(i*0.10) == B: print(i) exit() print(-1)
# -*- coding: utf-8 -*- A, B = map(int, input().split()) for i in range(1001): if int(i*0.08) == A and int(i*0.10) == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,579
538,580
u688762199
python
p02755
a,b=map(int,input().split()) price=10*b c=[] while(price<=10*b+10): if int(price*0.08)==a: c.append(price) price=price+1 else: price=price+1 if c==[]: print(-1) else: print(min(c))
a,b=map(int,input().split()) price=10*b c=[] while(price<10*b+10): if int(price*0.08)==a: c.append(price) price=price+1 else: price=price+1 if c==[]: print(-1) else: print(min(c))
[ "expression.operator.compare.change", "control_flow.loop.condition.change" ]
538,583
538,584
u277353449
python
p02755
#ABC158C import sys a, b = map(int, sys.stdin.readline().split()) #print(a,b) for num in range(0, 1000): A = int(num*0.08) B = int(num*0.1) #print(A, B, num) if a==A and b ==B: print(num) break else: print(-1)
#ABC158C import sys a, b = map(int, sys.stdin.readline().split()) #print(a,b) for num in range(0, 1001): A = int(num*0.08) B = int(num*0.1) #print(A, B, num) if a==A and b ==B: print(num) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,593
538,594
u401452016
python
p02755
(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) break else: 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) break else: print("-1")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
538,595
538,596
u224119985
python
p02755
a,b = map(int,input().split()) for x in range(100): if (int(x*0.08) == a) and (int(x*0.1) == b): print(x) break else: print("-1")
a,b = map(int,input().split()) for x in range(100000): if (int(x*0.08) == a) and (int(x*0.1) == b): print(x) break else: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,605
538,606
u187995923
python
p02755
A, B = map(int, input().split()) for x in range(1251): if (int(x * 0.08) == A) and (int(x * 0.1) == B): print(i) else: print("-1")
A, B = map(int, input().split()) for x in range(1251): if (int(x * 0.08) == A) and (int(x * 0.1) == B): print(x) exit() print("-1")
[ "identifier.change", "call.arguments.change", "io.output.change" ]
538,607
538,608
u284927738
python
p02755
import math A, B = map(int, input().split()) Xa_max = (A + 1) / 0.08 Xa_min = (A) / 0.08 Xb_max = (B + 1) / 0.1 Xb_min = (B) / 0.1 # 範囲が被らない場合 if Xa_min >= Xb_max or Xb_min >= Xa_max: print(-1) exit() if Xa_min >= Xb_min: ans = math.floor(Xa_min) if ans >= Xb_max: print(-1) exit() el...
import math A, B = map(int, input().split()) Xa_max = (A + 1) / 0.08 Xa_min = (A) / 0.08 Xb_max = (B + 1) / 0.1 Xb_min = (B) / 0.1 # 範囲が被らない場合 if Xa_min >= Xb_max or Xb_min >= Xa_max: print(-1) exit() if Xa_min >= Xb_min: ans = math.ceil(Xa_min) if ans >= Xb_max: print(-1) exit() els...
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
538,609
538,610
u969850098
python
p02755
a,b = map(int, input().split()) c = 0 d = 0 e = -1 for i in range(1, 101): c = int(i*0.08) d = int(i*0.1) if a==c and b==d: e = i break print(e)
a,b = map(int, input().split()) c = 0 d = 0 e = -1 for i in range(1, 1010): c = int(i*0.08) d = int(i*0.1) if a==c and b==d: e = i break print(e)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,617
538,618
u878138257
python
p02755
import sys A, B = map(int, sys.stdin.readline().rstrip().split()) c = 1e-1000 d = 1 - c A_min = int(A * (100 / 8.) + d) A_max = int((A + d) * (100 / 8.)) B_min = int(B * 10.) B_max = int((B + d) * 10.) if min(A_max, B_max) - max(A_min, B_min) >= 0: print(max(A_min, B_min)) else: print('-1')
import sys A, B = map(int, sys.stdin.readline().rstrip().split()) c = 1e-10 d = 1 - c A_min = int(A * (100 / 8.) + d) A_max = int((A + d) * (100 / 8.)) B_min = int(B * 10.) B_max = int((B + d) * 10.) if min(A_max, B_max) - max(A_min, B_min) >= 0: print(max(A_min, B_min)) else: print('-1')
[ "literal.number.float.change", "assignment.value.change" ]
538,619
538,620
u821441703
python
p02755
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.stdin.buffer.readline().decode().rstrip() isn = lambda n: [sys.stdin....
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.stdin.buffer.readline().decode().rstrip() isn = lambda n: [sys.stdin....
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,621
538,622
u634079249
python
p02755
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.stdin.buffer.readline().decode().rstrip() isn = lambda n: [sys.stdin....
import sys import os import math ii = lambda: int(sys.stdin.buffer.readline().rstrip()) il = lambda: list(map(int, sys.stdin.buffer.readline().split())) iln = lambda n: [int(sys.stdin.buffer.readline().rstrip()) for _ in range(n)] iss = lambda: sys.stdin.buffer.readline().decode().rstrip() isn = lambda n: [sys.stdin....
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "control_flow.loop.range.bounds.upper.change" ]
538,623
538,622
u634079249
python
p02755
a,b=map(int,input().split()) x=0 for i in range(1300): if int(i*0.08) == a and int(i*0.10) == b: print(i) x=1 if x == 0 and i == 1299: print("-1")
a,b=map(int,input().split()) x=0 for i in range(2000): if x == 0 and int(i*0.08) == a and int(i*0.10) == b: print(i) x=1 if x == 0 and i == 1299: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
538,624
538,625
u297089927
python
p02755
import math a, b = map(int, input().split()) amin = math.ceil(a * 100 / 8) amax = math.floor((a+1) * 100 / 8) bmin = math.ceil(b * 100 / 10) bmax = math.floor((b+1) * 100 / 10) if amin > bmax or bmin > amax: print('-1') else: print(max(amin, bmin))
import math a, b = map(int, input().split()) amin = math.ceil(a * 100 / 8) amax = math.ceil((a+1) * 100 / 8) - 1 bmin = math.ceil(b * 100 / 10) bmax = math.ceil((b+1) * 100 / 10) -1 if amin > bmax or bmin > amax: print('-1') else: print(max(amin, bmin))
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
538,631
538,632
u645855527
python
p02755
a, b = map(int, input().split()) price = b * 10 for i in range(10): if ((price + i) * 0.08) == a: print(price + i) exit() else: print("-1")
a, b = map(int, input().split()) price = b * 10 for i in range(10): if int((price + i) * 0.08) == a: print(price + i) exit() else: print("-1")
[ "call.add", "control_flow.branch.if.condition.change" ]
538,648
538,649
u050876787
python
p02755
#!/usr/bin/env python3 import sys import math a, b = map(int, input().split()) for x in range(1, 1000, 1): if int(x * 0.08) == a and int(x * 0.1) == b: print(x) sys.exit() print(-1)
#!/usr/bin/env python3 import sys import math a, b = map(int, input().split()) for x in range(1, 1001, 1): if int(x * 0.08) == a and int(x * 0.1) == b: print(x) sys.exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,650
538,651
u536560967
python
p02755
from math import floor import sys A,B=map(int,input().split()) for i in range(101): if floor(i*0.08)==A and floor(i*0.1)==B: print(i) sys.exit() print(-1)
from math import floor import sys A,B=map(int,input().split()) for i in range(20000): if floor(i*0.08)==A and floor(i*0.1)==B: print(i) sys.exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,654
538,655
u614875193
python
p02755
A, B = map(int, input().split()) for i in range(1, 10000): if int(0.08 * i) == A and int(0.01 * i) == B: print(i) quit() print('-1')
A, B = map(int, input().split()) for i in range(1, 10000): if int(0.08 * i) == A and int(0.1 * i) == B: print(i) quit() print('-1')
[ "literal.number.float.change", "control_flow.branch.if.condition.change" ]
538,664
538,665
u521518741
python
p02755
import math a, b = map(int,input().split()) ans = [] for i in range(1000): price_8 = math.floor(i * 0.08) price_10 = math.floor(i * 0.1) if price_8 == a and price_10 == b: ans.append(i) if len(ans) != 0: print(min(ans)) else: print(-1)
import math a, b = map(int,input().split()) ans = [] for i in range(1001): price_8 = math.floor(i * 0.08) price_10 = math.floor(i * 0.1) if price_8 == a and price_10 == 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.upper.change" ]
538,671
538,672
u197968862
python
p02755
a = list(map(int,input().split())) A = a[0] B = a[1] c = True for x in range(10001): a = x * 0.08 b = x * 0.1 if A == round(a,2) and B == round(b,2): print(x) c = False break if c: print(-1)
a = list(map(int,input().split())) A = a[0] B = a[1] c = True for x in range(10001): a = x * 0.08 b = x * 0.1 if A == int(a) and B == int(b): print(x) c = False break if c: print(-1)
[ "identifier.change", "call.function.change", "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.arguments.change" ]
538,676
538,677
u415716267
python
p02755
a,b = map(int,input().split()) judge = 0 for i in range(1,101): if int(i*0.08) == a and int(i*0.1) == b: judge = 1 print(i) break if judge == 0: print(-1)
a,b = map(int,input().split()) judge = 0 for i in range(1,1001): if int(i*0.08) == a and int(i*0.1) == b: judge = 1 print(i) break if judge == 0: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,678
538,679
u846226907
python
p02755
A,B=map(int,input().split()) for i in range(1009): answer_A=i*0.08 answer_B=i*0.1 if answer_A==A and answer_B==B: answer=i break else: answer=-1 print(answer)
A,B=map(int,input().split()) for i in range(1009): answer_A=int(i*0.08) answer_B=int(i*0.1) if answer_A==A and answer_B==B: answer=i break else: answer=-1 print(answer)
[ "call.add", "call.arguments.change" ]
538,685
538,686
u530650201
python
p02755
A,B=map(int,input().split()) for i in range(0,1009): ans_a=int(i*0.08) ans_b=int(i*0.1) if A==ans_a&B==ans_b: ans=i break ans=-1 print(ans)
A,B=map(int,input().split()) for i in range(0,1009): ans_a=int(i*0.08) ans_b=int(i*0.1) if A==ans_a and B==ans_b: ans=i break ans=-1 print(ans)
[ "control_flow.branch.if.condition.change" ]
538,687
538,688
u530650201
python
p02755
import math a, b = [int(i) for i in input().split()] for i in range(1000): if(math.floor(0.08 * i) == a and math.floor(0.1 * i) == b): print(i) exit() print(-1)
import math a, b = [int(i) for i in input().split()] for i in range(1250): if(math.floor(0.08 * i) == a and math.floor(0.1 * i) == b): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,691
538,692
u067694718
python
p02755
import math a,b=map(int,input().split()) arr=[] for i in range(1,101,1): if a==math.floor(i*0.08) and b==math.floor(i*0.1) : print(i) exit() print(-1)
import math a,b=map(int,input().split()) arr=[] for i in range(1,1001,1): if a==math.floor(i*0.08) and b==math.floor(i*0.1): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,697
538,698
u369133448
python
p02755
import math A, B = [int(x) for x in input().strip().split()] flg = 0 for i in range(1,1000): x = math.floor(i * 0.08) y = math.floor(i * 0.1) if x == A and y == B: print(i) flg = 1 break if flg == 0: print(-1)
import math A, B = [int(x) for x in input().strip().split()] flg = 0 for i in range(1,1250): x = math.floor(i * 0.08) y = math.floor(i * 0.1) if x == A and y == B: print(i) flg = 1 break if flg == 0: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,699
538,700
u847692421
python
p02755
a, b = map(int, input().split()) r = '-1' for i in range(100): v = i + 1 ax = int(v * 0.08) if ax == a: bx = int(v * 0.1) if bx == b: r = v break print(r)
a, b = map(int, input().split()) r = '-1' for i in range(10000): v = i + 1 ax = int(v * 0.08) if ax == a: bx = int(v * 0.1) if bx == b: r = v break print(r)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,705
538,706
u920621778
python
p02755
A,B = map(int,input().split()) for i in range(101): if i*0.08//1 == A and i*0.1//1 == B: print(i) exit() print(-1)
A,B = map(int,input().split()) for i in range(10001): if i*0.08//1 == A and i*0.1//1 == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,713
538,714
u627213696
python
p02755
import math a,b = map(int,input().split()) ans = -1 for i in range(101): A = 0.08*i B = 0.1*i if math.floor(A) == a and math.floor(B) == b: ans = i break print(ans)
import math a,b = map(int,input().split()) ans = -1 for i in range(10**4): A = 0.08*i B = 0.1*i if math.floor(A) == a and math.floor(B) == b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,729
538,730
u273242084
python
p02755
import math a = list(map(int, input().split())) ans = [max([a[0] / 0.08, a[1] / 0.1]), min([(a[0] + 1) / 0.08, (a[1] + 1) / 0.1])] if ((a[1] + 1) / 0.1 >= (a[1] + 1) / 0.1) or (a[1] / 0.1 >= (a[0] + 1) / 0.08): print(-1) else: if math.ceil(ans[0]) > ans[1]: print(-1) else: print(math....
import math a = list(map(int, input().split())) ans = [max([a[0] / 0.08, a[1] / 0.1]), min([(a[0] + 1) / 0.08, (a[1] + 1) / 0.1])] if ((a[0]) / 0.08 >= (a[1] + 1) / 0.1) or (a[1] / 0.1 >= (a[0] + 1) / 0.08): print(-1) else: if math.ceil(ans[0]) > ans[1]: print(-1) else: print(math.cei...
[ "literal.number.integer.change", "variable_access.subscript.index.change", "control_flow.branch.if.condition.change", "expression.operation.binary.remove", "literal.number.float.change" ]
538,731
538,732
u215334265
python