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 |
|---|---|---|---|---|---|---|---|
p02783 | H, A = map(int, input().split())
times, mod = divmod(H, A)
if mod != 0:
times += times + 1
print(times)
| H, A = map(int, input().split())
times, mod = divmod(H, A)
if mod != 0:
times += 1
print(times)
| [
"expression.operation.binary.remove"
] | 583,648 | 583,649 | u486251525 | python |
p02783 | a,b=map(int, input().split())
if A % b !=0:
print(a//b+1)
else:
print(a//b) | a,b=map(int, input().split())
if a % b !=0:
print(a//b+1)
else:
print(a//b) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 583,652 | 583,653 | u672882146 | python |
p02783 | h,a = map(int, input().split())
print(math.ceil(h/a)) | import math
h, a = map(int, input().split())
print(math.ceil(h / a))
| [] | 583,660 | 583,661 | u974792613 | python |
p02783 | mylist = list(map(int, myinput.split(" ")))
H = mylist[0]
A = mylist[1]
x = 0
while H >0:
H -= A
x += 1
print(x) | myinput = input()
mylist = list(map(int, myinput.split(" ")))
H = mylist[0]
A = mylist[1]
x = 0
while H > 0:
H -= A
x += 1
print(x) | [
"assignment.add"
] | 583,672 | 583,673 | u872657955 | python |
p02783 | N,M = (int(x) for x in input().split())
K = N/M
if N < M:
print(1)
elif N%M == 0:
print(K)
else:
print(K+1) | N,M = (int(x) for x in input().split())
K = int(N/M)
if N < M:
print(1)
elif N%M == 0:
print(K)
else:
print(K+1) | [
"call.add",
"call.arguments.change"
] | 583,681 | 583,682 | u318740143 | python |
p02783 | h, a = map(int, input())
print(-(-h // a)) | h, a = map(int, input().split())
print(-(-h // a)) | [
"call.add"
] | 583,683 | 583,684 | u559891647 | python |
p02783 | h,a = map(int,input().split())
print(h//a) | h,a = map(int,input().split())
print((h + a - 1) // a) | [
"call.arguments.change"
] | 583,689 | 583,690 | u046592970 | python |
p02783 | H, A = map(int, input().split())
print(H//A + 1)
| H, A = map(int, input().split())
print(-(-H//A))
| [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,691 | 583,692 | u767664985 | python |
p02783 | a = input().split(" ")
H = int(a[0])
A = int(a[1])
ans = 0
while H >= 0:
H -= A
ans += 1
print(ans) | # coding: utf-8
# Your code here!
a = input().split(" ")
H = int(a[0])
A = int(a[1])
ans = 0
while H > 0:
H -= A
ans += 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,697 | 583,698 | u558129042 | python |
p02783 | a = input().split(" ")
H = int(a[0])
A = int(a[1])
ans = 0
while H >= 0:
H -= A
ans += 1
print(ans) | # coding: utf-8
# Your code here!
a = input().split(" ")
H = int(a[0])
A = int(a[1])
ans = 0
while H > 0:
H -= A
ans += 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,697 | 583,699 | u558129042 | python |
p02783 | h,a = map(int,input().split())
if(h<a):
print("1")
elif(h%a != 0):
print(h/a+1)
else:
print(h/a) | h,a = map(int,input().split())
if(h<a):
print("1")
elif(h%a != 0):
print(h//a+1)
else:
print(h//a) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,700 | 583,701 | u828261239 | python |
p02783 | h,a = map(int, input.split())
print(((h+a-1)//a)) | h,a = map(int, input().split())
print(((h+a-1)//a)) | [
"call.add"
] | 583,706 | 583,707 | u694433776 | python |
p02783 | a,b=map(int,imput().split())
print(a//b+(1-int(a%b==0))) | a,b=map(int,input().split())
print(a//b+(1-int(a%b==0))) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 583,717 | 583,718 | u881214802 | python |
p02783 | h,a = map(int,input().split())
if a>h:
att = 1
else:
if h%a==0:
att = h/a
elif h%a!=0:
att = h/a+1
print(att) | h,a = map(int,input().split())
if a>h:
att = 1
else:
if h%a==0:
att = h/a
elif h%a!=0:
att = (h//a)+1
print(round(att)) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"call.add",
"call.arguments.change"
] | 583,724 | 583,722 | u863721754 | python |
p02783 | h,a = map(input().split())
print((h+a-1)//a) | h,a = map(int, input().split())
print((h+a-1)//a)
| [
"call.arguments.add"
] | 583,729 | 583,730 | u314057689 | python |
p02783 | h, a = map(int, input().split())
ans = 0
while (h >= 0):
h -= a
ans += 1
print(ans)
| h, a = map(int, input().split())
ans = 0
while (h > 0):
h -= a
ans += 1
print(ans)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,731 | 583,732 | u517621096 | python |
p02783 | import math
line = input()
numList = [int(num) for num in line.split(' ')]
monsterHP,servalA = numList[0].numList[1]
print(math.ceil(monsterHP/servalA))
| import math
line = input()
numList = [int(num) for num in line.split(' ')]
monsterHP,servalA = numList[0],numList[1]
print(math.ceil(monsterHP/servalA)) | [
"misc.typo",
"assignment.value.change"
] | 583,736 | 583,737 | u649193159 | python |
p02783 | h, a = map(int, input().split())
print((h+a-1)/a) | h, a = map(int, input().split())
print(int((h+a-1)/a)) | [
"call.arguments.add",
"call.arguments.change"
] | 583,746 | 583,747 | u032222383 | python |
p02783 | import math
H,A=map(int,input().split())
print(math.floor(H/A))
| import math
H,A=map(int,input().split())
print(math.ceil(H/A)) | [
"misc.opposites",
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 583,748 | 583,749 | u555558586 | python |
p02783 | import math
input_line = input().split()
H, A = map(int, input_line())
print(math.ceil(H/A))
| import math
input_line = input().split()
H, A = map(int, input_line)
print(math.ceil(H/A))
| [
"call.arguments.change"
] | 583,750 | 583,751 | u449645817 | python |
p02783 | H,A = map(int, input().split())
if H % A == 0:
print(A)
else:
print((H//A) + 1) | H,A = map(int, input().split())
if H % A == 0:
print(int(H/A))
else:
print((H//A) + 1)
| [
"call.add",
"call.arguments.change"
] | 583,768 | 583,767 | u609814378 | python |
p02783 | c,d=(int(x) for x in input().split())
a=c//d+1
print(a) | c,d=(int(x) for x in input().split())
a=-(-c//d)
print(a) | [
"assignment.value.change",
"expression.operation.binary.change"
] | 583,769 | 583,770 | u849229491 | python |
p02783 | #入力
H, A = map(int, input().split())
#出力
s = 0
counter = 1
while counter>0:
if H - A >=0:
H = H - A
s = s + 1
counter = counter
else:
H = H - A
s = s
counter = counter - 1
print(s) | #入力
H, A = map(int, input().split())
#出力
s = 1
counter = 1
while counter>0:
if H - A >0:
H = H - A
s = s + 1
counter = counter
else:
H = H - A
s = s
counter = counter - 1
print(s) | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 583,771 | 583,772 | u053909865 | python |
p02783 | from sys import stdin
x,y = [int(x) for x in stdin.readline().rstrip().split()]
z = x/y
if(x%y==0):
print(z)
else:
print(z+1) | from sys import stdin
x,y = [int(x) for x in stdin.readline().rstrip().split()]
z = int(x/y)
if(x%y==0):
print(z)
else:
print(z+1) | [
"call.add",
"call.arguments.change"
] | 583,777 | 583,778 | u106181248 | python |
p02783 | a, h = map(int, input())
print((a+h-1)//h) | a, h = map(int, input().split())
print((a+h-1)//h)
| [
"call.add"
] | 583,786 | 583,784 | u237362582 | python |
p02783 | H, A = int(input().split())
ans = -(-H // A)
print(ans) | H, A = map(int, input().split())
ans = -(-H // A)
print(ans) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add"
] | 583,787 | 583,788 | u682997551 | python |
p02783 | H, A = map(int, input().split())
if H % A == 0:
print(H / A)
elif H % A != 0:
print(H / A +1) | H, A = map(int, input().split())
if H % A == 0:
print(H // A)
elif H % A != 0:
print(H // A +1) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,789 | 583,790 | u697968316 | python |
p02783 | H, A = mat(int, input().split())
if H % A == 0:
print(H / A)
elif H % A != 0:
print(H / A +1) | H, A = map(int, input().split())
if H % A == 0:
print(H // A)
elif H % A != 0:
print(H // A +1) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,791 | 583,790 | u697968316 | python |
p02783 | H,A = map(int,input().split())
if H % A != 0:
print(H//A)
elif H % A == 0:
print(H/A) | H, A = map(int, input().split())
if H % A == 0:
print(H // A)
elif H % A != 0:
print(H // A +1) | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,792 | 583,790 | u697968316 | python |
p02783 | H,A = map(int,input().split())
if H % A != 0:
print(H//A)
elif H % A == 0:
print(H/A) | H,A = map(int,input().split())
if H % A != 0:
print(H//A + 1)
elif H % A == 0:
print(H//A) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,792 | 583,794 | u697968316 | python |
p02783 | import sys
for line in sys.stdin:
h, a = list(map(lambda x: int(x), line.split()))
hits = h // a
if h % a and a > 0:
print(hits)
else:
print(hits + 1)
| import sys
for line in sys.stdin:
h, a = list(map(lambda x: int(x), line.split()))
hits = h // a
if h % a == 0 and a > 0:
print(hits)
else:
print(hits + 1)
| [
"control_flow.branch.if.condition.change",
"control_flow.loop.for.condition.change"
] | 583,805 | 583,806 | u782967113 | python |
p02783 | import sys
for line in sys.stdin:
h, a = list(map(lambda x: int(x), line.split()))
hits = h // a
if a % h == 0 and a > 0:
print(hits)
else:
print(hits + 1)
| import sys
for line in sys.stdin:
h, a = list(map(lambda x: int(x), line.split()))
hits = h // a
if h % a == 0 and a > 0:
print(hits)
else:
print(hits + 1)
| [
"control_flow.loop.for.condition.change",
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change"
] | 583,807 | 583,806 | u782967113 | python |
p02783 | H, A = map(int, input().split())
print(int((H + A) / A))
| H, A = map(int, input().split())
print(int((H + A - 1) / A))
| [
"expression.operation.binary.add"
] | 583,810 | 583,811 | u956811090 | python |
p02783 | import math
h, a = map(int, input().split())
print(math.ceil(a / h)) | import math
h, a = map(int, input().split())
print(math.ceil(h / a)) | [
"expression.operation.binary.remove"
] | 583,816 | 583,817 | u414048826 | python |
p02783 | h, a = map(int, input(), split())
n = 0
while True:
h = h - a
n = n + 1
if h <= 0:
break
print(n) | h, a = map(int, input(). split())
n = 0
while True:
h = h - a
n = n + 1
if h <= 0:
break
print(n) | [
"assignment.value.change",
"call.arguments.change"
] | 583,818 | 583,819 | u265118937 | python |
p02783 | h, a = map(int, input(), split())
n = 0
while True:
h = h - a
n = n + 1
if h <= a:
break
print(n) | h, a = map(int, input(). split())
n = 0
while True:
h = h - a
n = n + 1
if h <= 0:
break
print(n) | [
"assignment.value.change",
"call.arguments.change",
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 583,820 | 583,819 | u265118937 | python |
p02783 | h, a = map(int, input(), split())
n = 0
while True:
h = h - a
n = n + 1
if h >= a:
break
print(n) | h, a = map(int, input(). split())
n = 0
while True:
h = h - a
n = n + 1
if h <= 0:
break
print(n) | [
"assignment.value.change",
"call.arguments.change"
] | 583,821 | 583,819 | u265118937 | python |
p02783 | H, A = map(int, input().split())
ans = 0
while H >= 0:
H -= A
ans += 1
print(ans) | H, A = map(int, input().split())
ans = 0
while H > 0:
H -= A
ans += 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,830 | 583,831 | u581187895 | python |
p02783 | H, A=map(int, input().split)
if H % A == 0:
print(H / A)
else:
print(H // A + 1) | H, A=map(int, input().split())
if H % A == 0:
print(H // A)
else:
print(H // A + 1) | [
"call.add",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,834 | 583,833 | u870559097 | python |
p02783 | n,k = map(int,input().split())
print((n+k-1)/k) | n,k = map(int,input().split())
print((n+k-1)//k)
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 583,835 | 583,836 | u598888192 | python |
p02783 | h, a = list(map(int, input().split()))
print((h-a+1)//a) | h, a = list(map(int, input().split()))
print((h+a-1)//a) | [
"expression.operation.binary.remove"
] | 583,837 | 583,838 | u517447467 | python |
p02783 | import math
h, a = map(int, input.split())
ans = math.ceil(h/a)
print(ans) | import math
h, a = map(int, input().split())
ans = math.ceil(h/a)
print(ans) | [
"call.add"
] | 583,845 | 583,846 | u317779196 | python |
p02783 | H, A = map(int, input().split())
a = int(H/A)
b = int(H%A)
if b==2:
b+=1
print(b) | H, A = map(int, input().split())
a = int(H/A)
b = int(H%A)
if b!=0:
a+=1
print(a) | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 583,849 | 583,850 | u507237474 | python |
p02783 | H, A = map(int, input().split())
num = 0
while True:
H -= A
num += 1
if H < 0:
break
print(num)
| H, A = map(int, input().split())
num = 0
while True:
H -= A
num += 1
if H <= 0:
break
print(num) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 583,851 | 583,852 | u183200783 | python |
p02783 | H,A = map(int, input().split())
c = 0
while True:
H = H - A
c = c+1
if H < 0:
print(c)
break
| H,A = map(int, input().split())
c = 0
while True:
H = H - A
c = c+1
if H <= 0:
print(c)
break
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 583,859 | 583,860 | u982749462 | python |
p02783 | H,A=list(map(int,input().split()))
count=0
while H>0:
H=H-A
count +=1
return count | H,A=list(map(int,input().split()))
count=0
while H>0:
H=H-A
count +=1
print(count) | [
"function.return_value.change",
"call.arguments.change"
] | 583,880 | 583,881 | u064563749 | python |
p02783 | h, a = map(int, input())
print(h // a + int(h%a != 0))
| h, a = map(int, input().split())
print(h//a + int(h%a!=0))
| [
"call.add"
] | 583,897 | 583,898 | u644070128 | python |
p02783 | h, a = map(int, input())
print(h//a + int(h%a!=0))
| h, a = map(int, input().split())
print(h//a + int(h%a!=0))
| [
"call.add"
] | 583,899 | 583,898 | u644070128 | python |
p02783 | h, a = map(int, input())
print(h//a + int(h%a!=0)) | h, a = map(int, input().split())
print(h//a + int(h%a!=0))
| [
"call.add"
] | 583,900 | 583,898 | u644070128 | python |
p02783 | a, b = map(int, input().split())
c = 0
while a >= 0:
a -= b
c += 1
print(c) | a, b = map(int, input().split())
c = 0
while a > 0:
a -= b
c += 1
print(c) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,915 | 583,914 | u629186149 | python |
p02783 | H, A = list(map(int, input().split()))
print((H+1)//A) | H, A = list(map(int,input().split()))
print((H+A-1)//A) | [
"expression.operation.binary.add"
] | 583,917 | 583,918 | u055854974 | python |
p02783 | h, a = map(int, input())
print(h//a+1 if h%a != 0 else h//a) | h, a = map(int, input().split())
print(h//a+1 if h%a != 0 else h//a)
| [
"call.add"
] | 583,923 | 583,924 | u591295155 | python |
p02783 | N, M=map(int,input().split())
count=0
X=0
while N >= X:
X = M * count
count += 1
print(count) | N, M=map(int,input().split())
count=1
X=0
while N > X:
X = M * count
count += 1
print(count-1) | [
"literal.number.integer.change",
"assignment.value.change",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,944 | 583,945 | u512315557 | python |
p02783 | N, M=map(int,input().split())
count=1
X=0
while N >= X:
X = M * count
count += 1
print(count-1) | N, M=map(int,input().split())
count=1
X=0
while N > X:
X = M * count
count += 1
print(count-1) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,946 | 583,945 | u512315557 | python |
p02783 | H, A = map(int, input().split(" "))
print(H//A+1) | H, A = map(int, input().split(" "))
print(-(-H//A)) | [
"expression.operation.binary.remove",
"call.arguments.change"
] | 583,947 | 583,948 | u501265339 | python |
p02783 | h, a = map(int, input().split())
ans = 0
while h > 0:
h = h - a
ans += 1
| h, a = map(int, input().split())
ans = 0
while h > 0:
h = h - a
ans += 1
print(ans)
| [
"call.add"
] | 583,951 | 583,952 | u821969418 | python |
p02783 | import Math
h, a = map(int, input().split())
print(math.ceil(h/a))
| import math
h, a = map(int, input().split())
print(math.ceil(h/a))
| [
"identifier.change"
] | 583,959 | 583,960 | u296101474 | python |
p02783 | import math
h, a = map(int, input().split())
print(math.ceil(h//a + 1))
| import math
h, a = map(int, input().split())
print(math.ceil(h/a))
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"expression.operation.binary.remove"
] | 583,961 | 583,960 | u296101474 | python |
p02783 | import Math
h, a = map(int, input().split())
print(math.ceil(h//a + 1))
| import math
h, a = map(int, input().split())
print(math.ceil(h/a))
| [
"identifier.change",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"expression.operation.binary.remove"
] | 583,962 | 583,960 | u296101474 | python |
p02783 | h,a=map(int,input().split())
cnt=0
while(h>=0):
h=h-a
cnt+=1
print(cnt)
| h,a=map(int,input().split())
cnt=0
while(h>0):
h=h-a
cnt+=1
print(cnt)
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,966 | 583,967 | u998008108 | python |
p02783 | h,a=map(int,input().split())
cnt=1
while(h>=0):
h=h-a
cnt+=1
print(cnt) | h,a=map(int,input().split())
cnt=0
while(h>0):
h=h-a
cnt+=1
print(cnt)
| [
"literal.number.integer.change",
"assignment.value.change",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 583,968 | 583,967 | u998008108 | python |
p02783 | h,a = map(int,input().split())
print(h//a+1 if h%a == 0 else h//a) | h,a = map(int,input().split())
print(h//a+1 if h%a != 0 else h//a) | [
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 583,969 | 583,970 | u928784113 | python |
p02783 | H, A = list(map(int, input().split))
print((H + A-1)//A) | H, A = map(int, input().split())
print((H + A-1)//A)
| [
"call.remove",
"call.arguments.change"
] | 583,973 | 583,974 | u912359563 | python |
p02783 | h, a = input().split()
print((h - 1) // 4 + 1) | h, a = map(int, input().split())
print((h - 1) // a + 1) | [
"call.add",
"call.arguments.change",
"identifier.replace.add",
"literal.replace.remove",
"expression.operation.binary.change",
"io.output.change"
] | 583,975 | 583,976 | u059588695 | python |
p02783 | h,a = map(int,input().split())
print((-h//a)) | h,a = map(int,input().split())
print(-(-h//a)) | [
"expression.operation.unary.add",
"call.arguments.change"
] | 583,993 | 583,994 | u170350182 | python |
p02783 | h,a=map(int,input().split())
ans=h//a
if h&a!=0:
ans+=1
print(ans)
| h,a=map(int,input().split())
ans=h//a
if h%a!=0:
ans+=1
print(ans) | [
"control_flow.branch.if.condition.change"
] | 584,005 | 584,006 | u103915901 | python |
p02783 | h, a = input().split()
H = int(h)
A = int(a)
ans = 0
for i in range(H):
if H >= 0:
ans = ans + 1
H = H - A
else:
break
print(ans) | h, a = input().split()
H = int(h)
A = int(a)
ans = 0
for i in range(H):
if H > 0:
ans = ans + 1
H = H - A
else:
break
print(ans) | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,007 | 584,008 | u804339040 | python |
p02783 | H, A = map(int, input().split())
counter = 0
while H >= 0:
H = H - A
counter += 1
print(counter) | H, A = map(int, input().split())
counter = 0
while H > 0:
H = H - A
counter += 1
print(counter) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,009 | 584,010 | u501451051 | python |
p02783 | import math
h, a = map(int, input().split())
print(math.ceil(h//a))
| import math
h, a = map(int, input().split())
print(math.ceil(h/a))
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,011 | 584,012 | u940831163 | python |
p02783 | import math
H, A = map(int, input().split())
print (math.ceil(H // A)) | import math
H, A = map(int, input().split())
print (math.ceil(H / A)) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,015 | 584,016 | u678770297 | python |
p02783 | import math
h,a=map(int,input().split())
print (math.floor(h/a)) | import math
h,a=map(int,input().split())
print (math.ceil(h/a)) | [
"misc.opposites",
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 584,019 | 584,020 | u755313517 | python |
p02783 | H, A = map(int, input().split())
print((H + A - 1) / A) | H, A = map(int, input().split())
print((H + A - 1) // A) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,021 | 584,022 | u106297876 | python |
p02783 | H, A = map(int, input().split())
print(H // A + 1) | H, A = map(int, input().split())
print(-(-H // A)) | [
"expression.operation.binary.remove",
"call.arguments.change"
] | 584,032 | 584,033 | u058039236 | python |
p02783 | h, a = map(int, input(),split())
count = 0
while h > 0:
count += 1
h = h - a
print(count) | h, a = map(int, input().split())
count = 0
while h > 0:
count += 1
h = h - a
print(count)
| [
"assignment.value.change",
"call.arguments.change"
] | 584,038 | 584,039 | u571444155 | python |
p02783 | from math import ceil
(lambda H,A : print( ceil(H/A) ))(map(int,input().split())) | from math import ceil
(lambda H,A : print( ceil(H/A) ))(*map(int,input().split()))
| [
"call.arguments.change"
] | 584,046 | 584,047 | u904804404 | python |
p02783 |
h,a = map(int, input().split())
ans = 0
while h >= 0:
h= h-a
ans += 1
print(ans) | h,a = map(int, input().split())
ans = 0
while h > 0:
h= h - a
ans += 1
print(ans) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,055 | 584,056 | u324197506 | python |
p02783 | h, a = map(int, input().split())
print((h-a+1)//a)
| h, a = map(int, input().split())
print((h+a-1)//a)
| [
"expression.operation.binary.remove"
] | 584,067 | 584,068 | u072949274 | python |
p02783 | h, a = map(int, input().split())
print(h//a)
| h, a = map(int, input().split())
print((h+a-1)//a)
| [
"call.arguments.change"
] | 584,069 | 584,068 | u072949274 | python |
p02783 | import math
H,A = map(int,input().split())
X = math.ceil(H/A) | import math
H,A = map(int,input().split())
X = math.ceil(H/A)
print(X) | [
"call.add"
] | 584,077 | 584,078 | u780147002 | python |
p02783 | i = list(map(int, input().split()))
if i[0] % i[1] > 0:
print(i[0] / i[1] + 1)
else:
print(i[0] / i[1]) | i = list(map(int, input().split()))
if i[0] % i[1] > 0:
print(i[0] // i[1] + 1)
else:
print(int(i[0] / i[1])) | [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change",
"call.add"
] | 584,086 | 584,087 | u479868443 | python |
p02783 | # coding: utf-8
from math import floor
h, a = map(int, input().split())
print(floor(h / a)) | # coding: utf-8
from math import ceil
h, a = map(int, input().split())
print(ceil(h / a)) | [
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change"
] | 584,126 | 584,127 | u164678731 | python |
p02783 | from math import ceil
h,a=map(int,input().split())
print(h/a) | from math import ceil
h,a=map(int,input().split())
print(ceil(h/a))
| [
"call.arguments.add",
"call.arguments.change"
] | 584,130 | 584,131 | u169138653 | python |
p02783 | H, A = map(int, input().split())
print(H // A + 1) | H, A = map(int, input().split())
print((H -1) // A + 1) | [
"call.arguments.change"
] | 584,151 | 584,152 | u615101477 | python |
p02783 | import math.ceil
H,A = map(int,input().split())
print(ceil(H/A)) | import math
H,A = map(int,input().split())
print(math.ceil(H/A)) | [] | 584,157 | 584,158 | u255943004 | python |
p02783 | a,b=map(int,input().split())
print(-(-b//a)) | h,a = map(int, input().split())
print(-(-h//a)) | [
"assignment.variable.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,159 | 584,160 | u088078693 | python |
p02783 | h,a = map(int, input().split())
print(-(h//a)) | h,a = map(int, input().split())
print(-(-h//a)) | [
"expression.operation.unary.add",
"call.arguments.change"
] | 584,161 | 584,160 | u088078693 | python |
p02783 | a,b= int(input()).split()
count=0
while a >0:
a -= b
count+=1
print(count) |
a,b=map(int, input().split())
count=0
while a >0:
a -= b
count+=1
print(count) | [
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add",
"call.arguments.change"
] | 584,168 | 584,169 | u562550538 | python |
p02783 | H, A= map(int, input().split())
count=0
while H>0:
H=H-A
count=count+1
print(count)
print(count) | H, A= map(int, input().split())
count=0
while H>0:
H=H-A
count=count+1
print(count) | [
"call.remove"
] | 584,174 | 584,175 | u799635973 | python |
p02783 | import sys
def propare():
def iterate_tokens():
for line in sys.stdin:
for word in line.split():
yield word
tokens = iterate_tokens()
H = int(next(tokens))
A = int(next(tokens))
solve(H, A)
def solve(H: int, A: int):
count = 0
while 1 < H:
count... | import sys
def propare():
def iterate_tokens():
for line in sys.stdin:
for word in line.split():
yield word
tokens = iterate_tokens()
H = int(next(tokens))
A = int(next(tokens))
solve(H, A)
def solve(H: int, A: int):
count = 0
while 0 < H:
count... | [
"literal.number.integer.change",
"control_flow.loop.condition.change"
] | 584,187 | 584,188 | u644546699 | python |
p02783 | import sys
def propare():
def iterate_tokens():
for line in sys.stdin:
for word in line.split():
yield word
tokens = iterate_tokens()
H = int(next(tokens))
A = int(next(tokens))
solve(H, A)
def solve(H: int, A: int):
count = 0
while H < 1:
count... | import sys
def propare():
def iterate_tokens():
for line in sys.stdin:
for word in line.split():
yield word
tokens = iterate_tokens()
H = int(next(tokens))
A = int(next(tokens))
solve(H, A)
def solve(H: int, A: int):
count = 0
while 0 < H:
count... | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.loop.condition.change",
"identifier.replace.add",
"literal.replace.remove"
] | 584,189 | 584,188 | u644546699 | python |
p02783 | h,a = map(int,input().split())
print(-(-h // a)+1)
| h,a = map(int,input().split())
print(-(-h//a))
| [
"expression.operation.binary.remove"
] | 584,199 | 584,200 | u237601489 | python |
p02783 | h,a = map(int,input().split())
print((h//a)+1)
| h,a = map(int,input().split())
print(-(-h//a))
| [
"expression.operation.unary.add",
"call.arguments.change",
"expression.operation.binary.remove"
] | 584,201 | 584,200 | u237601489 | python |
p02783 | h,a = tuple(map(int,input().rstrip().sprit()))
print((h+a-1)//a)
| h,a = tuple(map(int,input().rstrip().split()))
print((h+a-1)//a)
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 584,202 | 584,203 | u086127549 | python |
p02783 | h,a = tuple(map(int,input().rstrip().sprit()))
print((h+a-1)//a) | h,a = tuple(map(int,input().rstrip().split()))
print((h+a-1)//a)
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 584,204 | 584,203 | u086127549 | python |
p02783 | H,A=map(int, input().split())
count = 0;
while(H >= 0):
H -= A
count += 1
print(count) | H,A=map(int, input().split())
count = 0;
while(H > 0):
H -= A
count += 1
print(count) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,208 | 584,209 | u296215701 | python |
p02783 | H , A = input().split()
H , A = int(H), int(A)
answer = H // A
if H % A == 0:
print(answer)
else:
print(anser + 1) | H , A = input().split()
H , A = int(H), int(A)
answer = H // A
if H % A == 0:
print(answer)
else:
print(answer + 1) | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,230 | 584,231 | u743374900 | python |
p02783 | H, A = list(map(int, input().split()))
if A == 1:
print(H//A)
else:
print(H//A + 1) | H, A = list(map(int, input().split()))
if H % A == 0:
print(H//A)
else:
print(H//A + 1) | [
"control_flow.branch.if.condition.change",
"literal.number.integer.change"
] | 584,244 | 584,245 | u646445992 | python |
p02783 | H, A = map(int, input().split())
if H % A == 0:
print(H % A)
else:
print(H % A + 1)
| H, A = map(int, input().split())
if H % A == 0:
print(H // A)
else:
print(H // A + 1)
| [
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,252 | 584,253 | u736470924 | python |
p02783 | H,A = input().split()
H = int(H)
A = int(A)
for i in range(H):
if i * A >= H:
print(i)
break | H,A = input().split()
H = int(H)
A = int(A)
for i in range(1,H+1):
if i * A >= H:
print(i)
break | [
"call.arguments.add"
] | 584,261 | 584,262 | u078816252 | python |
p02783 | import math
A,H==(float(x) for x in input().split())
print(math.ceil(H/A))
| import math
H,A=(float(x) for x in input().split())
print(math.ceil(H/A)) | [
"assignment.variable.change"
] | 584,271 | 584,272 | u310937700 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.