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()) for i in range(1, 101): if A==int(i*8/100) and B==int(i*10/100): print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(1, 1001): if A==int(i*8/100) and B==int(i*10/100): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,733
538,734
u963164554
python
p02755
A, B = map(int, input().split()) for i in range(101): if A==int(i*8/100) and B==int(i*10/100): print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(1, 1001): if A==int(i*8/100) and B==int(i*10/100): print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
538,735
538,734
u963164554
python
p02755
a,b = map(int,input().split()) flag = 1 for i in range(101): if int(i*0.08)==a and int(i*0.1)==b: print(i) flag = 0 break if flag ==1: print(-1)
a,b = map(int,input().split()) flag = 1 for i in range(10001): if int(i*0.08)==a and int(i*0.1)==b: print(i) flag = 0 break if flag ==1: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,738
538,739
u602544363
python
p02755
import math a,b=map(int,input().split()) ans=1e9 for i in range(1000): if math.floor(i*0.08)==a: if math.floor(i*0.1)==b: ans=min(ans,i) if ans==1e9: print("-1") else: print(ans)
import math a,b=map(int,input().split()) ans=1e9 for i in range(1300): if math.floor(i*0.08)==a and math.floor(i*0.1)==b: ans=min(ans,i) if ans==1e9: print("-1") else: print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,740
538,741
u768559443
python
p02755
import math A,B = map(int,input().split()) #税率8%の消費税から元値のリストを作る #A*12.5(切り上げ)が元値の取りうる最小値 motone_8 = math.ceil(A*12.5) #最小値から+12した数に0.08かけてA+1を超えるか if (motone_8 + 12) * 0.08 > A+1: #超えたら該当値は12個 gaitou_8 = 12 #超えなかったら該当値は13個 else: gaitou_8 = 13 #最小値~最小値+該当値-1までをリストにいれる gaitou_list_8 = list(range(motone_8,m...
import math A,B = map(int,input().split()) #税率8%の消費税から元値のリストを作る #A*12.5(切り上げ)が元値の取りうる最小値 motone_8 = math.ceil(A*12.5) #最小値から+12した数に0.08かけてA+1以上か if (motone_8 + 12) * 0.08 >= A+1: #以上なら該当値は12個 gaitou_8 = 12 #下回ったら該当値は13個 else: gaitou_8 = 13 #最小値~最小値+該当値-1までをリストにいれる gaitou_list_8 = list(range(motone_8,moto...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,744
538,745
u014322942
python
p02755
import math import sys A, B = [int(i) for i in input().split()] for i in range(math.ceil(12.5 * A), math.floor(12.5 * (A + 1))+1): if math.floor(i//10) == B: print(i) sys.exit() print(-1)
import math import sys A, B = [int(i) for i in input().split()] for i in range(math.ceil(12.5 * A), math.ceil(12.5 * (A + 1))): if math.floor(i//10) == B: print(i) sys.exit() print(-1)
[ "misc.opposites", "identifier.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.remove" ]
538,751
538,752
u479835943
python
p02755
a, b = map(int, input().split()) for x in range(1000): if int(x * 0.08) == a and int(x * 0.10) == b: print(x) break else: print(-1)
a, b = map(int, input().split()) for x in range(1001): if int(x * 0.08) == a and int(x * 0.10) == b: print(x) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,755
538,756
u554781254
python
p02755
import math A,B=(int(x) for x in input().split()) a=int(A/0.08 + 0.5) b=int(B/0.1 + 0.5) out =0 print(a,b) if a>=b: if math.floor(a*0.1) != B: out = -1 else: out = int(a) elif a<b: if math.floor(b*0.08) != A: out = -1 else: out = int(b) print(out)
import math A,B=(int(x) for x in input().split()) a=int(A/0.08 + 0.5) b=int(B/0.1 + 0.5) out =0 "print(a,b)" if a>=b: if math.floor(a*0.1) != B: out = -1 else: out = int(a) elif a<b: if math.floor(b*0.08) != A: out = -1 else: out = int(b) print(out)
[ "call.arguments.change" ]
538,757
538,758
u293436958
python
p02755
A, B = (int(x) for x in input().split()) A_min = A / 0.08 A_max = (A + 1) / 0.08 B_min = int(B // 0.10) B_max = int((B + 1) // 0.10) ans = -1 for i in range(B_min, B_max): if i >= A_min and i < A_max: ans = i break print(ans)
A, B = (int(x) for x in input().split()) A_min = A / 0.08 A_max = (A + 1) / 0.08 B_min = int(B / 0.10) B_max = int((B + 1) / 0.10) ans = '-1' for i in range(B_min, B_max): if i >= A_min and i < A_max: ans = i break print(ans)
[ "expression.operator.arithmetic.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change" ]
538,759
538,760
u194297606
python
p02755
import math A, B = map(int, input().split()) big = math.floor(max(A, B) / 0.08) sma = math.floor(min(A, B) / 0.1) num_list = [int(i) for i in range(sma, big + 1)] for i in num_list: if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: print(i) break else: print(-1)
import math A, B = map(int, input().split()) big = math.floor(max(A, B) / 0.08) sma = math.floor(min(A, B) / 0.1) num_list = [int(i) for i in range(sma - 1, big + 2)] for i in num_list: if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: print(i) break else: print(-1)
[ "literal.number.integer.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
538,763
538,764
u513081876
python
p02755
a, b = map(int, input().split(' ')) b_l = list(range(int(b/0.1), int((b+0.99)//0.1+1))) for b_ in b_l: s = int(b_*0.08//1) if s==a: print(str(b_)) exit(0) prin('-1')
a, b = map(int, input().split(' ')) b_l = list(range(int(b/0.1), int((b+0.99)//0.1+1))) for b_ in b_l: s = int(b_*0.08//1) if s==a: print(str(b_)) exit(0) print('-1')
[ "identifier.change", "call.function.change" ]
538,773
538,774
u891422384
python
p02755
import math A, B = map(int, input().split()) ans = 1 for b in range(10*B, 10*B+10): if int(b*0.08) == A: print(b) ans = 0 if ans: print(-1)
import math A, B = map(int, input().split()) #int(ans*0.08) = A #int(ans*0.10) = B ans = 1 for b in range(10*B, 10*B+10): if int(b*0.08) == A: print(b) ans = 0 break if ans: print(-1)
[ "control_flow.break.add" ]
538,775
538,776
u037098269
python
p02755
from math import floor def dostuff(): a, b = (int(x) for x in input().split(' ')) x = b * 10 # print(x) i = x for i in range(x, x+11): if floor(i * 0.08) == a: print(i) return print(-1) dostuff()
from math import floor def dostuff(): a, b = (int(x) for x in input().split(' ')) x = b * 10 for i in range(x, x + 10): if floor(i * 0.08) == a: print(i) return print(-1) dostuff()
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
538,779
538,780
u831835224
python
p02755
# problem C A,B = map(int,input().split()) ans = [] for i in range(1,1000): x = int(i * 0.08) y = int(i * 0.10) if x == A and y == B: ans.append(i) else: pass if len(ans) == 0: print(-1) else: print(ans[0])
# problem C A,B = map(int,input().split()) ans = [] for i in range(1,1001): x = int(i * 0.08) y = int(i * 0.10) if x == A and y == B: ans.append(i) else: pass if len(ans) == 0: print(-1) else: print(ans[0])
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,793
538,794
u133174241
python
p02755
a,b = map(int,input().split()) import math c = math.ceil(a/0.08) d = round(b/ (0.1)) e = math.floor((a+1)/0.08) f = round((b+1)/0.1)-1 i = c j = -1 for i in range(c,e+1): if d <= i <= f: j = i break else: i = i+1 print(j)
a,b = map(int,input().split()) import math c = math.ceil(a/0.08) d = round(b/ (0.1)) e = math.ceil((a+1)/0.08)-1 f = round((b+1)/0.1)-1 i = c j = -1 for i in range(c,e+1): if d <= i <= f: j = i break else: i = i+1 print(j)
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
538,795
538,796
u233239721
python
p02755
a,b = map(int,input().split()) import math c = math.ceil(a/0.08) d = round(b/ (0.1)) e = math.ceil((a+1)/0.08) f = round((b+1)/0.1) i = c j = -1 for i in range(c,e+1): if d <= i <= f: j = i break else: i = i+1 print(j)
a,b = map(int,input().split()) import math c = math.ceil(a/0.08) d = round(b/ (0.1)) e = math.ceil((a+1)/0.08)-1 f = round((b+1)/0.1)-1 i = c j = -1 for i in range(c,e+1): if d <= i <= f: j = i break else: i = i+1 print(j)
[ "assignment.change" ]
538,798
538,796
u233239721
python
p02755
import math A, B = map(int,input().split()) pricemax_A = math.floor((A+1)/0.08) pricemin_A = math.floor(A/0.08) pricemax_B = math.floor((B+1)/0.1) pricemin_B = math.floor(B/0.1) if pricemin_A >= pricemin_B and pricemin_A < pricemax_B: print(pricemin_A) elif pricemin_A <= pricemin_B and pricemax_A > pricemin_B:...
import math A, B = map(int,input().split()) pricemax_A = math.floor((A+1)/0.08) pricemin_A = math.ceil(A/0.08) pricemax_B = math.floor((B+1)/0.1) pricemin_B = math.ceil(B/0.1) if pricemin_A >= pricemin_B and pricemin_A < pricemax_B: print(pricemin_A) elif pricemin_A <= pricemin_B and pricemax_A > pricemin_B: ...
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
538,803
538,804
u375193358
python
p02755
import math A, B = map(int,input().split()) pricemax_A = math.floor((A+1)/0.08) pricemin_A = math.floor(A/0.08) pricemax_B = math.floor((B+1)/0.1) pricemin_B = math.floor(B/0.1) if pricemin_A >= pricemin_B and pricemin_A <= pricemax_B: print(pricemin_A) elif pricemin_A <= pricemin_B and pricemax_A >= pricemin_B...
import math A, B = map(int,input().split()) pricemax_A = math.floor((A+1)/0.08) pricemin_A = math.ceil(A/0.08) pricemax_B = math.floor((B+1)/0.1) pricemin_B = math.ceil(B/0.1) if pricemin_A >= pricemin_B and pricemin_A < pricemax_B: print(pricemin_A) elif pricemin_A <= pricemin_B and pricemax_A > pricemin_B: ...
[ "misc.opposites", "assignment.value.change", "identifier.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,805
538,804
u375193358
python
p02755
import math A, B = map(int,input().split()) pricemax_A = math.floor((A+1)/0.08) pricemin_A = math.floor(A/0.08) pricemax_B = math.floor((B+1)/0.1) pricemin_B = math.floor(B/0.1) if pricemin_A >= pricemin_B and pricemin_A < pricemax_B: print(pricemin_A) elif pricemin_A <= pricemin_B and pricemax_A > pricemin_B: ...
import math A, B = map(int,input().split()) pricemax_A = math.floor((A+1)/0.08) pricemin_A = math.ceil(A/0.08) pricemax_B = math.floor((B+1)/0.1) pricemin_B = math.ceil(B/0.1) if pricemin_A >= pricemin_B and pricemin_A < pricemax_B: print(pricemin_A) elif pricemin_A <= pricemin_B and pricemax_A > pricemin_B: ...
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
538,806
538,804
u375193358
python
p02755
A,B=map(int,input().split()) for x in range(10*B,10*B+10): if A*100/8<=x<=A*100/8+100/8: print(x) exit() print("-1")
A,B=map(int,input().split()) for x in range(10*B,10*B+10): if A*100/8<=x<A*100/8+100/8: print(x) exit() print("-1")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,816
538,817
u962944068
python
p02755
A,B = map(int, input().split()) ans = 0 for i in range(1900): if i * 0.08 == A and i* 0.1 == B: ans = i break else: ans = -1 print(ans)
A,B = map(int, input().split()) ans = 0 for i in range(1900): if int(i * 0.08) == A and int(i* 0.1) == B: ans = i break else: ans = -1 print(ans)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
538,826
538,827
u084320347
python
p02755
def calc_range(x, rate): return -(-x//rate), -(-(x+1)//rate) a,b = list(map(int, input().split())) a_min, a_max = calc_range(a, 0.08) b_min, b_max = calc_range(b, 0.10) if b_max < a_min or a_max < b_min: print(-1) elif a_min <= b_min: print(int(b_min)) elif b_min < a_min: print(int(a_min))
def calc_range(x, rate): return -(-x//rate), -(-(x+1)//rate) a,b = list(map(int, input().split())) a_min, a_max = calc_range(a, 0.08) b_min, b_max = calc_range(b, 0.10) if b_max <= a_min or a_max <= b_min: print(-1) elif a_min <= b_min: print(int(b_min)) elif b_min < a_min: print(int(a_min))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,828
538,829
u985041094
python
p02755
a,b = map(int, input().split()) flag = 0 for i in range(10*b, 11*b): if int(i * 0.08) == a: if flag==0: ans=i flag = 1 if flag == 1: print(ans) else: print(-1)
a,b = map(int, input().split()) flag = 0 for i in range(10*b, 10*b+10): if int(i * 0.08) == a: if flag == 0: ans=i flag = 1 if flag == 1: print(ans) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
538,837
538,835
u596297663
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) break else: print(-1)
A, B = map(int, input().split()) for i in range (1001): if (int(i*0.08) == A) and (int(i*0.10) == B): print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,838
538,839
u001463970
python
p02755
A, B = map(int, input().split()) for i in range(1, 1001): if int(i * 0.08 ) == A and int(i * 1.10) == 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.10) == B: print(i) exit() print(-1)
[ "literal.number.float.change", "control_flow.branch.if.condition.change" ]
538,840
538,841
u600896094
python
p02755
def main(): A,B = map(int,input().split()) for i in range(10001): e = i * 0.08 t = i * 0.1 if e == A and t == B: return i return -1 print(main())
def main(): A,B = map(int,input().split()) for i in range(10001): e = int(i * 0.08) t = int(i * 0.1) if e == A and t == B: return i return -1 print(main())
[ "call.add", "call.arguments.change" ]
538,868
538,869
u031722966
python
p02755
A, B = input().rstrip().split(' ') A = int(A) B = int(B) 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 = input().rstrip().split(' ') A = int(A) B = int(B) ans = -1 for i in range(1,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" ]
538,894
538,895
u646892595
python
p02755
tax8, tax10 = map(int,input().split()) import math tax10_list = [] list = [] count = 0 for i in range(10): tax10_list.append(math.floor(tax10*10+i)) for x in range(10): if math.floor(tax10_list[x] * 0.08) == tax8: print(tax10_list[x]) break else: count += 1 if count == 9: pr...
tax8, tax10 = map(int,input().split()) import math tax10_list = [] list = [] count = 0 for i in range(10): tax10_list.append(math.floor(tax10*10+i)) for x in range(10): if math.floor(tax10_list[x] * 0.08) == tax8: print(tax10_list[x]) break else: count += 1 if count == 10: p...
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
538,902
538,903
u753542444
python
p02755
a, b = map(int, input().split()) for i in range(1000): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) break else:print(-1)
a, b = map(int, input().split()) for i in range(1001): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) break else:print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,921
538,922
u309423187
python
p02755
a, b = map(int, input().split()) for i in range(1000): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) exit(0) else : print(-1)
a, b = map(int, input().split()) for i in range(1001): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) break else:print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.exit.remove", "control_flow.break.add" ]
538,923
538,922
u309423187
python
p02755
a, b = map(int, input().split()) for i in range(1000): if int(i * 0.08) == a and int(i * 0.1) == b: print(i) exit(0) else : 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(0) else : print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,923
538,924
u309423187
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(0) else: 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(0) else : print(-1)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
538,925
538,924
u309423187
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(0) else: 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(0) else : print(-1)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change", "call.add" ]
538,926
538,924
u309423187
python
p02755
P8, P10 = map(int, input().split()) import math price1_min = math.ceil(P8/0.08) price1_max = math.floor((P8+1)/0.08) price2_min = math.ceil(P10/0.10) price2_max = math.floor((P10+1)/0.10) if (price1_max >= price2_min) and (price2_max >= price1_min): print(max(price2_min, price1_min)) else: print(-1)
P8, P10 = map(int, input().split()) import math price1_min = math.ceil(P8/0.08) price1_max = math.floor((P8+1)//0.08) price2_min = math.ceil(P10/0.10) price2_max = math.floor((P10+1)//0.10) if (price1_max >= price2_min) and (price2_max >= price1_min): print(max(price2_min, price1_min)) else: print(-1)
[ "expression.operator.arithmetic.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change" ]
538,928
538,929
u103520789
python
p02755
from math import floor from sys import exit, stdin A, B = [int(_) for _ in stdin.readline().rstrip().split()] for i in range(1, 101): if floor(i*0.08) == A and floor(i*0.1) == B: print(i) exit() print(-1)
from math import floor from sys import exit, stdin A, B = [int(_) for _ in stdin.readline().rstrip().split()] for i in range(1, 10000): if floor(i*0.08) == A and floor(i*0.1) == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,932
538,933
u724742135
python
p02755
a,b =map(int,input().split()) ans = b * 10 status = '' for i in range(10): 8*(ans + i)//100 if(a == 8*(ans + i)//100): ans += i status = 'ok' break; if status =='ok': print(ans+i) else: print(-1)
a,b =map(int,input().split()) ans = b * 10 status = '' for i in range(10): 8*(ans + i)//100 if(a == 8*(ans + i)//100): ans += i status = 'ok' break; if status =='ok': print(ans) else: print(-1)
[ "expression.operation.binary.remove" ]
538,936
538,937
u425236751
python
p02755
from math import ceil,floor numA,numB = map(int,input().split()) for i in range(10000): testA = floor(i * 0.08) testB = floor(i * 0.10) if testA >= numA and testB >= numB: print(i) break else: print("-1")
from math import ceil,floor numA,numB = map(int,input().split()) for i in range(10000): testA = floor(i * 0.08) testB = floor(i * 0.10) if testA == numA and testB == numB: print(i) break else: print("-1")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,941
538,942
u267029978
python
p02755
import math a,b = map(int,input().split()) count = 0 for i in range(1,101): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: print(i) exit() else: count += 1 if count > 99: print(-1)
import math a,b = map(int,input().split()) count = 0 for i in range(1,1001): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: print(i) exit() else: count += 1 if count > 99: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,960
538,961
u561883765
python
p02755
import numpy as np A, B = map(int, input().split()) xa_min = 12.5 * A xa_max = 12.5 * (A+1) xb_min = 10 * B xb_max = 10 * (B+1) x_min = np.ceil(max(xa_min, xb_min)) x_max = np.floor(min(xa_max, xb_max)) if x_min > x_max: print(-1) else: print(int(x_min))
import numpy as np A, B = map(int, input().split()) xa_min = 12.5 * A xa_max = 12.5 * (A+1) xb_min = 10 * B xb_max = 10 * (B+1) x_min = np.ceil(max(xa_min, xb_min)) x_max = np.floor(min(xa_max, xb_max)) if x_min >= x_max: print(-1) else: print(int(x_min))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
538,972
538,973
u506689504
python
p02755
import math A, B = map(int, input().split()) value = 0 for i in range(1, 101): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: value = i break if value == 0: print(-1) else: print(value)
import math A, B = map(int, input().split()) value = 0 for i in range(1, 1001): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: value = i break if value == 0: print(-1) else: print(value)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
538,977
538,978
u809827093
python
p02755
a,b = map(int,input().split()) total = int(max(-(-a//0.08),-(-(b//0.1)))) for i in range(1,total+1): y1 = int(i * 0.08) y2 = int(i * 0.1) if y1 == a and y2 == b: print(i) exit() print("-1")
a,b = map(int,input().split()) total = int(max(-(-a//0.08),-(-b//0.1))) for i in range(1,total+1): y1 = int(i * 0.08) y2 = int(i * 0.1) if y1 == a and y2 == b: print(i) exit() print("-1")
[ "call.arguments.change" ]
538,985
538,986
u969211566
python
p02755
a, b = (int(x) for x in input().split()) c_list = [] b_list = [] def f(n, tax, list): limit = n + 1 while(n < limit): list.append(round(n / tax, 1)) n += tax / 2 f(b, 0.1, b_list) for i in b_list: tmp = int(i * 0.08) if(tmp == a): c_list.append(i) if(len(c_list) == 0): ...
a, b = (int(x) for x in input().split()) c_list = [] b_list = [] def f(n, tax, list): limit = n + 1 while(n < limit): list.append(int(n / tax)) n += tax / 2 f(b, 0.1, b_list) for i in b_list: tmp = int(i * 0.08) if(tmp == a): c_list.append(i) if(len(c_list) == 0): pri...
[ "identifier.change", "call.function.change", "call.arguments.change" ]
538,987
538,988
u307622233
python
p02755
import math A, B = list(map(int, input().split())) amax = math.ceil((A + 1) / 8 * 100) - 1 amin = math.ceil(A / 8 * 100) bmax = math.ceil((B + 1) * 10) - 1 bmin = math.ceil(B / 10 * 10) if amin > bmax or bmin > amax: print(-1) else: print(int(max(amin, bmin)))
import math A, B = list(map(int, input().split())) amax = math.ceil((A + 1) / 8 * 100) - 1 amin = math.ceil(A / 8 * 100) bmax = math.ceil((B + 1) * 10) - 1 bmin = math.ceil(B * 10) if amin > bmax or bmin > amax: print(-1) else: print(int(max(amin, bmin)))
[ "expression.operation.binary.remove" ]
539,010
539,011
u060694763
python
p02755
import math A, B = list(map(int, input().split())) amax = math.floor((A + 1) / 8 * 100) amin = math.ceil(A / 8 * 100) bmax = math.floor((B + 1) * 10) bmin = math.ceil(B * 10) if amin > bmax or bmin > amax: print(-1) else: print(int(max(amin, bmin)))
import math A, B = list(map(int, input().split())) amax = math.ceil((A + 1) / 8 * 100) - 1 amin = math.ceil(A / 8 * 100) bmax = math.ceil((B + 1) * 10) - 1 bmin = math.ceil(B * 10) if amin > bmax or bmin > amax: print(-1) else: print(int(max(amin, bmin)))
[ "misc.opposites", "assignment.value.change", "identifier.change" ]
539,012
539,011
u060694763
python
p02755
a, b = map(int, input().split()) for num in range(1, 102): if int(num * 0.08) == a and int(num * 0.10) == b: break if num == 101: print(-1) else: print(num)
a, b = map(int, input().split()) for num in range(1, 1252): if int(num * 0.08) == a and int(num * 0.10) == b: break if num == 1251: print(-1) else: print(num)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
539,019
539,020
u598812605
python
p02755
import sys 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) sys.exit() print('-1')
import sys import math A,B = map(int,input().split()) for i in range(1,10001): if math.floor(i * 0.08) == A and math.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" ]
539,025
539,026
u497223363
python
p02755
import sys 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) sys.exit() print('-1')
import sys import math A,B = map(int,input().split()) for i in range(1,10000): if math.floor(i * 0.08) == A and math.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" ]
539,025
539,027
u497223363
python
p02755
import math a, b = map(int, input().split()) lsta = list(range(math.ceil(a/0.08), math.ceil((a+1)/0.8))) lstb = list(range(math.ceil(b/0.1), math.ceil((b+1)/0.1))) for la in lsta: for lb in lstb: if la==lb: print(la) exit() print(-1)
import math a, b = map(int, input().split()) lsta = list(range(math.ceil(a/0.08), math.ceil((a+1)/0.08))) lstb = list(range(math.ceil(b/0.1), math.ceil((b+1)/0.1))) for la in lsta: for lb in lstb: if la==lb: print(la) exit() print(-1)
[ "literal.number.float.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
539,028
539,029
u212823607
python
p02755
A, B =map(int, input().split()) M=int(-1) for i in range(1000): if int(i*0.08)==A: if int(i*0.10)==B: M=i break print(M)
A, B =map(int, input().split()) M=int(-1) for i in range(1001): if int(i*0.08)==A: if int(i*0.10)==B: M=i break print(M)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,030
539,031
u185005484
python
p02755
a,b=map(int,input().split()) for i in range(1500): if int(i*0.08) == a and int(i*0.1) == b: print(i) print(-1)
a,b=map(int,input().split()) for i in range(2000): if int(i*0.08) == a and int(i*0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.add" ]
539,032
539,033
u593364182
python
p02755
a,b = map(int, input().split()) def c(x,r): return int(-(-x//r)) a1,a2 = c(a,.08), c(a+1,.08) b1,b2 = c(b,.1), c(b+1,.1) if a1 > b2 or b1 > a2: print(-1) else: print(max(a1,b1))
a,b = map(int, input().split()) def c(x,r): return int(-(-x//r)) a1,a2 = c(a,.08), c(a+1,.08)-1 b1,b2 = c(b,.1), c(b+1,.1)-1 if a1 > b2 or b1 > a2: print(-1) else: print(max(a1,b1))
[ "assignment.change" ]
539,036
539,037
u001687078
python
p02755
import math A,B = map(int,input().split()) # print(A/0.08,B/0.1) price = [] x = int(A/0.08) # print(x,y) y = int(B/0.1) for i in range(min(x,y),10001): if math.floor(i*0.08) == math.floor(i*0.1): price.append(i) break # print(i, math.floor(i*0.08),math.floor(i*0.1)) if len(price) == 0: print(-1) else: print...
import math A,B = map(int,input().split()) # print(A/0.08,B/0.1) price = [] x = int(A/0.08) # print(x,y) y = int(B/0.1) for i in range(min(x,y),10001): if math.floor(i*0.08) == A and math.floor(i*0.1) == B: price.append(i) break # print(i, math.floor(i*0.08),math.floor(i*0.1)) if len(price) == 0: print(-1) e...
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
539,038
539,039
u343671593
python
p02755
import sys A, B = map(int,input().split()) amin, amax = A / 0.08, (A + 1) / 0.08 bmin, bmax = B / 0.10, (B + 1) / 0.10 if amax <= bmin or bmax <= amin:#解なし:区間重なりなし print(-1) sys.exit() ans = np.ceil(max(amin, bmin)).astype(int) if ans >= amax or ans >= bmax: print(-1) else: print(ans)
import sys import numpy as np A, B = map(int,input().split()) amin, amax = A / 0.08, (A + 1) / 0.08 bmin, bmax = B / 0.10, (B + 1) / 0.10 if amax <= bmin or bmax <= amin:#解なし:区間重なりなし print(-1) sys.exit() ans = np.ceil(max(amin, bmin)).astype(int) if ans >= amax or ans >= bmax: print(-1) else: print(a...
[]
539,043
539,044
u322229918
python
p02755
import math A, B = map(int, input().split()) result = 'No' for i in range(1, 101): eight = math.floor(i * 0.08) ten = math.floor(i * 0.10) if eight == A and ten == B: print(i) result = 'Yes' break if result == 'No': print(-1)
import math A, B = map(int, input().split()) result = 'No' for i in range(1, 1500): eight = math.floor(i * 0.08) ten = math.floor(i * 0.10) if eight == A and ten == B: print(i) result = 'Yes' break if result == 'No': print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,051
539,052
u150664457
python
p02755
A,B=map(int,input().split()) ans=-1 for i in range(1000): if int(i/100*8)==a and int(i/10)==b: ans==i break print(ans)
a, b = map(int, input().split()) ans = -1 for i in range(1, 1250): if int(i/100*8) == a and int(i/10) == b: ans = i break print(ans)
[ "assignment.variable.change", "identifier.change", "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add", "expression.operation.compare.replace.remove", "assignment.replace.add", "misc.typo" ]
539,053
539,054
u694665829
python
p02755
# 158-C a, b = map(int, input().split()) ans = -1 for i in range(1, 101): if int(i/100*8) == a and int(i/10) == b: ans = i break print(ans)
# 158-C a, b = map(int, input().split()) ans = -1 for i in range(1, 1250): if int(i/100*8) == a and int(i/10) == b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,055
539,056
u953794676
python
p02755
import sys A,B = map(int,input().split(" ")) sentinel1 = 0 N = 1 while sentinel1 < A: sentinel1 = int(N * 0.08) sentinel2 = int(N * 0.1) if sentinel1 == A: if sentinel2 == B: print(N) sys.exit() N = N + 1 print(-1)
import sys A,B = map(int,input().split(" ")) sentinel1 = 0 N = 1 while sentinel1 < 101: sentinel1 = int(N * 0.08) sentinel2 = int(N * 0.1) if sentinel1 == A: if sentinel2 == B: print(N) sys.exit() N = N + 1 print(-1)
[ "identifier.replace.remove", "literal.replace.add", "control_flow.loop.condition.change" ]
539,057
539,058
u273496671
python
p02755
a,b = map(int,input().split()) list = [] if 100*a%8: x=int(a/0.08)+1 else: x=int(a/0.08) if 100*(a+1)%8: y=int((a+1)/0.08)-1 else: y=int((a+1)/0.08) for i in range(x, y+1): if b/0.1 <= i <(b+1)/0.1: list.append(i) list = sorted(list) if list: print(list[0]) else: print(...
a,b = map(int,input().split()) list = [] if 100*a%8: x=int(a/0.08)+1 else: x=int(a/0.08) if 100*(a+1)%8: y=int((a+1)/0.08) else: y=int((a+1)/0.08)-1 for i in range(x, y+1): if b/0.1 <= i <(b+1)/0.1: list.append(i) list = sorted(list) if list: print(list[0]) else: print(...
[ "assignment.add", "assignment.remove" ]
539,070
539,071
u728318205
python
p02755
A, B = map(int,input().split()) Arate = 0.08 Brate = 0.10 flag = False for i in range(1,1000): tmpA = int(i*Arate) tmpB = int(i*Brate) if tmpA == A and tmpB == B: print(i) flag = True break if flag is False: print(-1)
A, B = map(int,input().split()) Arate = 0.08 Brate = 0.10 flag = False for i in range(1,1009): tmpA = int(i*Arate) tmpB = int(i*Brate) if tmpA == A and tmpB == B: print(i) flag = True break if flag is False: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,074
539,075
u310855433
python
p02755
a, b = list(map(int,input().split())) for p in range(1000): if int((p + 1) * 0.08) == a and int((p + 1) * 0.1) == b: print(p) break if p == 999: print('-1')
a, b = list(map(int,input().split())) for p in range(1000): if int((p + 1) * 0.08) == a and int((p + 1) * 0.1) == b: print(p + 1) break if p == 999: print('-1')
[ "expression.operation.binary.add" ]
539,092
539,093
u135961419
python
p02755
# coding: utf-8 # Your code here! x, y = list(map(int,(input().split()))) for a in range(1,101): if int(a * 0.1) == y: if int(a * 0.08) == x: print(a) exit() print(-1)
x, y = list(map(int,(input().split()))) for a in range(1,10001): if int(a * 0.1) == y: if int(a * 0.08) == x: print(a) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,094
539,095
u195355592
python
p02755
A,B=map(int,input().split()) i=0 while i<1000: X=int(i*0.08) Y=int(i*0.10) if A==X and B==Y: break i=i+1 if i==1000: i=-1 print(i) else: print(i)
A,B=map(int,input().split()) i=0 while i<1001: X=int(i*0.08) Y=int(i*0.10) if A==X and B==Y: break i=i+1 if i==1001: i=-1 print(i) else: print(i)
[ "literal.number.integer.change", "control_flow.loop.condition.change", "control_flow.branch.if.condition.change" ]
539,098
539,099
u216888678
python
p02755
A,B=map(int,input().split()) i=0 while i > 0: X=int(i*0.08) Y=int(i*0.10) if A==X and B==Y: break i=i+1 if i==100: i=-1 print(i) else: print(i)
A,B=map(int,input().split()) i=0 while i<1001: X=int(i*0.08) Y=int(i*0.10) if A==X and B==Y: break i=i+1 if i==1001: i=-1 print(i) else: print(i)
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
539,101
539,099
u216888678
python
p02755
A,B=map(int,input().split()) i=0 while i <100: X=int(i*0.08) Y=int(i*0.10) if A==X and B==Y: break i=i+1 if i==100: i=-1 print(i) else: print(i)
A,B=map(int,input().split()) i=0 while i<1001: X=int(i*0.08) Y=int(i*0.10) if A==X and B==Y: break i=i+1 if i==1001: i=-1 print(i) else: print(i)
[ "literal.number.integer.change", "control_flow.loop.condition.change", "control_flow.branch.if.condition.change" ]
539,102
539,099
u216888678
python
p02755
from math import * A,B = map(int,input().split()) #A,B = 1,1 #原価を推定 a = ceil(12.5*A) b = ceil(10*B) #print(a) #print(b) if A%2==0: if (a+12 < b) or (b+9 < a): print(-1) else: if a==b: print(a) elif a > b: print(a) else: print(b) ...
from math import * A,B = map(int,input().split()) #A,B = 1,1 #原価を推定 a = ceil(12.5*A) b = ceil(10*B) #print(a) #print(b) if A%2==0: if (a+12 < b) or (b+9 < a): print(-1) else: if a==b: print(a) elif a > b: print(a) else: print(b) ...
[ "literal.number.integer.change", "control_flow.branch.if.condition.change" ]
539,105
539,106
u197922478
python
p02755
from math import * A,B = map(int,input().split()) #A,B = 1,1 #原価を推定 a = ceil(12.5*A) b = ceil(10*B) #print(a) #print(b) if A%2==0: if (a+12 < b) or (b+9 < a): print(-1) else: if a==b: print(a) elif a > b: print(a) else: print(b) ...
from math import * A,B = map(int,input().split()) #A,B = 1,1 #原価を推定 a = ceil(12.5*A) b = ceil(10*B) #print(a) #print(b) if A%2==0: if (a+12 < b) or (b+9 < a): print(-1) else: if a==b: print(a) elif a > b: print(a) else: print(b) ...
[]
539,107
539,106
u197922478
python
p02755
a,b = map(int, input().split()) ans = -1 for i in range(1001) : a1 = int(i*0.08) b1 = int(i*0.1) if a1 == a and b1 == b : ans = i break print(i)
a,b = map(int, input().split()) ans = -1 for i in range(1001) : a1 = int(i*0.08) b1 = int(i*0.1) if a1 == a and b1 == b : ans = i break print(ans)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
539,110
539,111
u016182925
python
p02755
a , b = map(int, input().split()) ans = -1 for i in range(1001) : a1 = int(i*0.08) b1 = int(i*0.10) if a1 == a and b1 == b : ans = i break print(i)
a,b = map(int, input().split()) ans = -1 for i in range(1001) : a1 = int(i*0.08) b1 = int(i*0.1) if a1 == a and b1 == b : ans = i break print(ans)
[ "literal.number.float.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "identifier.change", "io.output.change" ]
539,112
539,111
u016182925
python
p02755
a , b = map(int, input().split()) ans = -1 for i in range(1010) : a1 = int(i*0.08) b1 = int(i*0.10) if a1 == a and b1 == b : ans = i break print(i)
a,b = map(int, input().split()) ans = -1 for i in range(1001) : a1 = int(i*0.08) b1 = int(i*0.1) if a1 == a and b1 == b : ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "literal.number.float.change", "assignment.value.change", "expression.operation.binary.change", "identifier.change", "io.output.change" ]
539,113
539,111
u016182925
python
p02755
a , b = map(int, input().split()) ans = -1 for i in range(1 , 10100) : a1 = int(i*0.08) b1 = int(i*0.10) if a1 == a and b1 == b : ans = i break print(i)
a,b = map(int, input().split()) ans = -1 for i in range(1001) : a1 = int(i*0.08) b1 = int(i*0.1) if a1 == a and b1 == b : ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change", "literal.number.float.change", "assignment.value.change", "expression.operation.binary.change", "identifier.change", "io.output.change" ]
539,114
539,111
u016182925
python
p02755
a, b = map(int, input().split()) flag = False for x in range(1, 1000): if int(x * 0.08) == a: if int(x * 0.1) == b: print(x) flag = True break if flag == False: print(-1)
a, b = map(int, input().split()) flag = False for x in range(1, 1001): if int(x * 0.08) == a: if int(x * 0.1) == b: print(x) flag = True break if flag == False: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,123
539,124
u242196904
python
p02755
a, b = map(int, input().split()) flag = False for x in range(1000): if int(x * 0.08) == a: if int(x * 0.1) == b: print(x) flag = True break if flag == False: print(-1)
a, b = map(int, input().split()) flag = False for x in range(1, 1001): if int(x * 0.08) == a: if int(x * 0.1) == b: print(x) flag = True break if flag == False: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
539,125
539,124
u242196904
python
p02755
a,b = map(int,input().split()) if b*10 <= a*100/8 < (b+1)*10: if int(a*100/8) == a*100/8: print(int(a*100/8)) else: printf(int(a*100/8)+1) else: if a*100/8 <= b*10 < (a+1)*100/8: print(b*10) else: print(-1)
a,b = map(int,input().split()) if b*10 <= a*100/8 < (b+1)*10: if int(a*100/8) == a*100/8: print(int(a*100/8)) else: print(int(a*100/8)+1) else: if a*100/8 <= b*10 < (a+1)*100/8: print(b*10) else: print(-1)
[ "identifier.change", "call.function.change", "io.output.change" ]
539,126
539,127
u932465688
python
p02755
A, B = map(int, input().split()) ret = -1 for i in range(1,101): tax_A = int(i * 0.08) tax_B = int(i * 0.10) if tax_A == A and tax_B == B: ret = i break print(ret)
A, B = map(int, input().split()) ret = -1 for i in range(1,1500): tax_A = int(i * 0.08) tax_B = int(i * 0.10) if tax_A == A and tax_B == B: ret = i break print(ret)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,128
539,129
u078957995
python
p02755
import math A,B = map(int,input().split()) c = 0 for i in range(math.ceil(A/0.08),math.floor((A+1)/0.08)+1): if c == 1: break for j in range(math.ceil(B/0.1),math.floor((B+1)/0.1)+1): if i == j: print(i) c = 1 break if c == 0: print(-1)
import math A,B = map(int,input().split()) c = 0 for i in range(math.ceil(A/0.08),math.floor((A+0.99)/0.08)+1): if c == 1: break for j in range(math.ceil(B/0.1),math.floor((B+0.99)/0.1)+1): if i == j: print(i) c = 1 break if c == 0: print(-1)
[ "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
539,130
539,131
u201387466
python
p02755
A,B=map(int,input().split()) for i in range(10000): if i*0.08//1==A and i*0.1//1==B: print(i) exit(0)
A,B=map(int,input().split()) for i in range(10000): if i*0.08//1==A and i*0.1//1==B: print(i) exit(0) print("-1")
[ "call.add" ]
539,132
539,133
u297651868
python
p02755
import math A, B = map(int, input().split()) A1 = A * 12.5 A2 = (A + 0.9) * 12.5 B1 = B * 10 B2 = (B + 0.9) * 10 if B1 <= A1 and A1 < (B + 1) * 10: print(math.floor(A1)) elif A1 <= B1 and B1 < (A + 1) *12.5 : print(math.floor(B1)) else: print(-1)
import math A, B = map(int, input().split()) A1 = A * 12.5 A2 = (A + 0.9) * 12.5 B1 = B * 10 B2 = (B + 0.9) * 10 if B1 <= A1 and A1 < (B + 1) * 10: print(math.ceil(A1)) elif A1 <= B1 and B1 < (A + 1) *12.5 : print(B1) else: print(-1)
[ "misc.opposites", "identifier.change", "call.arguments.change", "io.output.change", "call.remove" ]
539,141
539,142
u217936379
python
p02755
# input A,B = map(int, input().split()) # calculate price = -1 for n in range(100): if int(n * 0.08) == A and int(n * 0.1) == B: price = n break else: pass # output print(price)
# input A,B = map(int, input().split()) # calculate price = -1 for n in range(10000): if int(n * 0.08) == A and int(n * 0.1) == B: price = n break else: pass # output print(price)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,143
539,144
u814885356
python
p02755
ret = "-1" A, B = [int(i) for i in input().split(" ")] for i in range(1,2000): if int(i*0.08) == A and int(i * 0.1) == B: ret = str(i) break print(i)
ret = "-1" A, B = [int(i) for i in input().split(" ")] for i in range(1,2000): if int(i*0.08) == A and int(i * 0.1) == B: ret = str(i) break print(ret)
[ "identifier.change", "call.arguments.change", "io.output.change" ]
539,151
539,152
u946996108
python
p02755
A,B=map(int,input().split()) def tax(A,B): count=0 x=B/0.1 if x*0.08>A: return '-1' y=int(x*0.08) while True: if y<A: count+=1 x+=1 y=int(x*0.08) else: if count>9: return '-1' else: r...
A,B=map(int,input().split()) def tax(A,B): count=0 x=B/0.1 if int(x*0.08)>A: return '-1' y=int(x*0.08) while True: if y<A: count+=1 x+=1 y=int(x*0.08) else: if count>9: return '-1' else: ...
[ "control_flow.branch.if.condition.change", "call.add" ]
539,156
539,157
u988661952
python
p02755
A,B=map(int,input().split()) def tax(A,B): count=0 x=B/0.1 if x*0.08>A: return '-1' y=int(x*0.08) while True: if y<A: count+=0 x+=1 y=int(x*0.08) else: if count>9: return '-1' else: r...
A,B=map(int,input().split()) def tax(A,B): count=0 x=B/0.1 if int(x*0.08)>A: return '-1' y=int(x*0.08) while True: if y<A: count+=1 x+=1 y=int(x*0.08) else: if count>9: return '-1' else: ...
[ "control_flow.branch.if.condition.change", "call.add", "literal.number.integer.change" ]
539,158
539,157
u988661952
python
p02755
a, b = map(int, input().split()) for i in range(1, 1000): if (i * 8) // 100 == a and (i * 10) // 100 == b: print(i) break else: print(-1)
a, b = map(int, input().split()) for i in range(1, 10000): 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" ]
539,162
539,163
u029576659
python
p02755
a, b = map(int, input().split()) for i in range(1000): if (i * 8) // 100 == a and (i * 10) // 100 == b: print(i) break else: print(-1)
a, b = map(int, input().split()) for i in range(1, 10000): 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", "call.arguments.add" ]
539,164
539,163
u029576659
python
p02755
A,B=map(int,input().split()) flg=0 for i in range(101): if int(i*0.08)==A and int(i*0.1)==B: print(i) flg=1 break if flg==0: print(-1)
A,B=map(int,input().split()) flg=0 for i in range(1200): if int(i*0.08)==A and int(i*0.1)==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" ]
539,169
539,170
u414699019
python
p02755
a, b = map(int, input().split()) for p in range(10*4): tax8 = p*0.08 tax10 = p*0.1 if int(tax8)==a and int(tax10)==b: print(p) exit() print(-1)
a, b = map(int, input().split()) for p in range(10**4): tax8 = p*0.08 tax10 = p*0.1 if int(tax8)==a and int(tax10)==b: print(p) exit() print(-1)
[ "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
539,180
539,181
u896726004
python
p02755
a,b = map(int, input().split()) j = -1 for t in range(1000): if int(t*0.08) == a and int(t*0.1) == b: j = t break print(j)
a,b = map(int, input().split()) j = -1 for t in range(1, 1010): if int(t*0.08) == a and int(t*0.1) == b: j = t break print(j)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
539,184
539,185
u285497176
python
p02755
import math a , b = map(int,input().split()) al = math.ceil(a / 0.08) ar = math.floor((a + 1)/0.08) bl = math.ceil(b/0.1) br = math.floor((b+1)/0.1) ans = 0 if al <= bl and ar >= bl: ans = bl elif al >= bl and br >= al: ans = al else: ans = -1 print(ans)
import math a , b = map(int,input().split()) al = math.ceil(a / 0.08) ar = math.floor((a + 1)/0.08) bl = math.ceil(b/0.1) br = math.floor((b+1)/0.1) ans = 0 if al <= bl and ar > bl: ans = bl elif al >= bl and br > al: ans = al else: ans = -1 print(ans)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
539,188
539,189
u305534505
python
p02755
import math a , b = map(int,input().split()) al = math.ceil(a / 0.08) ar = math.floor((a + 1)/0.08) bl = math.ceil(b/0.1) br = math.floor((b+1)/0.08) ans = 0 if al <= bl and ar >= bl: ans = bl elif al >= bl and br >= al: ans = al else: ans = -1 # if al == bl: # ans = al # elif al > bl: # if al > br:...
import math a , b = map(int,input().split()) al = math.ceil(a / 0.08) ar = math.floor((a + 1)/0.08) bl = math.ceil(b/0.1) br = math.floor((b+1)/0.1) ans = 0 if al <= bl and ar > bl: ans = bl elif al >= bl and br > al: ans = al else: ans = -1 print(ans)
[ "literal.number.float.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
539,190
539,189
u305534505
python
p02755
import math a , b = map(int,input().split()) al = math.ceil(a / 0.08) ar = math.floor((a + 1)/0.08) bl = math.ceil(b/0.1) br = math.floor((b+1)/0.1) ans = 0 if al <= bl and ar >= bl: ans = bl elif al >= bl and br >= al: ans = al else: ans = -1 # if al == bl: # ans = al # elif al > bl: # if al > br: ...
import math a , b = map(int,input().split()) al = math.ceil(a / 0.08) ar = math.floor((a + 1)/0.08) bl = math.ceil(b/0.1) br = math.floor((b+1)/0.1) ans = 0 if al <= bl and ar > bl: ans = bl elif al >= bl and br > al: ans = al else: ans = -1 # if al == bl: # ans = al # elif al > bl: # if al > br: # ...
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
539,191
539,192
u305534505
python
p02755
import math A,B = map(int,input().split()) flag = 0 for i in range(1,150): if math.floor(i*0.08)== A: if math.floor(i*0.1) == B: print(i) flag += 1 break if flag == 0: print(-1)
import math A,B = map(int,input().split()) flag = 0 for i in range(1,10**5): if math.floor(i*0.08) == A and math.floor(i*0.1) == B: print(i) flag += 1 break if flag == 0: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,197
539,198
u556589653
python
p02755
A,B=(int(x) for x in input().split()) for N in range(1000): a=int(N*0.08) b=int(N*0.1) if a==A and b==B: print(N) break if N==999: print("-1")
A,B=(int(x) for x in input().split()) for N in range(1001): a=int(N*0.08) b=int(N*0.1) if a==A and b==B: print(N) break if N==1000: print("-1")
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
539,206
539,207
u830087664
python
p02755
import math def main(): A, B = map(int, input().split()) a_l = A / 0.08 a_m = (A + 1) / 0.08 b_l = B / 0.08 b_m = (B + 1) / 0.08 l = max(a_l, b_l) m = min(a_m, b_m) c = math.ceil(l) if c < m: print(int(c)) else: print(-1) if __name__ == '__main__': ma...
import math def main(): A, B = map(int, input().split()) a_l = A / 0.08 a_m = (A + 1) / 0.08 b_l = B / 0.1 b_m = (B + 1) / 0.1 l = max(a_l, b_l) m = min(a_m, b_m) c = math.ceil(l) if c < m: print(int(c)) else: print(-1) if __name__ == '__main__': main...
[ "literal.number.float.change", "assignment.value.change", "expression.operation.binary.change" ]
539,219
539,220
u866949333
python
p02755
import math from sys import stdin A, B = map(int, stdin.readline().split()) A_min = int(math.ceil(100*A/8)) A_max = int(math.floor((100*A + 1)/8)) B_min = 10*B A_ = [] c = int(math.ceil(100*A/8)) while c < (A + 1)*100/8: A_.append(c) c += 1 B_ = [] c = 10*B while c < 10*B + 10: B_.append(c) c += 1 C =...
import math from sys import stdin A, B = map(int, stdin.readline().split()) A_min = int(math.ceil(100*A/8)) A_max = int(math.floor((100*A + 1)/8)) B_min = 10*B A_ = [] c = int(math.ceil(100*A/8)) while c < (A + 1)*100/8: A_.append(c) c += 1 B_ = [] c = 10*B while c < 10*B + 10: B_.append(c) c += 1 C =...
[ "call.add", "call.arguments.change" ]
539,226
539,227
u677443734
python
p02755
A,B = map(int, input().split()) for x in range(1010): if(x * 8 // 100 == A and x * 10 // 100): print(x) exit() print(-1)
A,B = map(int, input().split()) for x in range(1010): if(x * 8 // 100 == A and x * 10 // 100 == B): print(x) exit() print(-1)
[ "control_flow.branch.if.condition.change", "control_flow.loop.for.condition.change" ]
539,229
539,230
u285265363
python
p02755
import math A, B = map(int, input().split()) INF = 10**3 for x in range(INF): if math.floor(x * 0.08) == A: if math.floor(x * 0.10) == B: print(x) exit() print(-1)
import math A, B = map(int, input().split()) INF = 10**4 for x in range(INF): if math.floor(x * 0.08) == A: if math.floor(x * 0.10) == B: print(x) exit() print(-1)
[ "literal.number.integer.change", "assignment.value.change", "expression.operation.binary.change" ]
539,245
539,246
u697101155
python
p02755
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 101): if (int(candidate * 0.08) == A) and (int(candidate * 0.1) == B): ans = candidate break print(ans)
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 1009): if int(candidate * 0.08) == A and int(candidate * 0.1) == B: ans = candidate break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
539,262
539,263
u917013605
python
p02755
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 101): if int(candidate * 0.08) == A and int(candidate * 0.1) == B: ans = candidate break print(ans)
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 1009): if int(candidate * 0.08) == A and int(candidate * 0.1) == B: ans = candidate break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,264
539,263
u917013605
python
p02755
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 1001): print(candidate) if (int(candidate * 0.08) == A) and (int(candidate * 0.1) == B): ans = candidate break print(ans)
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 1009): if (int(candidate * 0.08) == A) and (int(candidate * 0.1) == B): ans = candidate break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.remove" ]
539,266
539,267
u917013605
python
p02755
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 101): if (int(candidate * 0.08) == A) and (int(candidate * 0.1) == B): ans = candidate break print(ans)
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 1009): if (int(candidate * 0.08) == A) and (int(candidate * 0.1) == B): ans = candidate break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
539,262
539,267
u917013605
python
p02755
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 101): if int(candidate * 0.08) == A and int(candidate * 0.1) == B: ans = candidate break print(ans)
A, B = map(int, input().split()) ans = -1 for candidate in range(max(A, B), 1009): if (int(candidate * 0.08) == A) and (int(candidate * 0.1) == B): ans = candidate break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
539,264
539,267
u917013605
python