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 p in range(1, 101): if p*108//100-p==A and p*110//100-p==B: print(p) exit() print(-1)
A, B = map(int, input().split()) for p in range(1, 100001): if p*108//100-p==A and p*110//100-p==B: print(p) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
540,979
540,980
u047816928
python
p02755
a, b = map(int, input().split()) judge = True for i in range(1,1000): if 0.08*i//1 == a and 0.1*i//1 ==b: print(i) judge = False break if judge: print(-1)
a, b = map(int, input().split()) judge = True for i in range(1,1001): if 0.08*i//1 == a and 0.1*i//1 ==b: print(i) judge = False break if judge: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,000
541,001
u631019293
python
p02755
A, B = map(int, input().split()) ans = -1 for i in range(1, 1000): if int(i * 0.08) == A and int(i * 0.1) == B: ans = i break print(ans)
A, B = map(int, input().split()) ans = -1 for i in range(1, 100000): 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" ]
541,002
541,003
u278057806
python
p02755
A, B = map(int, input().split()) for i in range(1000): if i*108//100-i==A and i*110//100-i==B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(100000): if i*108//100-i==A and i*110//100-i==B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,017
541,018
u047796752
python
p02755
#!/usr/bin/env python3 import sys import math def solve(A: int, B: int): for i in range(1,1000): if A == math.floor(0.08*float(i)) and B == math.floor(0.1*float(i)): print(i) return print(-1) # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use t...
#!/usr/bin/env python3 import sys import math def solve(A: int, B: int): for i in range(1,1001): if A == math.floor(0.08*float(i)) and B == math.floor(0.1*float(i)): print(i) return print(-1) # Generated by 1.1.6 https://github.com/kyuridenamida/atcoder-tools (tips: You use t...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,036
541,037
u873927631
python
p02755
import math a,b=map(int,input().split()) n=101 for i in range(1,n): if math.floor(i*0.08)==a and math.floor(i*0.1)==b: exit() print(-1)
import math a,b = map(int,input().split()) n = 100000 for i in range(1,n): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "assignment.value.change", "call.add" ]
541,040
541,041
u678503521
python
p02755
import math a,b=map(int,input().split()) n=101 for i in range(1,n): 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()) n = 100000 for i in range(1,n): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "assignment.value.change" ]
541,042
541,041
u678503521
python
p02755
# from fractions import gcd # mod = 10 ** 9 + 7 # N = int(input()) # a = list(map(int,input().split())) # a,b,c = map(int,input().split()) # ans = [0] * N # math.ceilで切り上げ # dp = [[0] * 4 for i in range(3)] #2次元配列初期化 # dp = [[[0] * 2 for i in range(3)] for j in range(5)] # (ord('A'))でASCII出力 Aは65 import math import sta...
# from fractions import gcd # mod = 10 ** 9 + 7 # N = int(input()) # a = list(map(int,input().split())) # a,b,c = map(int,input().split()) # ans = [0] * N # math.ceilで切り上げ # dp = [[0] * 4 for i in range(3)] #2次元配列初期化 # dp = [[[0] * 2 for i in range(3)] for j in range(5)] # (ord('A'))でASCII出力 Aは65 import math import sta...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,047
541,048
u143903328
python
p02755
A, B = map(int, input().split()) ans = -1 for i in range(1,100): a = int(i * 1.08) b = int(i * 1.1) if a == A and b == B: ans = i break print(ans)
A, B = map(int, input().split()) ans = -1 for i in range(1,1300): a = int(i * 0.08) b = int(i * 0.1) if a == A and b == 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" ]
541,051
541,052
u779728630
python
p02755
a, b = map(int, input().split()) for i in range(200): if int(i * 1.08) - i == a and int(i * 1.1) - i == b: print(i) exit() print(-1)
a, b = map(int, input().split()) for i in range(10000): if int(i * 1.08) - i == a and int(i * 1.1) - i == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,055
541,056
u761989513
python
p02755
# -*- coding: utf-8 -*- import bisect import heapq import math import random import sys from collections import Counter, defaultdict, deque from decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal from functools import lru_cache, reduce from itertools import combinations, combinations_with_replacement, product, permut...
# -*- coding: utf-8 -*- import bisect import heapq import math import random import sys from collections import Counter, defaultdict, deque from decimal import ROUND_CEILING, ROUND_HALF_UP, Decimal from functools import lru_cache, reduce from itertools import combinations, combinations_with_replacement, product, permut...
[ "call.arguments.add" ]
541,063
541,064
u334712262
python
p02755
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy sys.setrecursionlimit(10**7) inf=10**20 mod=10**9+7 dd=[(-1,0),(0,1),(1,0),(0,-1)] ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)] def LI(): return [int(x) for x in sys.stdin.readline().split()] def I(): return int(sys.stdin.readline(...
import math,itertools,fractions,heapq,collections,bisect,sys,queue,copy sys.setrecursionlimit(10**7) inf=10**20 mod=10**9+7 dd=[(-1,0),(0,1),(1,0),(0,-1)] ddn=[(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)] def LI(): return [int(x) for x in sys.stdin.readline().split()] def I(): return int(sys.stdin.readline(...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,065
541,066
u941753895
python
p02755
a,b=map(int,input().split()) p=a/0.08 q=(a+1)/0.08 r=b/0.1 s=(b+1)/0.1 Min=max(p,r) Max=min(q,s) if Min>Max: print(-1) else: print(int(-(-Min//1)))
a,b=map(int,input().split()) p=a/0.08 q=(a+1)/0.08 r=b/0.1 s=(b+1)/0.1 Min=max(p,r) Max=min(q,s) if Min>=Max: print(-1) else: print(int(-(-Min//1)))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
541,069
541,070
u774539708
python
p02755
# 入力が10**5とかになったときに100ms程度早い import sys read = sys.stdin.readline def read_ints(): return list(map(int, read().split())) def read_a_int(): return int(read()) def read_tuple(H): ''' H is number of rows ''' ret = [] for _ in range(H): ret.append(tuple(map(int, read().split()))) ...
# 入力が10**5とかになったときに100ms程度早い import sys read = sys.stdin.readline def read_ints(): return list(map(int, read().split())) def read_a_int(): return int(read()) def read_tuple(H): ''' H is number of rows ''' ret = [] for _ in range(H): ret.append(tuple(map(int, read().split()))) ...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,079
541,080
u179169725
python
p02755
# 入力が10**5とかになったときに100ms程度早い import sys read = sys.stdin.readline def read_ints(): return list(map(int, read().split())) def read_a_int(): return int(read()) def read_tuple(H): ''' H is number of rows ''' ret = [] for _ in range(H): ret.append(tuple(map(int, read().split()))) ...
# 入力が10**5とかになったときに100ms程度早い import sys read = sys.stdin.readline def read_ints(): return list(map(int, read().split())) def read_a_int(): return int(read()) def read_tuple(H): ''' H is number of rows ''' ret = [] for _ in range(H): ret.append(tuple(map(int, read().split()))) ...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
541,081
541,080
u179169725
python
p02755
A, B = map(int, input().split()) p = -1 for i in range(101): if (108 * i) // 100 - i == A and (11 * i) // 10 - i == B: p = i break print(p)
A, B = map(int, input().split()) p = -1 for i in range(100001): if (108 * i) // 100 - i == A and (11 * i) // 10 - i == B: p = i break print(p)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,086
541,087
u984276646
python
p02755
A, B = map(int, input().split()) p = -1 for i in range(101): if (108 * i) // 100 == A and (11 * i) // 10 == B: p = i break print(p)
A, B = map(int, input().split()) p = -1 for i in range(100001): if (108 * i) // 100 - i == A and (11 * i) // 10 - i == B: p = i break print(p)
[ "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" ]
541,088
541,087
u984276646
python
p02755
A, B = map(int, input().split()) for i in range(1000): if int(i*0.08)==A and int(i*0.1)==B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(2000): if int(i*0.08)==A and int(i*0.1)==B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,091
541,092
u325282913
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) exit(0) print(-1)
A, B = map(int, input().split()) for i in range(1, 1001): if (i * 0.08) // 1 == A and (i * 0.1) // 1 == B: print(i) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,093
541,094
u814986259
python
p02755
A, B = list(map(int, input().split())) def main(): for x in range(200): if x * 8 // 100 == A and x * 10// 100 == B: print(x) return print(-1) return main()
A, B = list(map(int, input().split())) def main(): for x in range(2000): if x * 8 // 100 == A and x * 10// 100 == B: print(x) return print(-1) return main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,097
541,098
u584790715
python
p02755
import math A,B = map(int, input().split()) for x in range(1000): if math.floor(x*0.08) == A and math.floor(x*0.1) == B: print(x) exit() print(-1)
import math A,B = map(int, input().split()) for x in range(10000): if math.floor(x*0.08) == A and math.floor(x*0.1) == B: print(x) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,103
541,104
u285443936
python
p02755
A,B = map(int,input().split()) flag = 0 for i in range(1000): a = int(i*0.08) b = int(i*0.1) if A==a and B==b: flag = 1 ans = i break if flag == 1: print(ans) else: print(-1)
A,B = map(int,input().split()) flag = 0 for i in range(10000): a = int(i*0.08) b = int(i*0.1) if A==a and B==b: flag = 1 ans = i break if flag == 1: print(ans) else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,119
541,120
u980322611
python
p02755
a,b = map(int,input().split()) ans = -1 for i in range(1001): if int(i*0.08) == a and int(i*0.1) == b: ans = i print(ans)
a,b = map(int,input().split()) ans = -1 for i in range(1001): if int(i*0.08) == a and int(i*0.1) == b: ans = i break print(ans)
[ "control_flow.break.add" ]
541,123
541,124
u145600939
python
p02755
import math A, B = map(int, input().split()) Amin = A / 0.08 Amax = (A + 0.999999) / 0.08 Bmin = B / 0.10 Bmax = (B + 0.999999) / 0.10 Aset = set(list(range(math.floor(Amin), math.floor(Amax)))) Bset = set(list(range(math.floor(Bmin), math.floor(Bmax)))) result_set = Aset & Bset if len(result_set) == 0: print(...
import math A, B = map(int, input().split()) Amin = A / 0.08 Amax = (A + 0.999999) / 0.08 Bmin = B / 0.10 Bmax = (B + 0.999999) / 0.10 Aset = set(list(range(math.ceil(Amin), math.floor(Amax)))) Bset = set(list(range(math.ceil(Bmin), math.floor(Bmax)))) result_set = Aset & Bset if len(result_set) == 0: print(-1...
[ "misc.opposites", "assignment.value.change", "identifier.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,148
541,149
u672054421
python
p02755
A, B = map(int, input().rstrip().split()) ret = 1000000 for i in range(1, 101): if int(i * 0.08) == A and int(i*0.1) == B and ret > i: ret = i if ret == 1000000: ret = -1 print(ret)
A, B = map(int, input().rstrip().split()) ret = 1000000 for i in range(1, 10001): if int(i * 0.08) == A and int(i*0.1) == B and ret > i: ret = i break if ret == 1000000: ret = -1 print(ret)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.break.add" ]
541,156
541,157
u541921833
python
p02755
# import sys import math import numpy as np import itertools # いくつか入力 a, b = (int(i) for i in input().split()) p = [] answer=-1 for i in range(1,101): if int(i*0.08) == a: p.append(i) for i in p: if int(i*0.1) == b: answer = i break #print(answer) print("-1")
# import sys import math import numpy as np import itertools # いくつか入力 a, b = (int(i) for i in input().split()) p = [] answer=-1 for i in range(1,1001): if int(i*0.08) == a: p.append(i) for i in p: if int(i*0.1) == b: answer = i break print(answer)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "io.output.change" ]
541,160
541,161
u517152997
python
p02755
# import sys import math import numpy as np import itertools # いくつか入力 a, b = (int(i) for i in input().split()) p = [] answer=-1 for i in range(1,101): if int(i*0.08) == a: p.append(i) for i in p: if int(i*0.1) == b: answer = i break print(answer)
# import sys import math import numpy as np import itertools # いくつか入力 a, b = (int(i) for i in input().split()) p = [] answer=-1 for i in range(1,1001): if int(i*0.08) == a: p.append(i) for i in p: if int(i*0.1) == b: answer = i break print(answer)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,162
541,161
u517152997
python
p02755
# import sys import math import numpy as np import itertools # いくつか入力 a, b = (int(i) for i in input().split()) p = [] answer=-1 for i in range(1,101): if int(i*0.08) == a: p.append(i) for i in p: if int(i*0.1) == b: answer = i break print(answer)
# import sys import math import numpy as np import itertools # いくつか入力 a, b = (int(i) for i in input().split()) p = [] answer=-1 for i in range(1,1001): if int(i*0.08) == a: p.append(i) for i in p: if int(i*0.1) == b: answer = i break print(answer)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,163
541,161
u517152997
python
p02755
import math a,b = map(int,input().split()) x = a * 100 / 8 y = (a+1) * 100 / 8 z = b * 100 / 10 w = (b+1) * 100 / 10 if z <= x and x <= w and w <= y: print(math.ceil(x)) elif x <= z and z <= y and y <= w: print(math.ceil(z)) else: print(-1)
import math a,b = map(int,input().split()) x = a * 100 / 8 y = (a+1) * 100 / 8 z = b * 100 / 10 w = (b+1) * 100 / 10 if z <= x and x < w and w <= y: print(math.ceil(x)) elif x <= z and z < y and y <= w: print(math.ceil(z)) else: print(-1)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
541,175
541,176
u183966781
python
p02755
import math inp = input().split(" ") A, B = int(inp[0]), int(inp[1]) # print(int(A * 1/0.08)) possible = int(A * 1/0.08) // 10 # print(possible) answer = [] for i in range(possible * 10, possible * 10 + 10): tax_a = int(i * 0.08) tax_b = int(i * 0.1) # print(tax_a, tax_b) if tax_a == A and tax_b == B: a...
import math inp = input().split(" ") A, B = int(inp[0]), int(inp[1]) # print(int(A * 1/0.08)) possible = int(B * 1/0.10) // 10 # print(possible) answer = [] for i in range(possible * 10, possible * 10 + 10): tax_a = int(i * 0.08) tax_b = int(i * 0.1) # print(tax_a, tax_b) if tax_a == A and tax_b == B: a...
[ "assignment.value.change", "identifier.change", "call.arguments.change", "expression.operation.binary.change", "literal.number.float.change" ]
541,179
541,180
u468313559
python
p02755
a, b = map(int, input().split()) b = b * 10 r = -1 for i in range(b, b+20): if int(i * 0.08) == a: r = i break print(r)
a, b = map(int, input().split()) b = b * 10 r = -1 for i in range(b, b+10): if int(i * 0.08) == a: r = i break print(r)
[ "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
541,181
541,182
u578970900
python
p02755
a, b = map(int, input().split()) b = b * 10 - 9 r = -1 for i in range(b, b+20): if int(i * 0.08) == a: r = i break print(r)
a, b = map(int, input().split()) b = b * 10 r = -1 for i in range(b, b+10): if int(i * 0.08) == a: r = i break print(r)
[ "expression.operation.binary.remove", "literal.number.integer.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
541,183
541,182
u578970900
python
p02755
A, B = [int(i) for i in input().split()] ans = [] true_A_max = A + 0.999 true_B_max = B + 0.999 X_A = math.floor(A / 0.08) X_max_A = math.ceil(true_A_max /0.08) X_B = math.floor(B / 0.1) X_max_B = math.ceil(true_B_max /0.08) if X_max_A - X_A >= X_max_B - X_B: X_min = X_B X_max = X_max_B else: X_min = X...
import math A, B = [int(i) for i in input().split()] ans = [] true_A_max = A + 0.999 true_B_max = B + 0.999 X_A = math.floor(A / 0.08) X_max_A = math.ceil(true_A_max /0.08) X_B = math.floor(B / 0.1) X_max_B = math.ceil(true_B_max /0.08) if X_max_A - X_A >= X_max_B - X_B: X_min = X_B X_max = X_max_B else: ...
[]
541,192
541,193
u516589098
python
p02755
import math A, B = map(int, input().split()) tmpa = math.floor(A / 0.08) tmpb = math.floor(B / 0.1) alst = [] blst = [] indexa = 0 while True: tmp = math.floor((tmpa + indexa) * 0.08) if tmp == A: alst.append(tmpa + indexa) indexa += 1 elif tmp > A: break else: indexa +=...
import math A, B = map(int, input().split()) tmpa = math.floor(A / 0.08) tmpb = math.floor(B / 0.1) alst = [] blst = [] indexa = 0 while True: tmp = math.floor((tmpa + indexa) * 0.08) if tmp == A: alst.append(tmpa + indexa) indexa += 1 elif tmp > A: break else: indexa +=...
[ "literal.number.integer.change", "assignment.value.change" ]
541,207
541,206
u311379832
python
p02755
a, b = map(int, input().split()) for price in range(1, 101): if int(price * 0.08) == a and int(price * 0.1) == b: print(price) exit() print(-1)
a, b = map(int, input().split()) for price in range(1, 1010): if int(price * 0.08) == a and int(price * 0.1) == b: print(price) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,208
541,209
u024450350
python
p02755
import math A,B=map(int,input().split()) C=max(math.ceil(100*A/8),math.ceil(10*B)) D=min(math.floor(100*(A+1)/8),math.floor(10*(B+1))) if C>D: print("-1") else: print(C)
import math A,B=map(int,input().split()) C=max(math.ceil(100*A/8),math.ceil(10*B)) D=min(math.floor(100*(A+1)/8),math.floor(10*(B+1))) if C>=D: print("-1") else: print(C)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
541,210
541,211
u419963262
python
p02755
import math a, b = map(int,input().split()) ansA = int(a / 0.08) ansB = int(b / 0.1) if ansA < ansB: rr = range(ansA, ansB + 1) elif ansA > ansB: rr = range(ansB, ansA + 1) else: print(ansA) exit() for i in rr: if math.floor(i * 0.08) == a and math.floor(i * 0.10) == b: print(i) exit() print(-1)
import math a, b = map(int,input().split()) ansA = math.ceil(a / 0.08) ansB = math.ceil(b / 0.1) if ansA < ansB: rr = range(ansA, ansB + 1) elif ansA > ansB: rr = range(ansB, ansA + 1) else: print(ansA) exit() for i in rr: if math.floor(i * 0.08) == a and math.floor(i * 0.10) == b: print(i) exit() ...
[ "assignment.value.change" ]
541,212
541,213
u646244131
python
p02755
import math A, B = map(int, input().split()) value = int(A / 0.08) limit = math.ceil((A + 1) / 0.08) while value < limit: if B == int(value * 0.1): print(value) break value += 1 else: print('-1')
import math A, B = map(int, input().split()) value = math.ceil(A / 0.08) limit = math.ceil((A + 1) / 0.08) while value < limit: if B == int(value * 0.1): print(value) break value += 1 else: print('-1')
[ "assignment.value.change" ]
541,224
541,225
u761720628
python
p02755
import math A, B = map(int, input().split()) min_ans = -(-A // 0.08) kouho = [min_ans] to_continue = True while to_continue: min_ans += 1 if math.floor(min_ans * 0.08) == A: kouho.append(min_ans) else: break print_flag = False for i in kouho: if math.floor(i * 0.1) == B: ...
import math A, B = map(int, input().split()) min_ans = -(-A // 0.08) kouho = [min_ans] to_continue = True while to_continue: min_ans += 1 if math.floor(min_ans * 0.08) == A: kouho.append(min_ans) else: break print_flag = False for i in kouho: if math.floor(i * 0.1) == B: ...
[ "call.add", "call.arguments.change" ]
541,226
541,227
u670133596
python
p02755
from math import ceil A, B = map(int, input().split(' ')) x0 = ceil(A / 0.08) x1 = ceil((A+1) / 0.08) y0 = ceil(B / 0.1) y1 = ceil((B+1) / 0.1) if x1 < y0 or y1 < x0: print(-1) else: print(min(max(x0, y0), min(x1, y1)))
from math import ceil A, B = map(int, input().split(' ')) x0 = ceil(A / 0.08) x1 = ceil((A+1) / 0.08) y0 = ceil(B / 0.1) y1 = ceil((B+1) / 0.1) if x1 <= y0 or y1 <= x0: print(-1) else: print(min(max(x0, y0), min(x1, y1)))
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
541,230
541,231
u173394055
python
p02755
import math A,B=map(int,input().split()) ans=-1 for i in range(1,101): if math.floor(i*0.08)==A and math.floor(i*0.1)==B: ans=i break print(ans)
import math A,B=map(int,input().split()) ans=-1 for i in range(1,1001): if math.floor(i*0.08)==A and math.floor(i*0.1)==B: ans=i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,234
541,235
u821775079
python
p02755
import math A,B=map(int,input().split()) ans=-1 for i in range(1,B*10+1): if math.floor(i*0.08)==A and math.floor(i*0.1)==B: ans=i break print(ans)
import math A,B=map(int,input().split()) ans=-1 for i in range(1,1001): if math.floor(i*0.08)==A and math.floor(i*0.1)==B: ans=i break print(ans)
[ "identifier.replace.remove", "literal.replace.add", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.remove" ]
541,236
541,235
u821775079
python
p02755
ans=0 a,b=map(int,input().split()) for i in range(1000): ans1=int(i*1.08) ans2=int(i*1.1) ans11=ans1-i ans22=ans2-i if ans11==a and ans22==b: print(i) exit(0) print(-1)
ans=0 a,b=map(int,input().split()) for i in range(10000): ans1=int(i*1.08) ans2=int(i*1.1) ans11=ans1-i ans22=ans2-i if ans11==a and ans22==b: print(i) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,238
541,239
u690037900
python
p02755
x, y = map(int, input().split()) tmp = range(int(y/0.1), int((y+1)/0.1)) ans=-1 for i in range(int(x/0.08), int((x+1)/0.08)): if i in tmp: ans=i break print(ans)
x, y = map(int, input().split()) tmp = range(int(y//0.1)+1, int((y+1)/0.1)) ans=-1 for i in range(int(x//0.08)+1, int((x+1)/0.08)): if i in tmp: ans=i break print(ans)
[ "expression.operator.arithmetic.change", "assignment.value.change", "call.arguments.change", "expression.operation.binary.change", "control_flow.loop.range.bounds.upper.change" ]
541,257
541,258
u813993459
python
p02755
a, b = map(int, input().split()) ans = [] for i in range(1,101): if a == int(i*0.08) and b == int(i*0.1): ans.append(i) if len(ans) == 0: print("-1") else: print(min(ans))
a, b = map(int, input().split()) ans = [] for i in range(1,1251): if a == int(i*0.08) and b == int(i*0.1): ans.append(i) if len(ans) == 0: print("-1") else: print(min(ans))
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,259
541,260
u408791346
python
p02755
a, b = map(int, input().split()) for i in range(int(a/0.08), int((a+1)/0.08+0.5)): if int(i * 0.1) == b: print(i) break else: print(-1)
a, b = map(int, input().split()) for i in range(int(a/0.08+0.5), int((a+1)/0.08+0.5)): if int(i * 0.1) == b: print(i) break else: print(-1)
[ "expression.operation.binary.add" ]
541,261
541,262
u660245210
python
p02755
import sys import math a,b = map(int,input().split()) for i in range(1,101): x = math.floor(0.08 * i) y = math.floor(0.1 * i) if x == a and y == b: print(i) sys.exit() print(-1)
import sys import math a,b = map(int,input().split()) for i in range(1,1001): x = math.floor(0.08 * i) y = math.floor(0.1 * i) if x == a and y == b: print(i) sys.exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,263
541,264
u046592970
python
p02755
a,b =map(int,input().split()) # mは原価 m = int(a*(100/8)) while int(m*(8/100)) == a: if int(m*0.1) == b: print(m) break else: m += 1 else: print(-1)
import math a,b =map(int,input().split()) # mは原価 m = math.ceil(a*(100/8)) while int(m*(8/100)) == a: if int(m*0.1) == b: print(m) break else: m += 1 else: print(-1)
[ "assignment.value.change" ]
541,281
541,282
u575101291
python
p02755
import math a, b = map(int,input().split()) prca = math.ceil(a / 0.08) prcb = math.ceil(b / 0.1) base = max(prca, prcb) while True: if int(base * 0.08) < a or int(base * 0.1) < b: ans = base - 1 break base -= 1 if int(ans * 0.08) != a or int(ans * 0.1) != b: ans = -1 print(ans)
import math a, b = map(int,input().split()) prca = math.ceil(a / 0.08) prcb = math.ceil(b / 0.1) base = max(prca, prcb) while True: if int(base * 0.08) < a or int(base * 0.1) < b: ans = base + 1 break base -= 1 if int(ans * 0.08) != a or int(ans * 0.1) != b: ans = -1 print(ans)
[ "misc.opposites", "expression.operator.arithmetic.change", "assignment.value.change", "expression.operation.binary.change" ]
541,283
541,284
u907549201
python
p02755
import math a, b = map(int, input().split()) a_min, a_max = math.ceil(12.5 * a), math.floor(12.5 * (a + 1)) b_min, b_max = math.ceil(10 * b), math.floor(10 * (b + 1)) if a_min <= b_min <= a_max: print(b_min) elif b_min <= a_min <= b_max: print(a_min) else: print(-1)
import math a, b = map(int, input().split()) a_min, a_max = math.ceil(12.5 * a), math.floor(12.5 * (a + 1)) - 1 b_min, b_max = math.ceil(10 * b), math.floor(10 * (b + 1)) - 1 # print(a_min, a_max) # print(b_min, b_max) if a_min <= b_min <= a_max: print(b_min) elif b_min <= a_min <= b_max: print(a_min) else: ...
[ "assignment.change" ]
541,285
541,286
u152554456
python
p02755
from math import ceil from math import floor A, B = map(int, input().split()) a1 = ceil(A/0.08) b1 = ceil(B/0.10) a2 = floor((A+1)/0.08) b2 = floor((B+1)/0.10) if b2 < a1 or a2 < b1: print(-1) else: print(max(a1, b1))
from math import ceil from math import floor A, B = map(int, input().split()) a1 = ceil(A/0.08) b1 = ceil(B/0.10) a2 = floor((A+1)/0.08)-1 b2 = floor((B+1)/0.10)-1 if b2 < a1 or a2 < b1: print(-1) else: print(max(a1, b1))
[ "assignment.change" ]
541,287
541,288
u078349616
python
p02755
a, b = map(int, input().split()) ans = -1 for x in range(1000): if int(x * 0.08) == a and int(x * 0.1) == b: ans = x break print(ans)
a, b = map(int, input().split()) ans = -1 for x in range(1001): if int(x * 0.08) == a and int(x * 0.1) == b: ans = x break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,289
541,290
u556610039
python
p02755
a, b = map(int, input().split()) mina = int(a/0.08) minb = int(b/0.1) la = [] lb = set() flag = True while flag == True: if int(mina * 0.08) == a: la.append(mina) mina += 1 else: break while flag == True: if int(minb * 0.1) == b: lb.add(minb) minb += 1 else: ...
from math import ceil a, b = map(int, input().split()) mina = ceil(a/0.08) minb = ceil(b/0.1) la = [] lb = set() flag = True while flag == True: if int(mina * 0.08) == a: la.append(mina) mina += 1 else: break while flag == True: if int(minb * 0.1) == b: lb.add(minb) ...
[ "assignment.value.change", "identifier.change", "call.function.change" ]
541,307
541,308
u518386853
python
p02755
a,b = (int(x) for x in input().split()) for i in range(1,1000): if int(i*0.08) == a and int(i*0.1) == b: print(i) exit() print(-1)
a,b = (int(x) for x in input().split()) for i in range(1001): if int(i*0.08) == a and int(i*0.1) == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.lower.change" ]
541,313
541,314
u900848911
python
p02755
import math A,B = list(map(int,input().split())) before_min_A = math.ceil(A * 12.5) before_min_B = B * 10 if before_min_B <= before_min_A < before_min_B + 10: print(before_min_A) elif before_min_A <= before_min_B < before_min_A + 12.5: print(before_min_B) else: print("-1")
import math A,B = list(map(int,input().split())) before_min_A = math.ceil(A * 12.5) before_min_B = B * 10 if before_min_B <= before_min_A < before_min_B + 10: print(before_min_A) elif before_min_A <= before_min_B < before_min_A + 12: print(before_min_B) else: print("-1")
[ "control_flow.branch.if.condition.change" ]
541,317
541,318
u188745744
python
p02755
a, b = map(int, input().split()) for yen in range(1, 100+1): if int(yen * 0.08) == a and int(yen*0.1) == b: print(yen) exit() print(-1)
a, b = map(int, input().split()) for yen in range(1, 100*10+1): if int(yen * 0.08) == a and int(yen * 0.1) == b: print(yen) exit() print(-1)
[ "control_flow.loop.range.bounds.upper.change", "expression.operation.binary.add" ]
541,321
541,322
u319345083
python
p02755
import math a,b=map(int,input().split()) b*=10 ans=0 for i in range(8): j=b j+=i if int(j*0.08)==a: ans=j break if ans!=0: print(ans) else : print(-1)
import math a,b=map(int,input().split()) b*=10 ans=0 for i in range(9): j=b j+=i if int(j*0.08)==a: ans=j break if ans!=0: print(ans) else : print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,325
541,326
u129961029
python
p02755
a,b = map(int, input().split()) ans = -1 for i in reversed(range(1,111)): if int(i*1.08)-i == a and int(i*1.10)-i == b: ans = i print(ans)
a,b = map(int, input().split()) ans = -1 for i in reversed(range(1,1001)): if int(i*1.08)-i == a and int(i*1.10)-i == b: ans = i print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,333
541,334
u804733539
python
p02755
a, b = map(int, input().split()) amin = -(-a*25//2) amax = -(-(a+1)*25//2) bmin = b*10 bmax = bmin + 10 print(amax) for i in range(amin, amax): for j in range(bmin, bmax): if i == j: print(i) exit() print(-1)
a, b = map(int, input().split()) amin = -(-a*25//2) amax = -(-(a+1)*25//2) bmin = b*10 bmax = bmin + 10 for i in range(amin, amax): for j in range(bmin, bmax): if i == j: print(i) exit() print(-1)
[ "call.remove" ]
541,340
541,341
u597455618
python
p02755
import math a = list(map(int, input().split())) b = -1 for i in range(1000): x = math.floor(i*0.08) y = math.floor(i*0.1) if a[0] == x and a[1] == y: b = i break print(b)
import math a = list(map(int, input().split())) b = -1 for i in range(1001): x = math.floor(i*0.08) y = math.floor(i*0.1) if a[0] == x and a[1] == y: b = i break print(b)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,350
541,351
u978640776
python
p02755
import math a = list(map(int, input().split())) b = -1 for i in range(1250): x = math.floor(i*0.08) y = math.floor(i*0.1) if a[0] == x and a[1] == y: b = x break print(b)
import math a = list(map(int, input().split())) b = -1 for i in range(1001): x = math.floor(i*0.08) y = math.floor(i*0.1) if a[0] == x and a[1] == y: b = i break print(b)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "assignment.value.change", "identifier.change" ]
541,352
541,351
u978640776
python
p02755
A,B = map(int, input().split()) import math la = [] lb = [] for i in range(101): if math.floor(0.08*i) == A: la.append(i) else: continue for i in range(101): if math.floor(0.1*i) == B: lb.append(i) else: continue lab = set(la) & set(lb) if not lab: print(-1) else...
A,B = map(int, input().split()) import math la = [] lb = [] for i in range(1001): if math.floor(0.08*i) == A: la.append(i) else: continue for i in range(1001): if math.floor(0.1*i) == B: lb.append(i) else: continue lab = set(la) & set(lb) if not lab: print(-1) el...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,353
541,354
u356499208
python
p02755
AB = input().split(' ') A = int(AB[0]) B = int(AB[1]) predictA = round(A/0.08) staA =predictA if predictA < A/0.08: staA += 1 predict_maxA = round((A+1)/0.08) if predict_maxA < (A+1)/0.08: predict_maxA += 1 predictB = B*10 predict_maxB = (B+1)*10 preA = [x for x in range(predictA,predict_maxA)] preB = [x for x ...
AB = input().split(' ') A = int(AB[0]) B = int(AB[1]) predictA = round(A/0.08) if predictA < A/0.08: predictA += 1 predict_maxA = round((A+1)/0.08) if predict_maxA < (A+1)/0.08: predict_maxA += 1 predictB = B*10 predict_maxB = (B+1)*10 preA = [x for x in range(predictA,predict_maxA)] preB = [x for x in range(pr...
[ "identifier.change" ]
541,371
541,372
u680190333
python
p02755
from math import floor def main(): a, b = map(int, input().split()) tmp = True for n in range(1, 101): if floor(n * 0.08) == a and floor(n * 0.1) == b: print(n) tmp = False break if tmp: print(-1) if __name__ == '__main__': main()
from math import floor def main(): a, b = map(int, input().split()) tmp = True for n in range(1, 1251): if floor(n * 0.08) == a and floor(n * 0.1) == b: print(n) tmp = False break if tmp: print(-1) if __name__ == '__main__': main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,381
541,382
u022979415
python
p02755
a,b=map(int,input().split()) flag=False import math for i in range(300): if math.floor(i*0.08)==a and math.floor(i*0.1)==b: print(i) flag=True break if not flag: print(-1)
a,b=map(int,input().split()) flag=False import math for i in range(100000): if math.floor(i*0.08)==a and math.floor(i*0.1)==b: print(i) flag=True break if not flag: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,385
541,386
u780962115
python
p02755
from math import floor a, b = map(int, input().split()) for i in range(200): x = floor(i * 0.08) y = floor(i * 0.1) if x == a and y == b: print(i) exit(0) print(-1)
from math import floor a, b = map(int, input().split()) for i in range(10000): x = floor(i * 0.08) y = floor(i * 0.1) if x == a and y == b: print(i) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,401
541,402
u390181802
python
p02755
A, B = map(int, input().split()) for i in range(1, 101): if int(i * 0.08) == A and int(i * 0.1) == B: print(i) break else: print(-1)
A, B = map(int, input().split()) for i in range(1, 10001): if int(i * 0.08) == A and int(i * 0.1) == B: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,403
541,404
u245870380
python
p02755
a, b = map(int, input().split()) ans = -1 for i in range(1000): if a == int(i * 0.08) and b == int(i * 0.1): print(i) ans = 1 break if ans == -1: print(-1)
a, b = map(int, input().split()) ans = -1 for i in range(100000): if a == int(i * 0.08) and b == int(i * 0.1): print(i) ans = 1 break if ans == -1: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,415
541,416
u102126195
python
p02755
A, B = map(int, input().split()) for i in range(1, 1000): if int(i * 1.08) - i == A and int(i * 1.1) - i == B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(1, 2000): if int(i * 1.08) - i == A and int(i * 1.1) - i == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,421
541,422
u144913062
python
p02755
#!/usr/bin/env python3 import sys sys.setrecursionlimit(300000) def solve(A: int, B: int): ret = -1 for i in range(0, 101): if int(i * 0.08) == A and int(i * 0.1) == B: ret = i break print(ret) return def main(): def iterate_tokens(): for line in sys.stdin...
#!/usr/bin/env python3 import sys sys.setrecursionlimit(300000) def solve(A: int, B: int): ret = -1 for i in range(0, 10000): if int(i * 0.08) == A and int(i * 0.1) == B: ret = i break print(ret) return def main(): def iterate_tokens(): for line in sys.std...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,439
541,440
u200785298
python
p02755
a,b=map(int,input().split()) x=-1 for i in range(101): if int(i*0.08)==a and int(i*0.1)==b: x=i break print(x)
a,b=map(int,input().split()) x=-1 for i in range(1,1001): if int(i*0.08)==a and int(i*0.1)==b: x=i break print(x)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "call.arguments.add" ]
541,455
541,456
u539517139
python
p02755
def main(): A, B = map(int, input().split()) for i in range(1, 101): if int(i*0.08) == A and int(i*0.1) == B: print(i) return print(-1) if __name__ == "__main__": main()
def main(): A, B = map(int, input().split()) for i in range(1, 2000): if int(i*0.08) == A and int(i*0.1) == B: print(i) return print(-1) if __name__ == "__main__": main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,457
541,458
u155024797
python
p02755
# -*- coding: utf-8 -*- import sys sys.setrecursionlimit(10**9) INF=10**18 MOD=10**9+7 def input(): return sys.stdin.readline().rstrip() def main(): A,B=map(int,input().split()) for i in range(1,101): if int(i*0.08)==A and int(i*0.1): print(i) exit() print(-1) if __name__ =...
# -*- coding: utf-8 -*- import sys sys.setrecursionlimit(10**9) INF=10**18 MOD=10**9+7 def input(): return sys.stdin.readline().rstrip() def main(): A,B=map(int,input().split()) for i in range(1,100000): if int(i*0.08)==A and int(i*0.1)==B: print(i) exit() print(-1) if __na...
[ "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" ]
541,461
541,462
u714642969
python
p02755
def main(): a, b = map(int, input().split()) middle = int(a / 0.08) for i in range(-10, 10): tested = i + middle if tested * 8 // 100 == a and tested // 10 == b: print(tested) return print(-1) main()
def main(): a, b = map(int, input().split()) middle = int(a / 0.08) for i in range(-30, 30): tested = i + middle if tested * 8 // 100 == a and tested // 10 == b: print(tested) return print(-1) main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,481
541,482
u595856802
python
p02755
A, B = map(int, input().split()) for i in range(1, 101): if i * 8 // 100 == A and i // 10 == B: print(i) exit() print(-1)
A, B = map(int, input().split()) for i in range(1, 1251): if i * 8 // 100 == A and i // 10 == B: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,489
541,490
u575431498
python
p02755
import sys input = sys.stdin.readline A, B = map(int, input().split()) N = 1 flag = False for x in range(101): if x // 12.5 == A and x // 10 == B: flag = True print(x) break if not flag: print(-1)
import sys input = sys.stdin.readline A, B = map(int, input().split()) N = 1 flag = False for x in range(1300): if x // 12.5 == A and x // 10 == B: flag = True print(x) break if not flag: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,496
541,497
u486251525
python
p02755
# coding: utf-8 # Your code here! # coding: utf-8 from math import gcd from functools import reduce import sys sys.setrecursionlimit(200000000) from inspect import currentframe # my functions here! #標準エラー出力 def printargs2err(*args): names = {id(v):k for k,v in currentframe().f_back.f_locals.items()} print(',...
# coding: utf-8 # Your code here! # coding: utf-8 from math import gcd from functools import reduce import sys sys.setrecursionlimit(200000000) from inspect import currentframe # my functions here! #標準エラー出力 def printargs2err(*args): names = {id(v):k for k,v in currentframe().f_back.f_locals.items()} print(',...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,506
541,507
u857428111
python
p02755
# coding: utf-8 import sys import math import collections import itertools from inspect import currentframe INF = 10 ** 10 MOD = 10 ** 9 + 7 def input() : return sys.stdin.readline().strip() def gcd(x, y) : return y if x % y == 0 else gcd(y, x % y) def lcm(x, y) : return (x * y) // gcd(x, y) def I() : return int(input...
# coding: utf-8 import sys import math import collections import itertools from inspect import currentframe INF = 10 ** 10 MOD = 10 ** 9 + 7 def input() : return sys.stdin.readline().strip() def gcd(x, y) : return y if x % y == 0 else gcd(y, x % y) def lcm(x, y) : return (x * y) // gcd(x, y) def I() : return int(input...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
541,508
541,509
u102278909
python
p02755
A, B = map(int, input().split()) isOK = False for i in range(1, 101): a = i*0.08 b = i*0.1 if int(a) == A and B == int(b) : isOK = True print(i) break if not isOK: print(-1)
A, B = map(int, input().split()) isOK = False for i in range(1, 10001): a = i*0.08 b = i*0.1 if int(a) == A and B == int(b) : isOK = True print(i) break if not isOK: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,514
541,515
u226082503
python
p02755
A,B=map(int,input().split()) ans=-1 for i in range(1,101): if i*8//100==A and i//10==B: ans=i break print(ans)
A,B=map(int,input().split()) ans=-1 for i in range(1,1001): if i*8//100==A and i//10==B: ans=i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,516
541,517
u765865533
python
p02755
def main(): 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) return 0 print(-1) main()
def main(): A,B=map(int,input().split()) for i in range(1,1000000): if i*0.08//1 == A and i*0.1//1==B: print(i) return 0 print(-1) main()
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,528
541,529
u825378567
python
p02755
A, B = list(map(int, input().split())) min_ = max(A/0.08, B/0.1) max_ = min(int((A+1)/0.08),int((B+1)/0.1)) if min_%1!=0: min_ = int(min_)+1 else: min_ = int(min_) if min_>max_: print(-1) else: print(min_)
A, B = list(map(int, input().split())) min_ = max(A/0.08, B/0.1) max_ = min(int((A+1)/0.08),int((B+1)/0.1)) if min_%1!=0: min_ = int(min_)+1 else: min_ = int(min_) if min_>=max_: print(-1) else: print(min_)
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
541,532
541,533
u090266528
python
p02755
A,B=map(int,input().split()) flag=0 for i in range(1,101): if int(i*0.08) == A and int(i*0.1) == B: print(i) flag=1 break if flag==0: print(-1)
A,B=map(int,input().split()) flag=0 for i in range(1,1001): if int(i*0.08) == A and int(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" ]
541,554
541,555
u239342230
python
p02755
import math a,b=map(int,input().split()) ans=-1 for i in range(1000): if math.floor(i*0.08) == a and math.floor(i*0.1)==b: ans = i break print(ans)
import math a,b=map(int,input().split()) ans=-1 for i in range(2000): if math.floor(i*0.08) == a and math.floor(i*0.1)==b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,562
541,563
u256351611
python
p02755
import math a, b = [ int(v) for v in input().split() ] ans = -1 for i in range(1, 101): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: ans = i break print(ans)
import math a, b = [ int(v) for v in input().split() ] ans = -1 for i in range(1, 10001): if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b: ans = i break print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,564
541,565
u399721252
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" ]
541,567
541,568
u994307795
python
p02755
a,b=map(int,input().split()) for i in range(1,101): if i*108//100==a and i*11//10==b: print(i) exit() print(-1)
a,b=map(int,input().split()) for i in range(1,100000): if i*8//100==a and i*1//10==b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
541,573
541,574
u223904637
python
p02755
A, B = list(map(int, input().split())) priA = A * 100 // 108 priB = B * 100 // 110 for i in range(1000): if int(0.08 * i) == A and int(0.1 * i) == B: print(i) break else: print(-1)
A, B = list(map(int, input().split())) priA = A * 100 // 108 priB = B * 100 // 110 for i in range(100000): if int(0.08 * i) == A and int(0.1 * i) == B: print(i) break else: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,580
541,581
u328755070
python
p02755
a, b = map(int, input().split()) for i in range(101): if (i*8)//100 == a and (i*10)//100 == b: print(i) exit() print(-1)
a, b = map(int, input().split()) for i in range(100000): if (i*8)//100 == a and (i*10)//100 == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,582
541,583
u599547273
python
p02755
a, b = map(int, input().split()) for i in range(101): if i*8//100 == a and i*10//100 == b: print(i) exit() print(-1)
a, b = map(int, input().split()) for i in range(100000): if (i*8)//100 == a and (i*10)//100 == b: print(i) exit() print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change", "control_flow.branch.if.condition.change" ]
541,584
541,583
u599547273
python
p02755
import math import sys input = sys.stdin.readline A, B = map(int, input().split()) for i in range(1, 101): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: print(i) exit(0) print(-1)
import math import sys input = sys.stdin.readline A, B = map(int, input().split()) for i in range(1, 10010): if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B: print(i) exit(0) print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,587
541,588
u047102107
python
p02755
from math import floor a,b=map(int,input().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 a,b=map(int,input().split()) for i in range(1,10**6): 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" ]
541,593
541,594
u905203728
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(10000): 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" ]
541,600
541,601
u343454379
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(0) else: print(-1)
A,B=map(int,input().split()) for i in range(1,10101): 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" ]
541,614
541,615
u936985471
python
p02755
import math a,b = map(int,input().split()) for i in range(1,101): if math.floor(i*0.08) == a and math.floor(i*0.1) == b: print(i) exit() print('-1')
import math a,b = map(int,input().split()) for i in range(1,1251): 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" ]
541,616
541,617
u201928947
python
p02755
a, b = map(int, (input().split())) n = 1 for i in range(20000): if int(n * 0.08) == a: if int(n * 0.10) == b: print(n) exit() print(-1)
a, b = map(int, (input().split())) for n in range(1,20000): if int(n * 0.08) == a: if int(n * 0.10) == b: print(n) exit() print(-1)
[ "identifier.change", "call.arguments.add" ]
541,622
541,623
u480130675
python
p02755
A,B = map (int,input().split()) eight = [0] * 2000 ten = [0] * 2000 for i in range(200): eight[i] =(float(i+1) * 0.08)//1 ten[i] = (float(i+1) * 0.1)//1 ans = 0 for i in range(2000): if A == eight[i] and B == ten[i]: ans = i + 1 break if ans == 0: print(-1) else: print(ans)
A,B = map (int,input().split()) eight = [0] * 2000 ten = [0] * 2000 for i in range(2000): eight[i] =(float(i+1) * 0.08)//1 ten[i] = (float(i+1) * 0.1)//1 ans = 0 for i in range(2000): if A == eight[i] and B == ten[i]: ans = i + 1 break if ans == 0: print(-1) else: print(ans)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,626
541,627
u513900925
python
p02755
a, b = map(int, input().split()) f = False for x in range(1, 101): if int(x * 0.08) == a and int(x * 0.1) == b: if not f: print(x) f = True if not f: print(-1)
a, b = map(int, input().split()) f = False for x in range(1, 2000): if int(x * 0.08) == a and int(x * 0.1) == b: if not f: print(x) f = True if not f: print(-1)
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,630
541,631
u470542271
python
p02755
# #    ⋀_⋀  #   (・ω・) # ./ U ∽ U\ # │* 合 *│ # │* 格 *│ # │* 祈 *│ # │* 願 *│ # │*   *│ #  ̄ # import sys sys.setrecursionlimit(10**6) input=sys.stdin.readline from math import floor,sqrt,factorial,hypot,log #log2ないyp from heapq import heappop, heappush, heappushpop from collections import Counter,default...
# #    ⋀_⋀  #   (・ω・) # ./ U ∽ U\ # │* 合 *│ # │* 格 *│ # │* 祈 *│ # │* 願 *│ # │*   *│ #  ̄ # import sys sys.setrecursionlimit(10**6) input=sys.stdin.readline from math import floor,sqrt,factorial,hypot,log #log2ないyp from heapq import heappop, heappush, heappushpop from collections import Counter,default...
[ "literal.number.integer.change", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
541,634
541,635
u788137651
python
p02756
def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) from collections import deque def main(): mod=10**9+7 S=input() from collections import deque dq=deque() for c in S: dq.append(c) rev=0 Q=I(...
def I(): return int(input()) def MI(): return map(int, input().split()) def LI(): return list(map(int, input().split())) from collections import deque def main(): mod=10**9+7 S=input() from collections import deque dq=deque() for c in S: dq.appendleft(c) rev=0 ...
[ "identifier.change" ]
541,661
541,662
u498487134
python