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())
import math
for i in range(101):
if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B:
print(i)
exit()
print(-1)
| A, B = map(int, input().split())
import math
for i in range(1001):
if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B:
print(i)
exit()
print(-1)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,883 | 539,884 | u500297289 | python |
p02755 | from math import floor as f
A, B = map(int, input().split(" "))
ans = []
for c in range(1000):
a = f(c * 0.08)
b = f(c * 0.1)
if a == A and b == B:
print(c)
break
else:
print("-1") | from math import floor as f
A, B = map(int, input().split(" "))
for c in range(10000):
a = f(c * 0.08)
b = f(c * 0.1)
if a == A and b == B:
print(c)
break
else:
print("-1") | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,885 | 539,886 | u344888046 | python |
p02755 | A, B = list(map(int,input().split()))
list_i = []
for i in range(1000):
if A <= i * 8 / 100 < A + 1:
list_i.append(i)
else:
pass
list_j = []
for j in range(1000):
if B <= j * 10 / 100 < B + 1:
list_j.append(j)
else:
pass
s_i = set(l... | A, B = list(map(int,input().split()))
list_i = []
for i in range(1100):
if A <= i * 8 / 100 < A + 1:
list_i.append(i)
else:
pass
list_j = []
for j in range(1100):
if B <= j * 10 / 100 < B + 1:
list_j.append(j)
else:
pass
s_i = set(l... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,887 | 539,888 | u363074342 | python |
p02755 | import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase... | import sys, re
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import accumulate, permutations, combinations, product
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_uppercase... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,891 | 539,892 | u279493135 | python |
p02755 | a,b=map(int,input().split())
if b * 10 <= ((a + 1) * 25) // 2 and -(-a * 25 // 2) < (b + 1) * 10:
print(max(-(-a*25//2), b * 10))
else:
print(-1) | a, b = map(int,input().split())
if b * 10 <= (a * 25 + 24) // 2 and -(-a * 25 // 2) < (b + 1) * 10:
print(max(-(-a*25//2), b * 10))
else:
print(-1) | [
"control_flow.branch.if.condition.change"
] | 539,895 | 539,894 | u463775490 | python |
p02755 | import math
a, b = map(int, input().split())
for i in range(b+1,1000):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
ans = i
break
else:
ans = -1
print(ans) | import math
a, b = map(int, input().split())
for i in range(b+1,1001):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
ans = i
break
else:
ans = -1
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,896 | 539,897 | u463775490 | python |
p02755 | import math
a, b = map(int, input().split())
for i in range(b+1,111):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
ans = i
break
else:
ans = -1
print(ans) | import math
a, b = map(int, input().split())
for i in range(b+1,1001):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
ans = i
break
else:
ans = -1
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,898 | 539,897 | u463775490 | python |
p02755 | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
A, B = map(int, input().split())
aa_min = A / 0.08
aa_max = (A+1) / 0.08
bb_min = B / 0.1
bb_max = (B+1) / 0.08
if aa_min < bb_max and bb_min < aa_max:
print(math.ceil(max(aa_min, bb_min)))
else:
... | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
A, B = map(int, input().split())
aa_min = A / 0.08
aa_max = (A+1) / 0.08
bb_min = B / 0.1
bb_max = (B+1) / 0.1
if aa_min < bb_max and bb_min < aa_max:
print(math.ceil(max(aa_min, bb_min)))
else:
... | [
"literal.number.float.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 539,903 | 539,904 | u648881683 | python |
p02755 | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
A, B = map(int, input().split())
aa_min = A / 0.08
aa_max = (A+1) / 0.08
bb_min = B / 0.1
bb_max = (B+1) / 0.08
if aa_min <= bb_max and bb_min <= aa_max:
print(math.ceil(max(aa_min, bb_min)))
else:
... | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
A, B = map(int, input().split())
aa_min = A / 0.08
aa_max = (A+1) / 0.08
bb_min = B / 0.1
bb_max = (B+1) / 0.1
if aa_min < bb_max and bb_min < aa_max:
print(math.ceil(max(aa_min, bb_min)))
else:
... | [
"literal.number.float.change",
"assignment.value.change",
"expression.operation.binary.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 539,905 | 539,904 | u648881683 | python |
p02755 | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
A, B = map(int, input().split())
aa_min = A / 0.08
aa_max = (A+1) / 0.08
bb_min = B / 0.1
bb_max = (B+1) / 0.08
if aa_min <= bb_max and bb_min <= aa_max:
print(int(max(aa_min, bb_min)))
else:
... | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
A, B = map(int, input().split())
aa_min = A / 0.08
aa_max = (A+1) / 0.08
bb_min = B / 0.1
bb_max = (B+1) / 0.1
if aa_min < bb_max and bb_min < aa_max:
print(math.ceil(max(aa_min, bb_min)))
else:
... | [
"literal.number.float.change",
"assignment.value.change",
"expression.operation.binary.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"io.output.change"
] | 539,906 | 539,904 | u648881683 | python |
p02755 | import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
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.10)==B:
ans = i
break
print(ans)
if __name__ == '__main__':
resolve()
| import sys
input = lambda: sys.stdin.readline().rstrip()
import math
def resolve():
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.10)==B:
ans = i
break
print(ans)
if __name__ == '__main__':
resolve()
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,907 | 539,908 | u648881683 | python |
p02755 | import math
a,b=map(int,input().split())
j=[]
for i in range(1,101):
if math.floor(i*0.08)==a and math.floor(i*0.1)==b:
j.append(i)
print(min(j))
break;
if len(j)==0:
print(-1)
| import math
a,b=map(int,input().split())
j=[]
for i in range(1,1001):
if math.floor(i*0.08)==a and math.floor(i*0.1)==b:
j.append(i)
print(min(j))
break;
if len(j)==0:
print(-1)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,919 | 539,920 | u025526973 | python |
p02755 | import math
a,b=map(int,input().split())
j=[]
for i in range(1,101):
if math.floor(i*0.08)==a and math.floor(i*0.1)==b:
j.append(i)
print(i)
break;
if len(j)==0:
print(-1)
| import math
a,b=map(int,input().split())
j=[]
for i in range(1,1001):
if math.floor(i*0.08)==a and math.floor(i*0.1)==b:
j.append(i)
print(min(j))
break;
if len(j)==0:
print(-1)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"io.output.change",
"call.arguments.add"
] | 539,921 | 539,920 | u025526973 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 10000:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(1001):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 1000:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,924 | 539,925 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(1001):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 1000:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,926 | 539,925 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(101):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(1001):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 1000:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,927 | 539,925 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 1
for i in range(100):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(int(c))
break
elif c == 100:
print('-1')
break
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(1001):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 1000:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.remove",
"control_flow.branch.if.condition.change"
] | 539,928 | 539,925 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 1
for i in range(100):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(1001):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 1000:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,929 | 539,925 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 1
for i in range(99):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(1001):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 1000:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,931 | 539,925 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 10000:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 9999:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,924 | 539,932 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 9999:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,926 | 539,932 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(101):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 9999:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,927 | 539,932 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 1
for i in range(100):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(int(c))
break
elif c == 100:
print('-1')
break
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 9999:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.remove",
"control_flow.branch.if.condition.change"
] | 539,928 | 539,932 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 1
for i in range(100):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 9999:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,929 | 539,932 | u054662964 | python |
p02755 | a,b = input().split()
a = int(a)
b = int(b)
c = 1
for i in range(99):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 100:
print('-1')
else:
c += 1 | a,b = input().split()
a = int(a)
b = int(b)
c = 0
for i in range(10000):
d = c*0.08
e = c*0.1
d = int(d)
e = int(e)
if d == a and e == b:
print(c)
break
elif c == 9999:
print('-1')
break
else:
c += 1 | [
"literal.number.integer.change",
"assignment.value.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.branch.if.condition.change",
"control_flow.break.add"
] | 539,931 | 539,932 | u054662964 | python |
p02755 | A, B = map(int, input().split())
for i in range(1, 101):
if int(i*1.08) == A and int(i*1.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",
"literal.number.float.change",
"control_flow.branch.if.condition.change"
] | 539,935 | 539,934 | u497046426 | python |
p02755 | taxs = input().split(" ")
a = int(taxs[0])
b = int(taxs[1])
product_min = int(a / 0.08)
product_max = int((a+1) / 0.08)
setflg = 0
for product in range( product_min, product_max ):
bpred = int(product * 0.1)
if( bpred == b ):
print( product )
setflg=1
break
if setflg==0:
print( -1 ) | taxs = input().split(" ")
a = int(taxs[0])
b = int(taxs[1])
product_min = int(a / 0.08 + 0.5)
product_max = int((a+1) / 0.08)
setflg = 0
for product in range( product_min, product_max ):
bpred = int(product * 0.1)
if( bpred == b ):
print( product )
setflg=1
break
if setflg==0:
print( -1 ) | [
"assignment.change"
] | 539,939 | 539,940 | u212263866 | python |
p02755 | # coding: utf-8
A, B = map(int, input().split())
for v in range(1, 251):
if int(v * 0.08) == A and int(v * 0.1) == B:
print(v)
exit()
print(-1) | # coding: utf-8
A, B = map(int, input().split())
for v in range(1001):
if int(v * 0.08) == A and int(v * 0.1) == B:
print(v)
exit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change"
] | 539,943 | 539,944 | u580697892 | python |
p02755 | import math
import sys
a,b=map(int,input().spliit())
a2=math.ceil(a/0.08)
a3=math.floor((a+1)/0.08)
if a2>a3:
print("-1")
sys.exit()
b2=math.ceil(b/0.1)
b3=math.floor((b+1)/0.1)
if b2>b3:
print("-1")
sys.exit()
if b2<a2:
if a2<(b+1)/0.1:
print(a2)
else:
print("-1")
if a2<b2:
... | import math
import sys
a,b=map(int,input().split())
a2=math.ceil(a/0.08)
a3=math.floor((a+1)/0.08)
if a2>a3:
print("-1")
sys.exit()
b2=math.ceil(b/0.1)
b3=math.floor((b+1)/0.1)
if b2>b3:
print("-1")
sys.exit()
if b2<a2:
if a2<(b+1)/0.1:
print(a2)
else:
print("-1")
if a2<b2:
i... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 539,945 | 539,946 | u771538568 | python |
p02755 | a,b=map(int,input().split())
for i in range(0,101):
if int(i*0.08)==a and int(i*0.1)==b:
print(i)
exit()
print(-1) | a,b=map(int,input().split())
for i in range(0,1001):
if int(i*0.08)==a and int(i*0.1)==b:
print(i)
exit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 539,980 | 539,981 | u511379665 | python |
p02755 | import sys
a,b=map(int,input().split())
i=0
while i <= 100:
c=int(i*0.08)
d=int(i*0.1)
if c==a and d==b:
print(i)
sys.exit()
i+=1
print(-1) | import sys
a,b=map(int,input().split())
i=0
while i <= 10000:
c=int(i*0.08)
d=int(i*0.1)
if c==a and d==b:
print(i)
sys.exit()
i+=1
print(-1) | [
"literal.number.integer.change",
"control_flow.loop.condition.change"
] | 539,985 | 539,986 | u223555291 | python |
p02755 | def c_tax_increase():
A, B = [int(i) for i in input().split()]
lower = max((25 * A + 2 - 1) / 2, 10 * B)
upper = min(25 * (A + 1) // 2, 10 * (B + 1))
return lower if lower < upper else -1
print(c_tax_increase()) | def c_tax_increase():
A, B = [int(i) for i in input().split()]
lower = max((25 * A + 2 - 1) // 2, 10 * B)
upper = min(25 * (A + 1) // 2, 10 * (B + 1))
return lower if lower < upper else -1
print(c_tax_increase()) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 539,990 | 539,991 | u952708174 | python |
p02755 | def c_tax_increase():
A, B = [int(i) for i in input().split()]
lower, upper = max((25 * A + 2 - 1) // 2, 10 * B), min(25 * (A + 1) // 2, 10 * (B + 1))
return lower if lower <= upper else -1
print(c_tax_increase()) | def c_tax_increase():
A, B = [int(i) for i in input().split()]
lower = max((25 * A + 2 - 1) // 2, 10 * B)
upper = min(25 * (A + 1) // 2, 10 * (B + 1))
return lower if lower < upper else -1
print(c_tax_increase()) | [
"assignment.variable.change",
"expression.operator.compare.change",
"function.return_value.change"
] | 539,992 | 539,991 | u952708174 | python |
p02755 | def c_tax_increase():
from math import floor, ceil
A, B = [int(i) for i in input().split()]
lower = ceil(max(25 * A / 2, 10 * B))
upper = floor(min(25 * (A + 1) / 2, 10 * (B + 1)))
return lower if lower <= upper else -1
print(c_tax_increase()) | def c_tax_increase():
from math import floor, ceil
A, B = [int(i) for i in input().split()]
lower = ceil(max(25 * A / 2, 10 * B))
upper = floor(min(25 * (A + 1) / 2, 10 * (B + 1)))
return lower if lower < upper else -1
print(c_tax_increase()) | [
"expression.operator.compare.change",
"function.return_value.change"
] | 539,993 | 539,994 | u952708174 | python |
p02755 | [A, B] = list(map(int, input().split()))
ans = 0
for i in range(1250) :
if int(i * 0.08) == A and int(i * 0.1) == B :
ans = i
break
if ans == 0 :
ans = -1
print(ans)
print(A)
| [A, B] = list(map(int, input().split()))
ans = 0
for i in range(1250) :
if int(i * 0.08) == A and int(i * 0.1) == B :
ans = i
break
if ans == 0 :
ans = -1
print(ans) | [
"call.remove"
] | 539,997 | 539,998 | u294376483 | python |
p02755 | from math import floor
a, b = map(int, input().split())
for i in range(1, 100 + 1):
if floor(i * 0.08) == a and floor(i * 0.10) == b:
print(i)
quit()
print(-1) | from math import floor
a, b = map(int, input().split())
for i in range(1, 1000 + 1):
if floor(i * 0.08) == a and floor(i * 0.10) == b:
print(i)
quit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,005 | 540,006 | u969236097 | python |
p02755 | a, b = input().split() # a = result * 0.08, b = result * 0.1
a, b = int(a), int(b)
result_a = int(a / 0.08)
result_b = int(b / 0.1)
if result_a > result_b:
if int(result_a * 0.08) == a:
result_a += 1
c = int(result_a * 0.1)
if b == c:
print(result_a)
else:
print(-1)
else:
c = int(result_b * 0.... | a, b = input().split() # a = result * 0.08, b = result * 0.1
a, b = int(a), int(b)
result_a = int(a / 0.08)
result_b = int(b / 0.1)
if result_a > result_b:
if int(result_a * 0.08) != a:
result_a += 1
c = int(result_a * 0.1)
if b == c:
print(result_a)
else:
print(-1)
else:
c = int(result_b * 0.... | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 540,009 | 540,010 | u821265215 | python |
p02755 | a, b = input().split() # a = result * 0.08, b = result * 0.1
a, b = int(a), int(b)
result_a = int(a / 0.08)
result_b = int(b / 0.1)
if result_a > result_b:
if int(result_a * 0.08) == 0:
result_a += 1
c = int(result_a * 0.1)
if b == c:
print(result_a)
else:
print(-1)
else:
c = int(result_b * 0.... | a, b = input().split() # a = result * 0.08, b = result * 0.1
a, b = int(a), int(b)
result_a = int(a / 0.08)
result_b = int(b / 0.1)
if result_a > result_b:
if int(result_a * 0.08) != a:
result_a += 1
c = int(result_a * 0.1)
if b == c:
print(result_a)
else:
print(-1)
else:
c = int(result_b * 0.... | [] | 540,011 | 540,010 | u821265215 | python |
p02755 | a,b=map(int,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=map(int,input().split())
for i in range(1,1200):
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"
] | 540,012 | 540,013 | u269724549 | python |
p02755 | a,b=map(int,input().split())
for i in range(1,100):
if int(i*0.08)==a and int(i*0.1)==b:
print(i)
exit()
print(-1) | a,b=map(int,input().split())
for i in range(1,1200):
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"
] | 540,014 | 540,013 | u269724549 | python |
p02755 | a, b = map(int, input().split())
x = -1
xa = 0
xb = 0
a_arr = []
b_arr = []
for temp_a in range(101):
xa = temp_a * 0.08
if xa // 1 == a:
a_arr.append(temp_a)
for temp_b in range(101):
xb = temp_b * 0.1
if xb // 1 == b:
b_arr.append(temp_b)
for aa in a_arr:
if aa in b_arr:
... | a, b = map(int, input().split())
x = -1
xa = 0
xb = 0
a_arr = []
b_arr = []
for temp_a in range(10001):
xa = temp_a * 0.08
if xa // 1 == a:
a_arr.append(temp_a)
for temp_b in range(10001):
xb = temp_b * 0.1
if xb // 1 == b:
b_arr.append(temp_b)
for aa in a_arr:
if aa in b_ar... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,018 | 540,019 | u506671931 | python |
p02755 | a, b = map(int, input().split())
x = -1
xa = 0
xb = 0
a_arr = []
b_arr = []
for temp_a in range(101):
xa = temp_a * 0.08
if xa // 1 == a:
a_arr.append(temp_a)
for temp_b in range(101):
xb = temp_b * 0.1
if xb // 1 == b:
b_arr.append(temp_b)
for aa i... | a, b = map(int, input().split())
x = -1
xa = 0
xb = 0
a_arr = []
b_arr = []
for temp_a in range(10001):
xa = temp_a * 0.08
if xa // 1 == a:
a_arr.append(temp_a)
for temp_b in range(10001):
xb = temp_b * 0.1
if xb // 1 == b:
b_arr.append(temp_b)
for aa in a_arr:
if aa in b_ar... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,020 | 540,019 | u506671931 | python |
p02755 | a,b=map(int,input().split())
xa=round(a/0.08)
xb=round(b/0.1)
if int(max(xa,xb)*0.08)==a and int(max(xa,xb)*0.1)==b:
print(max(xa,xb))
else:
print(-1) | import math
a,b=map(int,input().split())
xa=math.ceil(a/0.08)
xb=int(b/0.1)
if int(max(xa,xb)*0.08)==a and int(max(xa,xb)*0.1)==b:
print(max(xa,xb))
else:
print(-1) | [
"assignment.value.change",
"identifier.change",
"call.function.change"
] | 540,027 | 540,028 | u981206782 | python |
p02755 | a, b = map(int, input().split())
# 0.08 と 0.1 の最小公倍数
# 8と10 //100
# x = a / 0.08
# x_2 = int(x)
# print(x_2)
# y = b / 0.1
# y_2 = int(y)
# print(y_2)
# if x_2 == y_2:
# print(int(x_2))
# else:
# print(-1)
for i in range(1, 1000, 1):
# print(i)
x = i * 0.08
# x = i * 8
x_2 = int(x)
y = i... | a, b = map(int, input().split())
# 0.08 と 0.1 の最小公倍数
# 8と10 //100
# x = a / 0.08
# x_2 = int(x)
# print(x_2)
# y = b / 0.1
# y_2 = int(y)
# print(y_2)
# if x_2 == y_2:
# print(int(x_2))
# else:
# print(-1)
for i in range(1, 1009, 1):
# print(i)
x = i * 0.08
# x = i * 8
x_2 = int(x)
y = i... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,029 | 540,030 | u373703188 | python |
p02755 | a, b = map(int, input().split())
# x = a / 0.08
# x_2 = int(x)
# print(x_2)
# y = b / 0.1
# y_2 = int(y)
# print(y_2)
# if x_2 == y_2:
# print(int(x_2))
# else:
# print(-1)
for i in range(1, 101, 1):
# print(i)
x = i * 0.08
x_2 = int(x)
y = i * 0.1
y_2 = int(y)
# print(x)
# print(... | a, b = map(int, input().split())
# 0.08 と 0.1 の最小公倍数
# 8と10 //100
# x = a / 0.08
# x_2 = int(x)
# print(x_2)
# y = b / 0.1
# y_2 = int(y)
# print(y_2)
# if x_2 == y_2:
# print(int(x_2))
# else:
# print(-1)
for i in range(1, 1009, 1):
# print(i)
x = i * 0.08
# x = i * 8
x_2 = int(x)
y = i... | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,031 | 540,030 | u373703188 | python |
p02755 | a, b=map(int, input().split())
for i in range(1, 101):
tmpa=int(i*0.08)
tmpb=int(i*0.1)
if a==tmpa and b==tmpb:
print(i)
exit()
print(-1) | a, b=map(int, input().split())
for i in range(1, 20000):
tmpa=int(i*0.08)
tmpb=int(i*0.1)
if a==tmpa and b==tmpb:
print(i)
exit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,032 | 540,033 | u095021077 | python |
p02755 | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_upper... | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_upper... | [
"call.add"
] | 540,034 | 540,035 | u083960235 | python |
p02755 | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_upper... | import sys, re, os
from collections import deque, defaultdict, Counter
from math import ceil, sqrt, hypot, factorial, pi, sin, cos, radians
from itertools import permutations, combinations, product, accumulate
from operator import itemgetter, mul
from copy import deepcopy
from string import ascii_lowercase, ascii_upper... | [
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change",
"assignment.value.change"
] | 540,036 | 540,037 | u083960235 | python |
p02755 | import sys
input = sys.stdin.readline
A, B = [int(x) for x in input().strip().split()]
for i in range(1, 100):
if int(i * 0.08) == A and int(i * 0.1) == B:
print(i)
exit()
print(-1) | import sys
input = sys.stdin.readline
A, B = [int(x) for x in input().strip().split()]
for i in range(1, 1001):
if int(i * 0.08) == A and int(i * 0.1) == B:
print(i)
exit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,043 | 540,044 | u408620326 | python |
p02755 | A,B = (int(x) for x in input().split())
for i in range(10,1001):
Ahan = int(i * 0.08)
Bhan = int(i * 0.10)
if (Ahan == A and Bhan == B):
print(i)
break
print(-1) | A,B = (int(x) for x in input().split())
for i in range(1,1001):
Ahan = int(i * 0.08)
Bhan = int(i * 0.10)
if (Ahan == A and Bhan == B):
print(i)
exit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.lower.change",
"control_flow.break.remove",
"control_flow.exit.add",
"call.add"
] | 540,049 | 540,048 | u578441226 | python |
p02755 | A,B = (int(x) for x in input().split())
for i in range(1,101):
Ahan = int(i * 0.08)
Bhan = int(i * 0.10)
if (Ahan == A and Bhan == B):
print(i)
break
print(-1) | A,B = (int(x) for x in input().split())
for i in range(1,1001):
Ahan = int(i * 0.08)
Bhan = int(i * 0.10)
if (Ahan == A and Bhan == B):
print(i)
exit()
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.break.remove",
"control_flow.exit.add",
"call.add"
] | 540,051 | 540,048 | u578441226 | python |
p02755 | # coding: utf-8
a, b = map(int, input().split())
# print(a,b)
# x=-1
# y=-1
# xr=[]
# yr=[]
# for i in range(1,101):
# if i*0.08//1==a:
# # print("x:{}".format(i))
# x=i
# xr.append(x)
# for i in range(1,101):
# if i *0.1//1==b:
# # print("y:{}".format(i))
# y=i
# ... | # coding: utf-8
a, b = map(int, input().split())
# print(a,b)
# x=-1
# y=-1
# xr=[]
# yr=[]
# for i in range(1,101):
# if i*0.08//1==a:
# # print("x:{}".format(i))
# x=i
# xr.append(x)
# for i in range(1,101):
# if i *0.1//1==b:
# # print("y:{}".format(i))
# y=i
# ... | [
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 540,071 | 540,072 | u007627455 | python |
p02755 | A, B = map(int, input().split())
ans = '-1'
for n in range(1, 1000):
if n // (1/0.08) == A and n // (1/0.1) == B:
ans = n
break
print(ans) | A, B = map(int, input().split())
ans = '-1'
for n in range(1, 1001):
if n // (1/0.08) == A and n // (1/0.1) == B:
ans = n
break
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,084 | 540,085 | u578647703 | python |
p02755 | import math
a, b = map(int, input().split())
for i in range(1,101):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
print(i)
exit()
print(-1)
| import math
a, b = map(int, input().split())
for i in range(1,1001):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
print(i)
exit()
print(-1)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,092 | 540,093 | u749770850 | python |
p02755 | import math
a, b = map(int, input().split())
for i in range(1,101):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
print(i)
exit()
print(-1)
| import math
a, b = map(int, input().split())
for i in range(1,1001):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
print(i)
exit()
print(-1)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,092 | 540,094 | u749770850 | python |
p02755 | a, b = list(map(int, input().split()))
for x in range(1, 100 + 1):
if int(x * 0.08) == a and int(x * 0.1) == b:
print(x)
exit()
else:
print('-1')
| a, b = list(map(int, input().split()))
for x in range(1, 1000+1):
if int(x * 0.08) == a and int(x * 0.1) == b:
print(x)
exit()
else:
print('-1')
| [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,095 | 540,096 | u530606147 | python |
p02755 | a,b=map(int,input().split())
eightper = 0.08
tenper = 0.1
ans = -1
for i in range(1,100+1):
if int(i*eightper)==a:
if int(i*tenper)==b:
ans=i
break
print(ans) | a,b=map(int,input().split())
eightper = 0.08
tenper = 0.1
ans = -1
for i in range(1,1000+1):
if int(i*eightper)==a:
if int(i*tenper)==b:
ans=i
break
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,117 | 540,118 | u767304716 | python |
p02755 | a,b=map(int,input().split())
eightper = 0.08
tenper = 0.1
ans = -1
for i in range(100+1):
if int(i*eightper)==a:
if int(i*tenper)==b:
ans=i
break
print(ans) | a,b=map(int,input().split())
eightper = 0.08
tenper = 0.1
ans = -1
for i in range(1,1000+1):
if int(i*eightper)==a:
if int(i*tenper)==b:
ans=i
break
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"expression.operation.binary.change",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 540,119 | 540,118 | u767304716 | python |
p02755 | A, B = map(int, input().split())
result = []
for i in range(1, 1000):
if int(i * 0.08) == A and int(i * 0.1) == B:
result.append(i)
if len(result) == 0:
print('-1')
else:
print(min(result)) | A, B = map(int, input().split())
result = []
for i in range(1, 100000):
if int(i * 0.08) == A and int(i * 0.1) == B:
result.append(i)
if len(result) == 0:
print('-1')
else:
print(min(result)) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,122 | 540,123 | u293523199 | python |
p02755 | A,B=map(int,input().split())
A_list=[]
B_list=[]
for i in range(101):
if int(i*0.08)==A:
A_list.append(i)
if int(i*0.1)==B:
B_list.append(i)
flg=0
for i in A_list:
if i in B_list:
print(i)
flg=1
break
if flg==0:
print('-1') | A,B=map(int,input().split())
A_list=[]
B_list=[]
for i in range(1201):
if int(i*0.08)==A:
A_list.append(i)
if int(i*0.1)==B:
B_list.append(i)
flg=0
for i in A_list:
if i in B_list:
print(i)
flg=1
break
if flg==0:
print('-1') | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,130 | 540,131 | u314837274 | python |
p02755 | A,B=map(int,input().split())
A_list=[]
B_list=[]
for i in range(101):
if int(i*0.08)==A:
A_list.append(i)
if int(i*0.1)==B:
B_list.append(i)
flg=0
for i in A_list:
if i in B_list:
print(i)
flg=1
break
if flg==0:
print("-1") | A,B=map(int,input().split())
A_list=[]
B_list=[]
for i in range(1201):
if int(i*0.08)==A:
A_list.append(i)
if int(i*0.1)==B:
B_list.append(i)
flg=0
for i in A_list:
if i in B_list:
print(i)
flg=1
break
if flg==0:
print('-1') | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"literal.string.change",
"io.output.change"
] | 540,132 | 540,131 | u314837274 | python |
p02755 | import math
A, B = map(int, input().split())
ans = -1
for i in range(1, 1000):
if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B:
ans = i
break
print(ans) | import math
A, B = map(int, input().split())
ans = -1
for i in range(1, 100000):
if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B:
ans = i
break
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,150 | 540,149 | u865413330 | python |
p02755 | import math
A, B = map(int, input().split())
ans = -1
for i in range(1, 1000):
if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B:
ans = i
break
print(ans) | import math
A, B = map(int, input().split())
ans = -1
for i in range(1, 1000000):
if math.floor(i * 0.08) == A and math.floor(i * 0.1) == B:
ans = i
break
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,150 | 540,151 | u865413330 | python |
p02755 | A, B = map(int, input().split())
x_a = int((A-1) * 100 / 8)
x_b = int((B+1) * 100 / 10)
l = [i for i in range(min(x_a, x_b)-1, max(x_a, x_b)+1)]
print(l)
for n in l:
if int(n * 0.08) == A and int(n * 0.10) == B:
print(n)
break
else:
print(-1) | A, B = map(int, input().split())
x_a = int((A-1) * 100 / 8)
x_b = int((B+1) * 100 / 10)
l = [i for i in range(min(x_a, x_b)-1, max(x_a, x_b)+1)]
for n in l:
if int(n * 0.08) == A and int(n * 0.10) == B:
print(n)
break
else:
print(-1) | [
"call.remove"
] | 540,158 | 540,159 | u630027862 | python |
p02755 | a, b = map(int, input().split())
import math
ans = 0
for i in range(1000):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
ans = i
print(i)
break
if ans == 0:
print(-1)
| a, b = map(int, input().split())
import math
ans = 0
for i in range(1251):
if math.floor(i * 0.08) == a and math.floor(i * 0.1) == b:
ans = i
print(i)
break
if ans == 0:
print(-1)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,160 | 540,161 | u374501720 | python |
p02755 | a,b = list(map(int,input().split()))
to = 0
while 1:
to += 100
c = int(to * 0.08)
d = int(to * 0.1)
if c >= a and d >= b:
while 1:
to -= 1
c = int(to * 0.08)
d = int(to * 0.1)
if c == a and d == b:
print(to)
exit()
elif to % 100 == 0:
print(-1)
... | a,b = list(map(int,input().split()))
to = 0
while 1:
to += 100
c = int(to * 0.08)
d = int(to * 0.1)
if c >= a and d >= b:
to -= 100
while 1:
to += 1
c = int(to * 0.08)
d = int(to * 0.1)
if c == a and d == b:
print(to)
exit()
elif to % 100 == 0:
prin... | [
"expression.operator.change"
] | 540,162 | 540,163 | u368579103 | python |
p02755 | def input_int_list():
return [int(thing) for thing in input().split(" ")]
def No():
print(-1)
exit()
def eight(x):
return int(x*0.08//1)
def ten(x):
return int(x*0.1//1)
A,B=input_int_list()
for i in range(1,101):
if eight(i)==A and ten(i)==B:
print(i)
exit()
No()
| def input_int_list():
return [int(thing) for thing in input().split(" ")]
def No():
print(-1)
exit()
def eight(x):
return int(x*0.08//1)
def ten(x):
return int(x*0.1//1)
A,B=input_int_list()
for i in range(1,1009):
if eight(i)==A and ten(i)==B:
print(i)
exit()
No()
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,164 | 540,165 | u334928930 | python |
p02755 | import math
A,B = map(int,input().split())
min_8=math.ceil(A*(100/8))
max_8=int((A+1)*(100/8))
if max_8==(A+1)*(100/8):
max_8-=1
min_10=B*10
max_10=int((B+1)*10)
if max_8 < min_10:
print("-1")
elif min_8 > max_10:
print("-1")
elif max_8 >= min_10:
if min_8 < min_10:
print(min_10)
elif min_8 ... | import math
A,B = map(int,input().split())
min_8=math.ceil(A*(100/8))
max_8=int((A+1)*(100/8))
if max_8==(A+1)*(100/8):
max_8-=1
min_10=B*10
max_10=int((B+1)*10)-1
if max_8 < min_10:
print("-1")
elif min_8 > max_10:
print("-1")
elif max_8 >= min_10:
if min_8 < min_10:
print(min_10)
elif min_... | [
"assignment.change"
] | 540,172 | 540,173 | u874885251 | python |
p02755 | import math
string = input()
a = int(string.split()[0])
b = int(string.split()[1])
if int(100 * (a + 1) / 8) < 10 * b:
print(-1)
elif math.ceil(100 * a / 8) < 10 * b:
print(10 * b)
elif math.ceil(100 * a / 8) < 10 * (b + 1):
print(math.ceil(100 * a / 8))
else:
print(-1)
| import math
string = input()
a = int(string.split()[0])
b = int(string.split()[1])
if int(100 * (a + 1) / 8) <= 10 * b:
print(-1)
elif math.ceil(100 * a / 8) < 10 * b:
print(10 * b)
elif math.ceil(100 * a / 8) < 10 * (b + 1):
print(math.ceil(100 * a / 8))
else:
print(-1)
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 540,178 | 540,179 | u885530128 | python |
p02755 | import math
string = input()
a = int(string.split()[0])
b = int(string.split()[1])
if int(100 * (a + 1) / 8) < 10 * b:
print(-1)
elif math.ceil(100 * a / 8) <= 10 * b:
print(10 * b)
elif math.ceil(100 * a / 8) <= 10 * (b + 1):
print(math.ceil(100 * a / 8))
else:
print(-1)
| import math
string = input()
a = int(string.split()[0])
b = int(string.split()[1])
if int(100 * (a + 1) / 8) <= 10 * b:
print(-1)
elif math.ceil(100 * a / 8) < 10 * b:
print(10 * b)
elif math.ceil(100 * a / 8) < 10 * (b + 1):
print(math.ceil(100 * a / 8))
else:
print(-1)
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 540,180 | 540,179 | u885530128 | python |
p02755 | inp = input().split(" ")
A, B = (int(inp[0]), int(inp[1]))
kouhoB = []
if A % 2 == 1:
kouhoA = list(range(int(A * 12.5 + 1), int((A + 1) * 12.5)))
else:
kouhoA = (list(range(int(A * 12.5), int((A + 1) * 12.5 + 1))))
num = B*10
while num <= B*10+9:
kouhoB.append(num)
num += 1
dottimo = list(set(kouhoA) &... | inp = input().split(" ")
A, B = (int(inp[0]), int(inp[1]))
kouhoB = []
if A % 2 == 1:
kouhoA = list(range(int(A * 12.5 + 1), int((A + 1) * 12.5)))
else:
kouhoA = (list(range(int(A * 12.5), int((A + 1) * 12.5 + 1))))
num = B*10
while num <= B*10+9:
kouhoB.append(num)
num += 1
dottimo = list(set(kouhoA) &... | [
"call.arguments.add",
"call.arguments.change",
"io.output.change"
] | 540,184 | 540,185 | u661343770 | python |
p02755 | import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
a = list(map(int, input().split(" ")))
min8 = a[0]/0.08
max8 = (a[0]+1)/0.08
min10 = a[1]/0.1
max10 =(a[1]+1)/0.1
a = max(min8, min10)
if ((min8>=max10) or (max8<=min10)):
print(-1)
else:
print(Decimal(b).quantize(Decimal('0'), rounding = R... | import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
a = list(map(int, input().split(" ")))
min8 = a[0]/0.08
max8 = (a[0]+1)/0.08
min10 = a[1]/0.1
max10 =(a[1]+1)/0.1
b = max(min8, min10)
if ((min8>=max10) or (max8<=min10)):
print(-1)
else:
print(Decimal(b).quantize(Decimal('0'), rounding = R... | [
"assignment.variable.change",
"identifier.change"
] | 540,188 | 540,189 | u185393907 | python |
p02755 | import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
a = list(map(int, input().split(" ")))
min8 = a[0]/0.08
max8 = (a[0]+1)/0.08
min10 = a[1]/0.1
max10 =(a[1]+1)/0.1
a = max(min8, min10)
if ((min8>max10) or (max8<min10)):
print(-1)
else:
print(Decimal(a).quantize(Decimal('0'), rounding = ROU... | import math
from decimal import Decimal, ROUND_HALF_UP, ROUND_HALF_EVEN
a = list(map(int, input().split(" ")))
min8 = a[0]/0.08
max8 = (a[0]+1)/0.08
min10 = a[1]/0.1
max10 =(a[1]+1)/0.1
b = max(min8, min10)
if ((min8>=max10) or (max8<=min10)):
print(-1)
else:
print(Decimal(b).quantize(Decimal('0'), rounding = R... | [
"assignment.variable.change",
"identifier.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.arguments.change"
] | 540,190 | 540,189 | u185393907 | python |
p02755 | # 制約が小さいので全探索
def main():
a, b = int(input().split())
for i in range(1100):
if int(i * 0.08) == a and int(i * 0.1) == b:
print(i)
return
print(-1)
main() | # 制約が小さいので全探索
def main():
a, b = map(int, input().split())
for i in range(1100):
if int(i * 0.08) == a and int(i * 0.1) == b:
print(i)
return
print(-1)
main() | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add"
] | 540,197 | 540,198 | u874644572 | python |
p02755 | import math
def resolve():
A, B = map(int, input().split())
# max
X_MAX = int(100 / 0.08)
Y_MAX = int(100 / 0.10)
x = int(A / 0.08)
y = int(B / 0.10)
for i in range(Y_MAX):
if int(i * 0.08) == A and int(i * 0.10) == B:
print(i)
return
'''
while... | import math
def resolve():
A, B = map(int, input().split())
# max
X_MAX = int(100 / 0.08)
Y_MAX = int(100 / 0.10)
x = int(A / 0.08)
y = int(B / 0.10)
for i in range(1, Y_MAX + 1):
if int(i * 0.08) == A and int(i * 0.10) == B:
print(i)
return
'''
... | [
"call.arguments.add"
] | 540,205 | 540,206 | u644546699 | python |
p02755 | import math
line = input().split(" ")
eight_tax = int(line[0])
ten_tax = int(line[1])
eight_side_price = math.floor(eight_tax / 0.08)
ten_side_price = math.floor(ten_tax / 0.1)
while(1):
break_flg = 0
for i in range(int(math.fabs(eight_side_price - ten_side_price)) + 1):
target = eight_side_price if... | import math
line = input().split(" ")
eight_tax = int(line[0])
ten_tax = int(line[1])
eight_side_price = math.ceil(eight_tax / 0.08)
ten_side_price = math.ceil(ten_tax / 0.1)
while(1):
break_flg = 0
for i in range(int(math.fabs(eight_side_price - ten_side_price)) + 1):
target = eight_side_price if e... | [
"misc.opposites",
"assignment.value.change",
"identifier.change"
] | 540,215 | 540,216 | u936391676 | python |
p02755 | import math
A,B=map(int,input().split())
def ans(A,B):
for i in range(1,101):
if int(math.floor(i*0.1))==B:
if int(math.floor(i*0.08))==A:
return i
return '-1'
print(ans(A,B)) | import math
A,B=map(int,input().split())
def ans(A,B):
for i in range(1,1300):
if int(math.floor(i*0.1))==B:
if int(math.floor(i*0.08))==A:
return i
return '-1'
print(ans(A,B)) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,221 | 540,222 | u051928503 | python |
p02755 | import math
a,b = map(int, input().split())
ans = []
for i in range(1,101):
if math.floor(i*0.08) == a and math.floor(i*0.1) == b:
ans.append(i)
if ans:
print(min(ans))
else:
print(-1) | import math
a,b = map(int, input().split())
ans = []
for i in range(1,1001):
if math.floor(i*0.08) == a and math.floor(i*0.1) == b:
ans.append(i)
if ans:
print(min(ans))
else:
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,223 | 540,224 | u672898046 | python |
p02755 | import math
a, b = map(int, input().split())
tax008 = [(a / 0.08), ((a + 1) / 0.08)]
tax010 = [(b / 0.1), ((b + 1) / 0.1)]
min_value = math.ceil(max(tax008[0], tax010[0]))
max_value = math.floor(min(tax008[1], tax010[1]))
if min_value > max_value:
print(-1)
else:
print(min_value)
| import math
a, b = map(int, input().split())
tax008 = [(a / 0.08), ((a + 1) / 0.08)]
tax010 = [(b / 0.1), ((b + 1) / 0.1)]
min_value = math.ceil(max(tax008[0], tax010[0]))
max_value = math.floor(min(tax008[1], tax010[1]))
if min_value >= max_value:
print(-1)
else:
print(min_value)
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 540,229 | 540,230 | u706929073 | python |
p02755 | from math import floor
A, B = map(int, input().split())
for i in range(1000):
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(1001):
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"
] | 540,231 | 540,232 | u451012573 | python |
p02755 | a, b = list(map(int, input().strip().split()))
for i in range(0,1000):
if int(i*0.08)==a and int(i*0.1)==b:
print(i)
break
else:
print("-1") | a, b = list(map(int, input().strip().split()))
for i in range(0,1500):
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"
] | 540,233 | 540,234 | u026731851 | python |
p02755 | import math
A, B = map(int, input().split(' '))
def calc():
global A, B
for x in range(1000):
a = math.floor(x * 0.08)
b = math.floor(x * 0.1)
if a == A and b == B:
return x
return -1
res = calc()
print(res)
| import math
A, B = map(int, input().split(' '))
def calc():
global A, B
for x in range(1, 1001):
a = math.floor(x * 0.08)
b = math.floor(x * 0.1)
if a == A and b == B:
return x
return -1
res = calc()
print(res)
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 540,239 | 540,240 | u329799519 | python |
p02755 | import math
a,b=map(int,input().split())
emin=math.ceil(a/0.08)
emax=math.ceil((a+1)/0.08)
tmin=math.ceil(b/0.1)
tmax=math.ceil((b+1)/0.1)
if tmin<=emin<=tmax:
print(emin)
elif emin<=tmin<=emax:
print(tmin)
else:
print(-1) | import math
a,b=map(int,input().split())
emin=math.ceil(a/0.08)
emax=math.ceil((a+1)/0.08)-1
tmin=math.ceil(b/0.1)
tmax=math.ceil((b+1)/0.1)-1
if tmin<=emin<=tmax:
print(emin)
elif emin<=tmin<=emax:
print(tmin)
else:
print(-1) | [
"assignment.change"
] | 540,252 | 540,253 | u730107446 | python |
p02755 | a,b=(int(x) for x in input().split())
if int(25*(a+1)/2)<int(10*b):
print(-1)
elif int(25*(a+1)/2)==int(10*b):
if a%2==0:
print(-1)
else:
print(int(10*b))
elif int(10*(b+1))<=int(25*a/2):
print(-1)
elif int(10*(b+1)-1)==int(25*a/2):
if a%2==1:
print(-1)
else:
print(int(25*a/2))
else:
if ... | a,b=(int(x) for x in input().split())
if int(25*(a+1)/2)<int(10*b):
print(-1)
elif int(25*(a+1)/2)==int(10*b):
if a%2==1:
print(-1)
else:
print(int(10*b))
elif int(10*(b+1))<=int(25*a/2):
print(-1)
elif int(10*(b+1)-1)==int(25*a/2):
if a%2==1:
print(-1)
else:
print(int(25*a/2))
else:
if ... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 540,254 | 540,255 | u927282564 | python |
p02755 | a,b=(int(x) for x in input().split())
if int(25*(a+1)/2)<int(10*b):
print(-1)
elif int(25*(a+1)/2)==int(10*b):
if a%2==0:
print(-1)
else:
print(int(25*a/2))
elif int(10*(b+1))<=int(25*a/2):
print(-1)
elif int(10*(b+1)-1)==int(25*a/2):
if a%2==1:
print(-1)
else:
print(int(25*a/2))
else:
i... | a,b=(int(x) for x in input().split())
if int(25*(a+1)/2)<int(10*b):
print(-1)
elif int(25*(a+1)/2)==int(10*b):
if a%2==1:
print(-1)
else:
print(int(10*b))
elif int(10*(b+1))<=int(25*a/2):
print(-1)
elif int(10*(b+1)-1)==int(25*a/2):
if a%2==1:
print(-1)
else:
print(int(25*a/2))
else:
if ... | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"identifier.change",
"expression.operation.binary.remove"
] | 540,256 | 540,255 | u927282564 | python |
p02755 | import math
a, b = map(int, input().split())
mid_a = 12.5 * a
mid_b = 10 * b
a_range = [
i for i in range(
math.ceil(mid_a),
math.floor(
mid_a +
12 +
1)) if i > 0]
b_range = [
i for i in range(
math.ceil(mid_b),
math.floor(
mid_b ... | import math
a, b = map(int, input().split())
mid_a = 12.5 * a
mid_b = 10 * b
a_range = [
i for i in range(
math.ceil(mid_a),
math.floor(
mid_a +
12 +
1)) if i > 0]
b_range = [
i for i in range(
math.ceil(mid_b),
math.floor(
mid_b ... | [
"call.add",
"call.remove"
] | 540,269 | 540,270 | u116348130 | python |
p02755 | import math
a, b = map(int, input().split())
mid_a = 12.5 * a
mid_b = 10 * b
a_range = [
i for i in range(
math.ceil(mid_a),
math.floor(
mid_a +
12 +
1)) if i > 0]
b_range = [
i for i in range(
math.ceil(mid_b),
math.floor(
mid_b ... | import math
a, b = map(int, input().split())
mid_a = 12.5 * a
mid_b = 10 * b
a_range = [
i for i in range(
math.ceil(mid_a),
math.floor(
mid_a +
12 +
1)) if i > 0]
b_range = [
i for i in range(
math.ceil(mid_b),
math.floor(
mid_b ... | [
"call.add",
"call.arguments.change"
] | 540,271 | 540,270 | u116348130 | python |
p02755 | # C
import math
A, B = map(int, input().split())
X1 = B*10
X2 = math.ceil((B+1)*10) - 1
X3 = (A/0.08)
X4 = math.ceil(((A+1)/0.08)) - 1
# print(X1, X2, X3, X4)
if X3<=X1 and X1 <= X4 and X4 <= X2:
print(int(X1))
elif X3<=X1 and X1 <= X2 and X2 <= X4:
print(int(X1))
elif X1<=X3 and X3 <= X4 and X4 <= X2:
p... | # C
import math
A, B = map(int, input().split())
X1 = B*10
X2 = math.ceil((B+1)*10) - 1
X3 = math.ceil((A/0.08))
X4 = math.ceil(((A+1)/0.08)) - 1
# print(X1, X2, X3, X4)
if X3<=X1 and X1 <= X4 and X4 <= X2:
print(int(X1))
elif X3<=X1 and X1 <= X2 and X2 <= X4:
print(int(X1))
elif X1<=X3 and X3 <= X4 and X4 <... | [
"call.add",
"call.arguments.change"
] | 540,283 | 540,284 | u239528020 | python |
p02755 | b,a = map(int,input().split())
ans = a*10
for i in range(11):
if i == 10:
ans = -1
break
if int(ans*0.08) == b:
break
ans += 1
print(ans)
print(ans) | b,a = map(int,input().split())
ans = a*10
for i in range(11):
if i == 10:
ans = -1
break
if int(ans*0.08) == b:
break
ans += 1
print(ans) | [
"call.remove"
] | 540,294 | 540,295 | u025463382 | python |
p02755 | A, B = list(map(int,input().split()))
for i in range(1,101):
a = int(i * 0.08)
if(a == A):
b = int(i * 0.1)
if(b == B):
print(i)
exit()
print('-1')
| A, B = list(map(int,input().split()))
for i in range(1,10001):
a = int(i * 0.08)
if(a == A):
b = int(i * 0.1)
if(b == B):
print(i)
exit()
print('-1')
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,298 | 540,299 | u205918233 | python |
p02755 | import numpy as np
a = list(map(int,input().split()))
b = a[0]/0.08
c = (a[0]+1)/0.08
d = a[1]/0.1
e = (a[1]+1)/0.1
f=20000
if b<d:
min=b
else :
min =d
g=int(np.ceil(min))
for i in range(g,10001):
if i>=b and i<=c:
if i>=d and i<=e:
f = i
break
if f==20000:
print(-1)
else... | import numpy as np
a = list(map(int,input().split()))
b = a[0]/0.08
c = (a[0]+1)/0.08
d = a[1]/0.1
e = (a[1]+1)/0.1
f=20000
if b<d:
min=b
else :
min =d
g=int(np.floor(min))
for i in range(g,10001):
if i>=b and i<c:
if i>=d and i<e:
f = i
break
if f==20000:
print(-1)
else:... | [
"misc.opposites",
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 540,303 | 540,304 | u470618774 | python |
p02755 | import numpy as np
a = list(map(int,input().split()))
b = a[0]/0.08
c = (a[0]+1)/0.08
d = a[1]/0.1
e = (a[1]+1)/0.1
f=20000
if b<d:
min=b
else :
min =d
g=int(np.ceil(min))
for i in range(g,10000):
if i>=b and i<=c:
if i>=d and i<=e:
f = i
break
if f==20000:
print(-1)
else... | import numpy as np
a = list(map(int,input().split()))
b = a[0]/0.08
c = (a[0]+1)/0.08
d = a[1]/0.1
e = (a[1]+1)/0.1
f=20000
if b<d:
min=b
else :
min =d
g=int(np.floor(min))
for i in range(g,10001):
if i>=b and i<c:
if i>=d and i<e:
f = i
break
if f==20000:
print(-1)
else:... | [
"misc.opposites",
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"literal.number.integer.change",
"control_flow.loop.range.bounds.upper.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 540,305 | 540,304 | u470618774 | python |
p02755 | import numpy as np
grid = []
#for i in range(1):
array = list(map(int,input().strip().split()))
# grid.append(array)
#print(array)
a = array[0]
b = array[1]
min8 = a/0.08
max8 = (a+1)/0.08
min10 = b/0.1
max10 = (b+1)/0.1
def lists(a,b):
if a%1==0:
a2 = a
else:
a2 = int(a)+1
if b%1==0:
... | import numpy as np
array = list(map(int,input().strip().split()))
a = array[0]
b = array[1]
min8 = a/0.08
max8 = (a+1)/0.08
min10 = b/0.1
max10 = (b+1)/0.1
def lists(a,b):
if a%1==0:
a2 = a
else:
a2 = int(a)+1
if b%1==0:
b2 = b-1
else:
b2 = int(b)
return np.arange... | [
"assignment.remove",
"assignment.change"
] | 540,310 | 540,311 | u798543098 | python |
p02755 | import math
A,B=map(int,input().split())
sup=min((A+1)/1.08,(B+1)/1.1)
inf=max(A/1.08,B/1.1)
inf2=math.ceil(inf)
if inf2<sup:
print(inf2)
else:
print(-1) | import math
A,B=map(int,input().split())
sup=min((A+1)/0.08,(B+1)/0.1)
inf=max(A/0.08,B/0.1)
inf2=math.ceil(inf)
if inf2<sup:
print(inf2)
else:
print(-1) | [
"literal.number.float.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 540,330 | 540,331 | u692311686 | python |
p02755 | a, b = input().split(" ")
a, b = int(a), int(b)
ans = -1
for i in range(101):
if (int(i * 0.08) == a) and (int(i * 0.10) == b):
ans = i
break
print(ans)
| a, b = input().split(" ")
a, b = int(a), int(b)
ans = -1
for i in range(1, 1010):
if (int(i * 0.08) == a) and (int(i * 0.10) == b):
ans = i
break
print(ans) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 540,334 | 540,335 | u222601865 | python |
p02755 | a,b = map(int,input().split())
for i in range(1,101):
x = int(i * 0.08)
y = int(i * 0.10)
if x == a and y == b:
print(i)
break
else:
print(-1) | a,b = map(int,input().split())
for i in range(1,1300):
x = int(i * 0.08)
y = int(i * 0.10)
if x == a and y == b:
print(i)
break
else:
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change"
] | 540,336 | 540,337 | u127499732 | python |
p02755 | a,b = map(int,input().split())
for i in range(101):
x = int(i * 0.08)
y = int(i * 0.10)
if x == a and y == b:
print(i)
break
else:
print(-1) | a,b = map(int,input().split())
for i in range(1,1300):
x = int(i * 0.08)
y = int(i * 0.10)
if x == a and y == b:
print(i)
break
else:
print(-1) | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"call.arguments.add"
] | 540,338 | 540,337 | u127499732 | python |
p02755 | A,B = [int(i) for i in input().split()]
for i in range(101):
if int(i*0.08)==A and int(i*0.1)==B:
print(i);exit()
print(-1) | A,B = [int(i) for i in input().split()]
for i in range(1,10000):
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.arguments.add"
] | 540,356 | 540,357 | u268516119 | python |
p02755 | mi = lambda : map(int,input().split())
a,b = mi()
for i in range(1,102):
if((int(i*0.08) == a) & (int((i*0.1)) == b)):
print(i)
break
else:
print(-1)
| mi = lambda : map(int,input().split())
a,b = mi()
for i in range(1,1002):
if((int(i*0.08) == a) & (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"
] | 540,364 | 540,365 | u117054186 | python |
p02755 | mi = lambda : map(int,input().split())
a,b = mi()
for i in range(102):
if((int(i*0.08) == a) & (int((i*0.1)) == b)):
print(i)
break
else:
print('-1')
| mi = lambda : map(int,input().split())
a,b = mi()
for i in range(1,1002):
if((int(i*0.08) == a) & (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",
"call.arguments.add"
] | 540,367 | 540,365 | u117054186 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.