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
|
a, b=map(int,input().split())
c=a%b
if c==0:
print(a/b)
else:
print(a/b+1)
|
a, b=map(int,input().split())
c=a%b
if c==0:
print(a//b)
else:
print(a//b+1)
|
[
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,286
| 584,287
|
u711626986
|
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"
] | 584,292
| 584,293
|
u996307903
|
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))
|
[
"call.add"
] | 584,308
| 584,309
|
u594862874
|
python
|
p02783
|
import math
H, A = int(input()).split()
print(math.ceil(H/A))
|
import math
H,A = map(int, input().split())
print(math.ceil(H/A))
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.add",
"call.arguments.change"
] | 584,310
| 584,309
|
u594862874
|
python
|
p02783
|
import math
H, A = input().split()
print(math.ceil(H/A))
|
import math
H,A = map(int, input().split())
print(math.ceil(H/A))
|
[
"call.add",
"call.arguments.change"
] | 584,311
| 584,309
|
u594862874
|
python
|
p02783
|
h,a=map(int, input().solit())
if h%a==0:
print(h/a)
else:
print(int(h//a)+1)
|
h,a=map(int,input().split())
if h%a==0:
print(int(h/a))
else:
print(int(h//a)+1)
|
[
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"call.add"
] | 584,314
| 584,315
|
u345483150
|
python
|
p02783
|
H, A =map(int,input().split())
print((1+(H+1)//A))
|
H, A =map(int,input().split())
print((1+(H-1)//A))
|
[
"misc.opposites",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,318
| 584,319
|
u756399469
|
python
|
p02783
|
H, A = input().split(" ")
H = int(H)
A = int(A)
return (H+A-1)//A
|
H, A = input().split(" ")
H = int(H)
A = int(A)
print((H+A-1)//A)
|
[
"function.return_value.change",
"call.arguments.change"
] | 584,324
| 584,325
|
u499106786
|
python
|
p02783
|
H, A = map(int, input().split())
i = 0
while True:
if H < 0:
break
H -= A
i += 1
print(i)
|
H, A = map(int, input().split())
i = 0
while True:
if H <= 0:
break
H -= A
i += 1
print(i)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,334
| 584,335
|
u891884439
|
python
|
p02783
|
H, A = map(int,input().split())
attack_cnt = 0
while H >= 0:
attack_cnt += 1
H -= A
print(attack_cnt)
|
H, A = map(int,input().split())
attack_cnt = 0
while H > 0:
attack_cnt += 1
H -= A
print(attack_cnt)
|
[
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,336
| 584,337
|
u766566560
|
python
|
p02783
|
H,A = map(int,input.split())
q,mod= divmod(H,A)
if mod >0:
q +=1
print(q)
|
H,A = map(int,input().split())
q,mod= divmod(H,A)
if mod > 0:
q += 1
print(int(q))
|
[
"call.add",
"call.arguments.change"
] | 584,344
| 584,345
|
u852613820
|
python
|
p02783
|
the_string = input()
a, b = the_string.split()
a = int(a)
b = int(b)
if a%b == 0:
ans = a/b
else:
ans = a/b +1
print(ans)
|
the_string = input()
a, b = the_string.split()
a = int(a)
b = int(b)
if a%b == 0:
ans = a//b
else:
ans = a//b +1
print(ans)
|
[
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 584,356
| 584,357
|
u183341342
|
python
|
p02783
|
i = list(map(int, input().split()))
if i[0]%i[1]==0:
print(i[0]/i[1])
else:
print((i[0]/i[1])+1)
|
i = list(map(int, input().split()))
if i[0]%i[1]==0:
print(i[0]//i[1])
else:
print((i[0]//i[1])+1)
|
[
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,373
| 584,374
|
u185405877
|
python
|
p02783
|
h,a = map(int,input().split())
c = 0
while(True):
h = h - a
if(h < 0):
c += 1
break
c += 1
print(c)
|
h,a = map(int,input().split())
c = 0
while(True):
h = h - a
if(h <= 0):
c += 1
break
c += 1
print(c)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,379
| 584,380
|
u598924163
|
python
|
p02783
|
list = input().split(' ')
num = 0
a = int(list[1])
b = int(list[0])
while a > 0:
a -= b
num += 1
print(num)
|
list = input().split(' ')
num = 0
a = int(list[0])
b = int(list[1])
while a > 0:
a -= b
num += 1
print(num)
|
[
"assignment.remove",
"assignment.add"
] | 584,381
| 584,382
|
u652181492
|
python
|
p02783
|
a = input()
a = a.split(" ")
i = 0
while 1:
if a[0]<0:
break
else:
i = i+1
a[0]=int(a[0])-int(a[1])
print(i)
|
a = input()
a = a.split(" ")
i = 0
while 1:
if int(a[0]) <= 0:
break
else:
i = i+1
a[0]=int(a[0])-int(a[1])
print(i)
|
[
"control_flow.branch.if.condition.change",
"call.add"
] | 584,387
| 584,386
|
u305349402
|
python
|
p02783
|
s = input().split()
de = int(s[0])
count = 0
while de >= 0:
de = int(de) - int(s[1])
# print(de)
count += 1
print(count)
|
s = input().split() # s[0] は相手の体力, s[1]は攻撃力
de = int(s[0])
count = 0
while de > 0:
de = int(de) - int(s[1])
# print(de)
count += 1
print(count)
|
[
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,394
| 584,395
|
u991923581
|
python
|
p02783
|
h,a = map(int,input().split())
cnt = 0
while h >= 0 :
h -= a
cnt += 1
print(cnt)
|
h,a = map(int,input().split())
cnt = 0
while h > 0 :
h -= a
cnt += 1
print(cnt)
|
[
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,404
| 584,405
|
u080608919
|
python
|
p02783
|
H,A = map(int,input().split())
if A == 0:
print(0)
b = H/A//1
if H/A >= b:
print(int(b+1))
else:
print(int(b))
|
H,A = map(int,input().split())
if A == 0:
print(0)
b = H/A//1
if H/A > b:
print(int(b+1))
else:
print(int(b))
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,411
| 584,412
|
u549047581
|
python
|
p02783
|
H, A = [int(x) for x in input().split()]
print(math.ceil(H/A))
|
import math
H, A = [int(x) for x in input().split()]
print(math.ceil(H/A))
|
[] | 584,413
| 584,414
|
u517674755
|
python
|
p02783
|
H,A=map(int,input().split())
count=0
while (H >=0):
H -= A
count+=1
else:
print(count)
|
H,A=map(int,input().split())
count=0
while (H >0):
H -= A
count+=1
else:
print(count)
|
[
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,424
| 584,425
|
u649423802
|
python
|
p02783
|
H,A=map(int,input().split())
count=0
while (H >=0):
H -= A
count+=1
else:
print(count-1)
|
H,A=map(int,input().split())
count=0
while (H >0):
H -= A
count+=1
else:
print(count)
|
[
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"expression.operation.binary.remove"
] | 584,426
| 584,425
|
u649423802
|
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"
] | 584,429
| 584,430
|
u845847173
|
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,431
| 584,432
|
u747220349
|
python
|
p02783
|
x,y = map(int,input().split())
count = x//y
if x%y == 0:
count += 1
print(count)
|
x,y = map(int,input().split())
count = x//y
if x%y != 0:
count += 1
print(count)
|
[
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,442
| 584,443
|
u353060051
|
python
|
p02783
|
n = list(int(map(int,input().split())))
H = n[0]
A = n[1]
sum = 0
while H > 0 :
H = H - A
sum = sum + 1
print(sum)
|
n = list(map(int,input().split()))
H = n[0]
A = n[1]
sum = 0
while H > 0 :
H = H - A
sum = sum + 1
print(sum)
|
[
"call.arguments.change"
] | 584,444
| 584,445
|
u916389247
|
python
|
p02783
|
import math
h,a = map(int,input().split())
print(math.ceil(h / 4))
|
import math
h,a = map(int,input().split())
print(math.ceil(h / a))
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,452
| 584,453
|
u476124554
|
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"
] | 584,456
| 584,457
|
u387029158
|
python
|
p02783
|
import math
H,A = input().strip().split()
print(math.ceil(H/A))
|
import math
H, A = map(int, input().strip().split())
print(math.ceil(H/A))
|
[
"call.add",
"call.arguments.change"
] | 584,466
| 584,467
|
u372501464
|
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(int(H/A))
else:
print(int(H/A + 1))
|
[
"call.arguments.add",
"call.arguments.change"
] | 584,472
| 584,473
|
u923010184
|
python
|
p02783
|
import math
[h,a]=input().split()
math.ceil(int(h)/int(a))
|
import math
[h,a]=input().split()
print(math.ceil(int(h)/int(a)))
|
[
"call.add",
"call.arguments.change"
] | 584,476
| 584,477
|
u178806894
|
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)
|
[
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,482
| 584,483
|
u363836311
|
python
|
p02783
|
H ,A = map(int ,input().split())
import math
print(math.ceil(H//A))
|
H,A=map(int, input().split())
import math
print(math.ceil(H/A))
|
[
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,486
| 584,487
|
u417014669
|
python
|
p02783
|
h, a = map(int, input().split())
print(-(-h//2))
|
h, a = map(int, input().split())
print(-(-h//a))
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,510
| 584,511
|
u597455618
|
python
|
p02783
|
H,A=map(int,input().split())
if H/A>0:
print(int(H/A)+1)
else:
print(H/A)
|
H,A=map(int,input().split())
if H%A>0:
print(int(H/A)+1)
else:
print(int(H/A))
|
[
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"call.add",
"call.arguments.change"
] | 584,524
| 584,525
|
u189427183
|
python
|
p02783
|
H,A=input().split()
S=1
if int(H)-S*int(A)>=0:
S+=1
else:
print(S)
|
H,A=input().split()
S=1
while int(H)-S*int(A)>0:
S+=1
print(S)
|
[
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,528
| 584,529
|
u419963262
|
python
|
p02783
|
H,A=input().split()
S=1
if int(H)-S*int(A)>0:
S+=1
else:
print(S)
|
H,A=input().split()
S=1
while int(H)-S*int(A)>0:
S+=1
print(S)
|
[
"control_flow.branch.while.replace.add",
"control_flow.loop.if.replace.remove"
] | 584,530
| 584,529
|
u419963262
|
python
|
p02783
|
H , A = [int(x) for x in input().split()]
attack = True
count = 0
while(attack):
H = H - A
count = count + 1
if H < 0:
attack = False
print(count - 1)
|
H , A = [int(x) for x in input().split()]
attack = True
count = 0
while(attack):
H = H - A
count = count + 1
if H <= 0:
attack = False
print(count)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 584,531
| 584,532
|
u254066052
|
python
|
p02783
|
H , A = [int(x) for x in input().split()]
attack = True
count = 0
while(attack):
H = H - A
count = count + 1
if H < 0:
attack = False
print(count)
|
H , A = [int(x) for x in input().split()]
attack = True
count = 0
while(attack):
H = H - A
count = count + 1
if H <= 0:
attack = False
print(count)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,533
| 584,532
|
u254066052
|
python
|
p02783
|
HP, A = map(int, input().split())
count = 0
while HP<0:
HP = HP - A
count += 1
print(count)
|
HP, A = map(int, input().split())
count = 0
while HP > 0:
HP = HP - A
count += 1
print(count)
|
[
"misc.opposites",
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 584,538
| 584,539
|
u084327817
|
python
|
p02783
|
import sys
def main():
tmp = input().split()
h = int(tmp[0].replace('\n',''))
a = int(tmp[1].replace('\n',''))
n= h/a
if (h%a >0):
n+=1
print(n)
if __name__ == '__main__':
input = sys.stdin.readline
main()
|
import sys
def main():
tmp = input().split()
h = int(tmp[0].replace('\n',''))
a = int(tmp[1].replace('\n',''))
n= h/a
if (h%a >0):
n+=1
print(int(n))
if __name__ == '__main__':
input = sys.stdin.readline
main()
|
[
"call.arguments.add",
"call.arguments.change"
] | 584,540
| 584,541
|
u606393507
|
python
|
p02783
|
import math
H, A = map(int, input().split())
print(int(math.floor(H/A)))
|
import math
H, A = map(int, input().split())
print(int(math.ceil(H/A)))
|
[
"misc.opposites",
"identifier.change",
"call.arguments.change"
] | 584,550
| 584,551
|
u133833119
|
python
|
p02783
|
import math
H, A = map(int, input().split())
print(int(math.floor(H/A)+1))
|
import math
H, A = map(int, input().split())
print(int(math.ceil(H/A)))
|
[
"misc.opposites",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 584,552
| 584,551
|
u133833119
|
python
|
p02783
|
H,A= input().split()
H=int(H)
A=int(A)
ans=0
if (H % A==0):
ans=int(H/A)
else:
ans=int(H/A)
|
H,A= input().split()
H=int(H)
A=int(A)
ans=0
if (H % A==0):
ans=int(H/A)
else:
ans=int(H/A)+1
print(ans)
|
[
"call.add"
] | 584,566
| 584,567
|
u492074881
|
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(int(H/A))
else:
print(int(H/A)+1)
|
[
"call.arguments.add",
"call.arguments.change",
"call.add",
"type_conversion.to_integer.change",
"type_conversion.to_number.change"
] | 584,576
| 584,577
|
u962858258
|
python
|
p02783
|
# -*- coding: utf-8 -*-
h, a = map(int, input().split())
if a % h == 0:
print(a // h)
else:
print(a // h + 1)
|
# -*- coding: utf-8 -*-
a, h = map(int, input().split())
if a % h == 0:
print(a // h)
else:
print(a // h + 1)
|
[] | 584,578
| 584,579
|
u214245159
|
python
|
p02783
|
H, A = map(int,input().split())
if H % A == 0:
printf(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)
|
[
"identifier.change",
"call.function.change",
"io.output.change",
"expression.operator.arithmetic.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 584,590
| 584,589
|
u503221936
|
python
|
p02783
|
H, A = map(int,input().split())
if H / A == 0:
printf(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",
"control_flow.branch.if.condition.change",
"identifier.change",
"call.function.change",
"io.output.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 584,591
| 584,589
|
u503221936
|
python
|
p02783
|
H, A = map(int, input().split())
from math import floor
print(floor(H//A))
|
H, A = map(int, input().split())
from math import ceil
print(ceil(H/A))
|
[
"misc.opposites",
"identifier.change",
"call.function.change",
"call.arguments.change",
"io.output.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change"
] | 584,596
| 584,597
|
u283341082
|
python
|
p02783
|
h,a=map(int,input().split())
ans=h//a
if ans%1!=0:
ans=ans+1
print(ans)
|
h,a=map(int,input().split())
ans=h//a
if h%a!=0:
ans=ans+1
print(ans)
|
[
"identifier.change",
"control_flow.branch.if.condition.change",
"identifier.replace.add",
"literal.replace.remove"
] | 584,616
| 584,617
|
u277353449
|
python
|
p02783
|
h, a = [int(x) for x in input().split()]
cnt = 0
hp = h
for _ in range(h):
hp -= a
cnt += 1
if hp < 0:
break
print(cnt)
|
h, a = [int(x) for x in input().split()]
cnt = 0
hp = h
for _ in range(h):
hp -= a
cnt += 1
if hp <= 0:
break
print(cnt)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,622
| 584,623
|
u253681061
|
python
|
p02783
|
# -*- coding: utf-8 -*-
import math
import itertools
import sys
import copy
# 入力
#A, B, C, D = map(int, input().split())
#L = list(map(int, input().split()))
#S = list(str(input()))
#N = int(input())
#S = str(input())
H, A = map(int, input().split())
if H/A == 0 :
print (H//A)
else :
print ((H//A) + 1)
|
# -*- coding: utf-8 -*-
import math
import itertools
import sys
import copy
# 入力
#A, B, C, D = map(int, input().split())
#L = list(map(int, input().split()))
#S = list(str(input()))
#N = int(input())
#S = str(input())
H, A = map(int, input().split())
if H%A == 0 :
print (H//A)
else :
print ((H//A) + 1)
|
[
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 584,628
| 584,629
|
u545666277
|
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"
] | 584,632
| 584,633
|
u290279680
|
python
|
p02783
|
import math
H, A = map(int, input().split())
print(math.ceil(10 / 4))
|
import math
H, A = map(int, input().split())
print(math.ceil(H / A))
|
[
"identifier.replace.add",
"literal.replace.remove",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 584,634
| 584,635
|
u637170240
|
python
|
p02784
|
a,b=[int(i) for i in input().split()]
c=[int(i) for i in input().split()]
if(sum(c)>=210):
print('Yes')
else:
print('No')
|
a,b=[int(i) for i in input().split()]
c=[int(i) for i in input().split()]
if(sum(c)>=a):
print('Yes')
else:
print('No')
|
[
"identifier.replace.add",
"literal.replace.remove",
"control_flow.branch.if.condition.change"
] | 584,644
| 584,645
|
u108509795
|
python
|
p02784
|
H,N=map(int,input().split())
A=list(map(int, input().split()))
if sum(A)>=H:
print("YES")
else:
print("NO")
|
H,N=map(int,input().split())
A=list(map(int, input().split()))
if sum(A)>=H:
print("Yes")
else:
print("No")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 584,649
| 584,650
|
u005977014
|
python
|
p02784
|
H,N=map(int,input().split())
"NYoe s"[H<=sum(map(int,input().split()))::2]
|
H,N=map(int,input().split())
print("NYoe s"[H<=sum(map(int,input().split()))::2])
|
[
"call.add",
"call.arguments.change"
] | 584,668
| 584,669
|
u623814058
|
python
|
p02784
|
h, a = map(int, input().split())
arr = list(map(int, input.split()))
for i in arr:
h-=i
print("Yes" if h<=0 else "No")
|
h, a = map(int, input().split())
arr = list(map(int, input().split()))
for i in arr:
h-=i
print("Yes" if h<=0 else "No")
|
[
"call.add"
] | 584,676
| 584,677
|
u537818901
|
python
|
p02784
|
h , n = map(int,input().split())
a = list(map(int,input().split()))
if h - sum(a) < 0:
print('Yes')
else:
print('No')
|
h , n = map(int,input().split())
a = list(map(int,input().split()))
if h - sum(a) <= 0:
print('Yes')
else:
print('No')
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,691
| 584,692
|
u049182844
|
python
|
p02784
|
H,N = map(int, input().split())
A = list(int(input().split()))
if sum(A) >= H:
print('Yes')
else:
print('No')
|
H,N = map(int, input().split())
A = list(map(int, input().split()))
if sum(A) >= H:
print('Yes')
else:
print('No')
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change",
"call.arguments.add"
] | 584,705
| 584,706
|
u864276028
|
python
|
p02784
|
h,n=map(int,inuput().split())
a=list(map(int,input().split()))
if h>sum(a):
print('No')
else:
print('Yes')
|
h,n=map(int,input().split())
a=list(map(int,input().split()))
if h>sum(a):
print('No')
else:
print('Yes')
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 584,713
| 584,714
|
u957957759
|
python
|
p02784
|
h,n = map(int, input().split())
A = list(map(int, input().split()))
if H <= sum(A):
print("Yes")
else:
print("No")
|
h,n = map(int, input().split())
A = list(map(int, input().split()))
if h <= sum(A):
print("Yes")
else:
print("No")
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 584,719
| 584,720
|
u757274384
|
python
|
p02784
|
H, N = map(int, input().split())
PP = list(map(int, input().split()))
print("Yes" if sum(PP)>=H else(No))
|
H, N = map(int, input().split())
PP = list(map(int, input().split()))
print("Yes" if sum(PP) >= H else "No")
|
[
"call.arguments.change",
"io.output.change"
] | 584,725
| 584,726
|
u600261652
|
python
|
p02784
|
h ,n =map(int,input().split())
a =list(map(int,input().split()))
if sum(a) <= h:
print("No")
else:
print("Yes")
|
h ,n =map(int,input().split())
a =list(map(int,input().split()))
if sum(a) >= h:
print("Yes")
else:
print("No")
|
[
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 584,733
| 584,734
|
u163201677
|
python
|
p02784
|
h ,n =map(int,input().split())
a =list(map(int,input().split()))
if sum(a) >= h:
print("No")
else:
print("Yes")
|
h ,n =map(int,input().split())
a =list(map(int,input().split()))
if sum(a) >= h:
print("Yes")
else:
print("No")
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 584,735
| 584,734
|
u163201677
|
python
|
p02784
|
#B
H,N=map(int,input().split())
A=list(map(int,input().split()))
if sum(A)>H:
print('Yes')
else:
print('No')
|
#B
H,N=map(int,input().split())
A=list(map(int,input().split()))
if sum(A)>=H:
print('Yes')
else:
print('No')
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,738
| 584,739
|
u659712937
|
python
|
p02784
|
n,m = map(int,input().split())
a = list(map(int,input().split()))
if sum(a) >= n:
print("YES")
else:
print("NO")
|
n,m = map(int,input().split())
a = list(map(int,input().split()))
if sum(a) >= n:
print("Yes")
else:
print("No")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 584,746
| 584,747
|
u886286585
|
python
|
p02784
|
n,m = map(int,input().split())
a = list(map(int,input().split()))
if sum(a) > n:
print("YES")
else:
print("NO")
|
n,m = map(int,input().split())
a = list(map(int,input().split()))
if sum(a) >= n:
print("Yes")
else:
print("No")
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 584,748
| 584,747
|
u886286585
|
python
|
p02784
|
import sys
import decimal # 10進法に変換,正確な計算
def input():
return sys.stdin.readline().strip()
def main():
h, n = map(int, input().split())
a = list(map(int, input().split()))
for i in a:
h -= i
if h < 0:
print("Yes")
return
print("No")
main()
|
import sys
import decimal # 10進法に変換,正確な計算
def input():
return sys.stdin.readline().strip()
def main():
h, n = map(int, input().split())
a = list(map(int, input().split()))
for i in a:
h -= i
if h <= 0:
print("Yes")
return
print("No")
main()
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,749
| 584,750
|
u946346344
|
python
|
p02784
|
n,m=map(int,input().split())
l=list(map(int,input().split()))
d=sum(l)
if n>l:
print("No")
else:
print("Yes")
|
n,m=map(int,input().split())
l=list(map(int,input().split()))
d=sum(l)
if n>d:
print("No")
else:
print("Yes")
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 584,774
| 584,775
|
u901598613
|
python
|
p02784
|
H,N=map(int,input().split())
A = list(map(int,input().split()))
if H - sum(A) <= 0:
print("Yss")
else:
print("No")
|
H,N=map(int,input().split())
A = list(map(int,input().split()))
if H - sum(A) <= 0:
print("Yes")
else:
print("No")
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 584,776
| 584,777
|
u588557741
|
python
|
p02784
|
#ABC153B
h,n = map(int,input().split())
a = list(map(int,inout().split()))
print("Yes" if sum(a) >= h else "No")
|
#ABC153B
h,n = map(int,input().split())
a = list(map(int,input().split()))
print("Yes" if sum(a) >= h else "No")
|
[
"assignment.value.change",
"identifier.change",
"call.function.change",
"call.arguments.change"
] | 584,778
| 584,779
|
u904995051
|
python
|
p02784
|
H,N=map(int,input().split())
attack = list(map(int,input().split()))
print(attack)
total = sum(attack)
if H - total <= 0:
print("Yes")
else:
print("No")
|
H,N=map(int,input().split())
attack = list(map(int,input().split()))
total = sum(attack)
if H - total <= 0:
print("Yes")
else:
print("No")
|
[
"call.remove"
] | 584,780
| 584,781
|
u174849391
|
python
|
p02784
|
#153b
#値を受け取る
H, N = map(int, input().split())
A = list(map(int, input().split()))
#listの合計で倒せるか判断
if H < sum(A):
print('Yes')
else:
print('No')
|
#153b
#値を受け取る
H, N = map(int, input().split())
A = list(map(int, input().split()))
#listの合計で倒せるか判断
if H <= sum(A):
print('Yes')
else:
print('No')
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,784
| 584,785
|
u681502232
|
python
|
p02784
|
h,n = map(int,input().split())
# 整数の入力値をスペースで受け取ってリスト化
a = list(map(int,input().split()))
# アライグマの体力(h)が必殺技の合計(sum(s))が大きければNo
if h >= sum(a):
print("No")
# 必殺技の合計が大きければYes
else:
print("Yes")
|
h,n = map(int,input().split())
# 整数の入力値をスペースで受け取ってリスト化
a = list(map(int,input().split()))
# アライグマの体力(h)が必殺技の合計(sum(s))が大きければNo
if h > sum(a):
print("No")
# 必殺技の合計が大きければYes
else:
print("Yes")
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,786
| 584,787
|
u271176141
|
python
|
p02784
|
H, N = map(int,input().split())
special_move = list(map(int,input().split()))
if H < sum(special_move):
result = 'Yes'
else:
result = 'No'
print(result)
|
H, N = map(int,input().split())
special_move = list(map(int,input().split()))
if H <= sum(special_move):
result = 'Yes'
else:
result = 'No'
print(result)
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,788
| 584,789
|
u782001565
|
python
|
p02784
|
a,b = map(int,input().split())
lis = list(map(int,input().split))
c = sum(lis)
print("Yes" if a > c else "No")
|
a,b = map(int,input().split())
lis = list(map(int,input().split()))
c = sum(lis)
print("No" if a > c else "Yes")
|
[
"call.add",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 584,790
| 584,791
|
u344959959
|
python
|
p02784
|
H,N=map(int,input().split())
A=map(int,input().split())
if H<=sum(A):
print('YES')
else:
print('NO')
|
H,N=map(int,input().split())
A=map(int,input().split())
if H<=sum(A):
print('Yes')
else:
print('No')
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 584,792
| 584,793
|
u763963344
|
python
|
p02784
|
# 入力
monster_hp, quantity_of_skills = map(int, input().split())
skills = map(int, input().split())
skills_list = [skills]
# 処理
total_damage = 0
for i in skills_list:
total_damage += i
if monster_hp <= total_damage:
print('Yes')
else:
print('No')
|
# 入力
monster_hp, quantity_of_skills = map(int, input().split())
skills = map(int, input().split())
skills_list = list(skills)
# 処理
total_damages = 0
for i in skills_list:
total_damages += i
if monster_hp <= total_damages:
print('Yes')
else:
print('No')
|
[
"assignment.value.change",
"call.arguments.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 584,797
| 584,798
|
u779830746
|
python
|
p02784
|
z=list(map(int,input().split()))
x=list(map(int,input().split()))
d={}
c=0
for i in x:
if d.get(i,0)==0:
c+=i
if c>=z[0]:
print("YES")
else:
print("NO")
|
z=list(map(int,input().split()))
x=list(map(int,input().split()))
d={}
c=0
for i in x:
if d.get(i,0)==0:
c+=i
if c>=z[0]:
print("Yes")
else:
print("No")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 584,808
| 584,809
|
u279533690
|
python
|
p02784
|
import sys
# sys.setrecursionlimit(100000)
def input():
return sys.stdin.readline().strip()
def input_int():
return int(input())
def input_int_list():
return [int(i) for i in input().split()]
def main():
h, n = input_int_list()
A = input_int_list()
if sum(A) > h:
print("Yes")
else:
print("No")
return
if __name__ == "__main__":
main()
|
import sys
# sys.setrecursionlimit(100000)
def input():
return sys.stdin.readline().strip()
def input_int():
return int(input())
def input_int_list():
return [int(i) for i in input().split()]
def main():
h, n = input_int_list()
A = input_int_list()
if sum(A) >= h:
print("Yes")
else:
print("No")
return
if __name__ == "__main__":
main()
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 584,811
| 584,812
|
u397496203
|
python
|
p02784
|
h,n=map(int,input().split())
a=map(int,input().split())
s=sum(a)
if s>=h:
print("YES")
else:
print("NO")
|
h,n=map(int,input().split())
a=map(int,input().split())
s=sum(a)
if s>=h:
print("Yes")
else:
print("No")
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 584,813
| 584,814
|
u636092786
|
python
|
p02784
|
r=input().split()
H=int(r[0])
N=int(r[1])
data_pre=input().split()
data=[int(s) for s in data_pre]
if max(data)>=H:
print("Yes")
else:
print("No")
|
r=input().split()
H=int(r[0])
N=int(r[1])
data_pre=input().split()
data=[int(s) for s in data_pre]
if sum(data)>=H:
print("Yes")
else:
print("No")
|
[
"identifier.change",
"call.function.change",
"control_flow.branch.if.condition.change"
] | 584,817
| 584,818
|
u321605735
|
python
|
p02784
|
hp, N=input().split()
a=input().split()
print("Yes") if sum([int(x) for x in a]) > int(hp) else print("No")
|
hp, N=input().split()
a=input().split()
print("Yes") if sum([int(x) for x in a]) >= int(hp) else print("No")
|
[
"expression.operator.compare.change"
] | 584,829
| 584,830
|
u939947474
|
python
|
p02784
|
# ABC153
# B Common Raccoon VS Monster
h, n = map(int, input().split())
a = list(map(int, input().split()))
s = sum(a)
if a <= s:
print("Yes")
else:
print("No")
|
# ABC153
# B Common Raccoon VS Monster
h, n = map(int, input().split())
a = list(map(int, input().split()))
s = sum(a)
if h <= s:
print("Yes")
else:
print("No")
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 584,855
| 584,856
|
u987637902
|
python
|
p02784
|
h, n = map(int, input().split())
an = list(map(int, input().split()))
if sum(an) > h:
print('No')
else:
print('Yes')
|
h, n = map(int, input().split())
an = list(map(int, input().split()))
if sum(an) >= h:
print('Yes')
else:
print('No')
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 584,885
| 584,886
|
u086438369
|
python
|
p02784
|
H, N = list(map(str, input().split()))
A = list(map(str, input().split()))
if sum(A)>=H:
print("Yes")
else:
print("No")
|
H, N = list(map(int, input().split()))
A = list(map(int, input().split()))
if sum(A)>=H:
print("Yes")
else:
print("No")
|
[
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 584,899
| 584,900
|
u095384238
|
python
|
p02784
|
H, N = map(int, input().split())
A = list(map(int, input().split()))
SA = sum(A)
print(H - SA)
if H <= SA:
print("Yes")
elif H > SA:
print("No")
|
H, N = map(int, input().split())
A = list(map(int, input().split()))
SA = sum(A)
if H <= SA:
print("Yes")
elif H > SA:
print("No")
|
[
"call.remove"
] | 584,905
| 584,906
|
u430336181
|
python
|
p02784
|
H,N = map(int, input().split())
A = list(map(input().split()))
if sum(A) >= H:
print('Yes')
else:
print('No')
|
H,N = map(int, input().split())
A = list(map(int, input().split()))
if sum(A) >= H:
print('Yes')
else:
print('No')
|
[
"call.arguments.add"
] | 584,907
| 584,908
|
u819593641
|
python
|
p02784
|
h,n=map(int,input().split())
a=list(map(int, input().split()))
print('Yes' if h<=sum(a) else (No))
|
h,n=map(int,input().split())
a=list(map(int, input().split()))
print('Yes' if h<=sum(a) else ('No'))
|
[
"call.arguments.change"
] | 584,929
| 584,930
|
u405660020
|
python
|
p02784
|
h,n = map(int,input().split())
a = list(map(int,input().split()))
print(["No","Yes"][sum(a) > h])
|
h,n = map(int,input().split())
a = list(map(int,input().split()))
print(["No","Yes"][sum(a) >= h])
|
[
"expression.operator.compare.change",
"variable_access.subscript.index.change",
"call.arguments.change",
"io.output.change"
] | 584,931
| 584,932
|
u283829775
|
python
|
p02784
|
#import collections
#import itertools as it
#import math
#import numpy as np
#import sys
#sys.exit()
# = input()
# = int(input())
h, n = map(int, input().split())
a = list(map(int, input().split()))
'''
n = input()
a = [int(input()) for i in range(n)]
'''
'''
n,m = map(int, input().split())
a = [list(map(int, input().split())) for _ in range(m)]
'''
# c = collections.Counter()
#-------------------------------#
if sum(a)>=n:
print('Yes')
else:
print('No')
|
h, n = map(int, input().split())
a = list(map(int, input().split()))
'''
n = input()
a = [int(input()) for i in range(n)]
'''
'''
n,m = map(int, input().split())
a = [list(map(int, input().split())) for _ in range(m)]
'''
# c = collections.Counter()
#-------------------------------#
if sum(a)>=h:
print('Yes')
else:
print('No')
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 584,945
| 584,946
|
u687135117
|
python
|
p02784
|
H, N = map(int, input().split())
A = list(map(int, input().split()))
if H <= sum(A):
print ('Yse')
else:
print ('No')
|
H, N = map(int, input().split())
A = list(map(int, input().split()))
if H <= sum(A):
print('Yes')
else:
print('No')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 584,953
| 584,954
|
u491330513
|
python
|
p02784
|
H, N = map(int, input().split())
A = list(map(int, input().split()))
if H <= sum(A):
print ("Yse")
else:
print ("No")
|
H, N = map(int, input().split())
A = list(map(int, input().split()))
if H <= sum(A):
print('Yes')
else:
print('No')
|
[
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 584,955
| 584,954
|
u491330513
|
python
|
p02784
|
h,n=map(int, input().split())
a=list(map(int, input().split()))
if h < sum(a):
print('Yes')
else:
print('No')
|
h,n=map(int, input().split())
a=list(map(int, input().split()))
if h <= sum(a):
print('Yes')
else:
print('No')
|
[
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 585,240
| 585,241
|
u585348179
|
python
|
p02784
|
def main():
H,N=map(int,input().split())
have=list(map(int,input().split()))
cal=0
for i in have:
cal+=i
if cal>=H:
print("YES")
return
print("NO")
return
main()
|
def main():
H,N=map(int,input().split())
have=list(map(int,input().split()))
cal=0
for i in have:
cal+=i
if cal>=H:
print("Yes")
return
print("No")
return
main()
|
[
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 585,251
| 585,252
|
u434296044
|
python
|
p02784
|
h, a = map(int, input().split(" "))
aL = list(map(int, input().split(" ")))
if sum(aL) <= h:
print("Yes")
exit()
print("No")
|
h, a = map(int, input().split(" "))
aL = list(map(int, input().split(" ")))
if sum(aL) >= h:
print("Yes")
exit()
print("No")
|
[
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 585,256
| 585,257
|
u552176911
|
python
|
p02784
|
h, a = map(int, input().split(" "))
aL = list(map(int, input().split(" ")))
if sum(aL) <= a:
print("Yes")
exit()
print("No")
|
h, a = map(int, input().split(" "))
aL = list(map(int, input().split(" ")))
if sum(aL) >= h:
print("Yes")
exit()
print("No")
|
[] | 585,258
| 585,257
|
u552176911
|
python
|
p02784
|
h, a = map(int, input().split(" "))
aL = list(map(int, input().split(" ")))
if sum(aL) >= a:
print("Yes")
exit()
print("No")
|
h, a = map(int, input().split(" "))
aL = list(map(int, input().split(" ")))
if sum(aL) >= h:
print("Yes")
exit()
print("No")
|
[
"identifier.change",
"control_flow.branch.if.condition.change"
] | 585,259
| 585,257
|
u552176911
|
python
|
p02784
|
H,N=[int(s) for s in input().split()]
ls=[int(s) for s in input().split()]
if H<sum(ls):
print('No')
else:
print('Yes')
|
H,N=[int(s) for s in input().split()]
ls=[int(s) for s in input().split()]
if H>sum(ls):
print('No')
else:
print('Yes')
|
[
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 585,270
| 585,271
|
u918601425
|
python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.