Datasets:

problem_id
stringlengths
6
6
buggy_code
stringlengths
8
526k
fixed_code
stringlengths
12
526k
labels
listlengths
0
15
buggy_submission_id
int64
1
1.54M
fixed_submission_id
int64
2
1.54M
user_id
stringlengths
10
10
language
stringclasses
8 values
p02784
H,N = (int(x) for x in input().split()) a = list(map(int,input(),split())) if sum(a) >= H: print('Yes') else: print('No')
H,N = (int(x) for x in input().split()) a = list(map(int,input().split())) if sum(a) >= H: print('Yes') else: print('No')
[ "assignment.value.change", "call.arguments.change" ]
585,276
585,277
u250828304
python
p02784
H, _ = map(int, input().split(" ")) print("Yes" if sum(map(int, input().split(" "))) <= H else "No")
H, _ = map(int, input().split(" ")) print("Yes" if sum(map(int, input().split(" "))) >= H else "No")
[ "misc.opposites", "expression.operator.compare.change", "call.arguments.change", "io.output.change" ]
585,278
585,279
u198062737
python
p02784
import numpy as np ene=list(map(int, input().split())) num=list(map(int, input().split())) if ene[0]>np.array(num).sum(): print("NO") else: print("Yes")
import numpy as np ene=list(map(int, input().split())) num=list(map(int, input().split())) if ene[0]>np.array(num).sum(): print("No") else: print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,280
585,281
u813993459
python
p02784
import math H,N=map(int,input().split()) A=list(map(int,input().split())) if H < sum(A): print('Yes') else: print('No')
import math 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,290
585,289
u861071267
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')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,307
585,308
u573234244
python
p02784
h,n=map(int, input().split()) c=list(map(int, input().split())) a = 0 for i in c: a += i if h < a: print('Yes') else: print('No')
h,n=map(int, input().split()) c=list(map(int, input().split())) a = 0 for i in c: a += i if h <= a: print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,340
585,341
u060793972
python
p02784
h, n = list(map(int, input().split())) a = list(map(int, 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')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,351
585,352
u366963613
python
p02784
a,b=map(int,input().split()) n=list(map(int,input().split())) if a<=sum(n): print('Yes') else: print('no')
a,b=map(int,input().split()) n=list(map(int,input().split())) if a<=sum(n): print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,368
585,369
u631579948
python
p02784
h,n=map(int,input().split()) a=list(map(int,input().split())) print("Yes") if h<sum(a) else print("No")
h,n=map(int,input().split()) a=list(map(int,input().split())) print("Yes") if h<=sum(a) else print("No")
[ "expression.operator.compare.change" ]
585,372
585,373
u039189422
python
p02784
H=[int(y) for y in input().split()] A=[int(y) for y in input().split()] if H[0]<sum(A): print("Yes") else: print("No")
H=[int(y) for y in input().split()] A=[int(y) for y in input().split()] if H[0]<=sum(A): print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,380
585,381
u318909153
python
p02784
H,N = map(int,input().split()) A = list(map(int,input().split())) ans = 'yes' if sum(A) < H: ans = 'No' print(ans)
H,N = map(int,input().split()) A = list(map(int,input().split())) ans = 'Yes' if sum(A) < H: ans = 'No' print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
585,397
585,398
u984989720
python
p02784
h, n = input().split(); h = int(h); n = int(n); A = list(map(int, input().split())); if sum(A) > h: print("No"); else: print("Yes");
h, n = input().split(); h = int(h); n = int(n); 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" ]
585,401
585,402
u508061226
python
p02784
h, n = input().split; h = int(h); n = int(n); A = list(map(int, input().split())); if sum(A) > h: print("No"); else: print("Yes");
h, n = input().split(); h = int(h); n = int(n); A = list(map(int, input().split())); if sum(A) >= h: print("Yes"); else: print("No");
[ "call.add", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,403
585,402
u508061226
python
p02784
h,n=map(int,input().split()) a=list(map(int,input().spliy())) sum=0 for i in n: sum=sum+a[i] if sum >=h: print('Yes') else: print('No')
h,n=map(int,input().split()) a=list(map(int,input().split())) sum=0 for i in a: sum=sum+i if sum >=h: print('Yes') else: print('No')
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
585,411
585,412
u032955959
python
p02784
h,n=map(int,input().split()) a=list(map(int,input().spliy())) sum=0 for i in a: sum=sum+i if sum >=h: print('Yes') else: print('No')
h,n=map(int,input().split()) a=list(map(int,input().split())) sum=0 for i in a: sum=sum+i if sum >=h: print('Yes') else: print('No')
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
585,413
585,412
u032955959
python
p02784
h,n=map(int,input().split()) l=list(map(int,input().split())) print('Yes' if sum(l)>h else 'No')
h,n=map(int,input().split()) l=list(map(int,input().split())) print('Yes' if sum(l)>=h else 'No')
[ "expression.operator.compare.change", "call.arguments.change", "io.output.change" ]
585,442
585,443
u519939795
python
p02784
H, N = map(int, input().split()) l = list(map(int, input().split())) print('Yes' if H <= sum(l) else 'NO')
H, N = map(int, input().split()) l = list(map(int, input().split())) print('Yes' if H <= sum(l) else 'No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,448
585,449
u745562158
python
p02784
H,N=map(int,input().split()) A=[int(i) for i in input().split()] print('Yes' if H<sum(A) else "No")
H,N=map(int,input().split()) A=[int(i) for i in input().split()] print('Yes' if H<=sum(A) else "No")
[ "expression.operator.compare.change", "call.arguments.change", "io.output.change" ]
585,475
585,476
u229518917
python
p02784
import sys input = sys.stdin.readline H, N = map(int, input().split()) sm = sum(list(map(int, input().split()))) if N <= sm: print("Yes") else: print("No")
import sys input = sys.stdin.readline H, N = map(int, input().split()) sm = sum(list(map(int, input().split()))) if H <= sm: print("Yes") else: print("No")
[ "identifier.change", "control_flow.branch.if.condition.change" ]
585,479
585,480
u141610915
python
p02784
H, N = map(int, input().split()) A = sum(map(int, input().split())) if H <= A: print("YES") else : print("NO")
H, N = map(int, input().split()) A = sum((map(int, input().split()))) if H <= A: print("Yes") else: print("No")
[ "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
585,495
585,496
u288613683
python
p02784
import sys input = sys.stdin.readline H,N = map(int, input().split()) A = list(map(int,input().split())) print("Yes" if sum(A)>H else "No")
import sys input = sys.stdin.readline H,N = map(int, input().split()) A = list(map(int,input().split())) print("Yes" if sum(A)>=H else "No")
[ "expression.operator.compare.change", "call.arguments.change", "io.output.change" ]
585,510
585,511
u656391577
python
p02784
h,n=map(int,input().split()) if sum(list(map(int,input().split())))<h: print('Yes') else: print('No')
h,n=map(int,input().split()) if sum(list(map(int,input().split())))<h: print('No') else: print('Yes')
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
585,523
585,524
u374802266
python
p02784
h,n=map(int,inpiut().split()) a=[int(i) for i in input().split()] if sum(a)>h: print("Yes") else: print("No")
h,n=map(int,input().split()) a=[int(i) for i in input().split()] if sum(a)>=h: print("Yes") else: print("No")
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,525
585,526
u740047492
python
p02784
h, n = map(int, input().split()) a = list(map(int, input().split())) a_sum = 0 for a_i in sorted(a, reverse=True): a_sum += a_i if a_sum >= h: print('YES') break else: print('NO')
h, n = map(int, input().split()) a = list(map(int, input().split())) a_sum = 0 for a_i in sorted(a, reverse=True): a_sum += a_i if a_sum >= h: print('Yes') break else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,529
585,530
u846101221
python
p02784
HP, n = map(int, input().split()) damege = list(input().split()) if sum(damege) >= HP: print("Yes") else: print("No")
HP, n = map(int, input().split()) damege = list(map(int, input().split())) if sum(damege) >= HP: print("Yes") else: print("No")
[ "call.add", "call.arguments.change" ]
585,536
585,537
u323045245
python
p02784
A, gomi = map(int, input().split()) print('Yes' if A <= list(map(int,input().split())) else 'No')
A, gomi = map(int, input().split()) print('Yes' if A <= sum(list(map(int,input().split()))) else 'No')
[ "call.add", "call.arguments.change" ]
585,542
585,543
u634046173
python
p02784
A, gomi = int(input().split()) print('Yes' if A <= list(map(int,input().split())) else 'No')
A, gomi = map(int, input().split()) print('Yes' if A <= sum(list(map(int,input().split()))) else 'No')
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.add", "call.add", "call.arguments.change" ]
585,544
585,543
u634046173
python
p02784
H,N = map(int,input().split()) A = list(map(int,input().split())) Sum = sum(A) if H - Sum < 0: print("Yes") elif H - Sum > 0: print("No")
H,N = map(int,input().split()) A = list(map(int,input().split())) Sum = sum(A) if H - Sum <= 0: print("Yes") elif H - Sum > 0: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,545
585,546
u562015767
python
p02784
from sys import stdin import math h, n = [int(x) for x in stdin.readline().rstrip().split()] a = [int(x) for x in stdin.readline().rstrip().split()] sum = 0 for i in a: sum += i if sum > h: print("Yes") else: print("No")
from sys import stdin import math h, n = [int(x) for x in stdin.readline().rstrip().split()] a = [int(x) for x in stdin.readline().rstrip().split()] sum = 0 for i in a: sum += i if sum >= h: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,557
585,558
u436664080
python
p02784
h, n, *a = map(int, input().split()) if sum(a) >= h: print("Yes") else: print("No")
h, n, *a = map(int, open(0).read().split()) if sum(a) >= h: print("Yes") else: print("No")
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change" ]
585,574
585,575
u824734140
python
p02784
from sys import stdin # S,T = stdin.readline().rstrip().split() H,N = [int(x) for x in stdin.readline().rstrip().split()] s = list(map(int,input().split())) if H>sum(s): print("NO") else : print("YES")
from sys import stdin # S,T = stdin.readline().rstrip().split() H,N = [int(x) for x in stdin.readline().rstrip().split()] s = list(map(int,input().split())) if H>sum(s): print("No") else : print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,576
585,577
u396210538
python
p02784
A, B = map(int, input().split()) input_list = input().split( ) for i in (range(len(input_list))): input_list[i] = int(input_list) input_sum = sum(input_list) if(A <= input_sum): print("Yes") else: print("No")
A, B = map(int, input().split()) input_list = input().split( ) for i in (range(len(input_list))): input_list[i] = int(input_list[i]) input_sum = sum(input_list) if(A <= input_sum): print("Yes") else: print("No")
[]
585,585
585,586
u964521959
python
p02784
A, B = map(int, input().split()) input_list = input().split( ) for i in (range(input_list)): input_list[i] = int(input_list) input_sum = sum(input_list) if(A <= input_sum): print("Yes") else: print("No")
A, B = map(int, input().split()) input_list = input().split( ) for i in (range(len(input_list))): input_list[i] = int(input_list[i]) input_sum = sum(input_list) if(A <= input_sum): print("Yes") else: print("No")
[ "call.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
585,587
585,586
u964521959
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" ]
585,590
585,591
u350997995
python
p02784
import numpy as np H, N = map(int, input().split()) A = list(map(int, input().split())) A = np.array(A) attack = np.sum(A) if attack > H: print('Yes') else: print('No')
import numpy as np H, N = map(int, input().split()) A = list(map(int, input().split())) A = np.array(A) attack = np.sum(A) if attack >= H: print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,596
585,597
u861109991
python
p02784
h, n = map(int, input().split()) A = list(map(int, input().split())) flag = False for a in A: h -= a if h<0: flag = True break print("Yes" if flag else "No")
h, n = map(int, input().split()) A = list(map(int, input().split())) flag = False for a in A: h -= a if h<=0: flag = True break print("Yes" if flag else "No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,609
585,610
u856564576
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")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,642
585,643
u223060578
python
p02784
h, n = (int(x) for x in input().split()) a = list(int(x) for x in input().split()) txt = 'YES' if(sum(a) >= h) else 'NO' print(txt)
h, n = (int(x) for x in input().split()) a = list(int(x) for x in input().split()) txt = 'Yes' if(sum(a) >= h) else 'No' print(txt)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
585,651
585,652
u307622233
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" ]
585,655
585,656
u719193574
python
p02784
def main(): H,N = list(map(int,input().split())) A = list(map(int,input().split())) sum_attack = sum(A) if(H < sum_attack): print('Yes') else: print('No') if __name__ == "__main__": main()
def main(): H,N = list(map(int,input().split())) A = list(map(int,input().split())) sum_attack = sum(A) if(H <= sum_attack): print('Yes') else: print('No') if __name__ == "__main__": main()
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,663
585,664
u131411061
python
p02784
h, n = map(int, input().split()) a = list(map(int, input().split())) ans = "" if sum(a) >= h: ans = "Yes" else: ans = "No"
h, n = map(int, input().split()) a = list(map(int, input().split())) ans = "" if sum(a) >= h: ans = "Yes" else: ans = "No" print(ans)
[ "call.add" ]
585,673
585,674
u923270446
python
p02784
from sys import stdin def main(): input = stdin.readline H,N = map(int,input().split()) A = list(map(int,input().split())) print(A) if (H <= sum(A)): print("Yes") else: print("No") if __name__ == "__main__": main()
from sys import stdin def main(): input = stdin.readline H,N = map(int,input().split()) A = list(map(int,input().split())) if (H <= sum(A)): print("Yes") else: print("No") if __name__ == "__main__": main()
[ "call.remove" ]
585,679
585,680
u727717182
python
p02784
H,N=map(int,input().split()) A=map(int,input().split()) B=sum(A) ans='YES' if B<H: ans='NO' print(ans)
H,N=map(int,input().split()) A=map(int,input().split()) B=sum(A) ans='Yes' if B<H: ans='No' print(ans)
[ "literal.string.change", "literal.string.case.change", "assignment.value.change" ]
585,703
585,704
u245299791
python
p02784
H,N =map(int, input().split()) A = list(map(int, input().split())) for Ax in A: H -= Ax if H < 0: print("Yes") else: print("No")
H,N =map(int, input().split()) A = list(map(int, input().split())) for Ax in A: H -= Ax if H > 0: print("No") else: print("Yes")
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change", "call.remove", "call.add" ]
585,709
585,710
u841599623
python
p02784
h, n = map(int, input().split()) A = list(map(int, input().split())) A.sort(reverse=True) attack = sum(A[:2]) print("Yes") if h <= attack else print("No")
h, n = map(int, input().split()) A = list(map(int, input().split())) A.sort(reverse=True) attack = sum(A) print("Yes") if h <= attack else print("No")
[]
585,731
585,732
u143492911
python
p02784
H,_=map(int,input().split()) if H <= list(map(int,input().split())): print("Yes") else: print("No")
H, _ = map(int, input().split()) if H <= sum(map(int, input().split())): print("Yes") else: print("No")
[ "identifier.change", "call.function.change", "control_flow.branch.if.condition.change" ]
585,735
585,736
u357630630
python
p02784
kazu1 = list(map(int, input().split())) kazu2 = list(map(int, input().split())) if kazu1[0] <= sum(kazu2): print('YES') else: print('NO')
kazu1 = list(map(int, input().split())) kazu2 = list(map(int, input().split())) if kazu1[0] <= sum(kazu2): print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,737
585,738
u300457253
python
p02784
import math h,n = map(int, input().split()) a = list(map(int, input().split())) a_sum = sum(a) if h <= a_sum: print('YES') else: print('NO')
import math h,n = map(int, input().split()) a = list(map(int, input().split())) a_sum = sum(a) if h <= a_sum: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,740
585,741
u378082660
python
p02784
L1 = input().split() L2 = input().split() H, N = int(L1[0]), int(L1[1]) d = 0 for i in L2: d += int(i) if d < H: print("NO") else: print("YES")
L1 = input().split() L2 = input().split() H, N = int(L1[0]), int(L1[1]) d = 0 for i in L2: d += int(i) if d < H: print("No") else: print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,744
585,745
u571608999
python
p02784
H, N = map(int, input().split()) A = list(map(int, input().split())) SUM_A = sum(A) if SUM_A < H : print("NO") else : print("YES")
H, N = map(int, input().split()) A = list(map(int, input().split())) SUM_A = sum(A) if SUM_A < H : print("No") else : print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,748
585,749
u773246942
python
p02784
#L, R = map(int,input().split()) H,N = map(int,input().split()) A = list(map(int,input().split())) a = 0 for i in A: a += i if a>H: print("Yes") else: print("No")
#L, R = map(int,input().split()) H,N = map(int,input().split()) A = list(map(int,input().split())) a = 0 for i in A: a += i if a>=H: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,750
585,751
u493130708
python
p02784
H, N = map(int, input().split()) total_A = sum(list(map(int, input.split()))) if H <= total_A: print('Yes') else: print('No')
H, N = map(int, input().split()) total_A = sum(list(map(int, input().split()))) if H <= total_A: print('Yes') else: print('No')
[ "call.add" ]
585,757
585,758
u362771726
python
p02784
H, N = map(int, input().split()) total_A = sum(map(int, input.split())) if H <= total_A: print('Yes') else: print('No')
H, N = map(int, input().split()) total_A = sum(list(map(int, input().split()))) if H <= total_A: print('Yes') else: print('No')
[ "call.arguments.add", "call.add", "call.arguments.change" ]
585,759
585,758
u362771726
python
p02784
H,N = list(map(int,input().split)) A = list(map(int,input().split)) s = A[0] for i in range(1,len(A)): s += A[i] if s>=H: print("Yes") else: print("No")
H,N = list(map(int,input().split())) A = list(map(int,input().split())) s = A[0] for i in range(1,len(A)): s += A[i] if s>=H: print("Yes") else: print("No")
[ "call.add" ]
585,760
585,761
u183976155
python
p02784
N, H = 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')
[]
585,770
585,771
u944643608
python
p02784
H,N = map(int,input().split()) total_attack_damage = sum(list(map(int,input().split()))) result = H - total_attack_damage if result > 0: print("NO") elif result <= 0: print("YES")
H,N = map(int,input().split()) total_attack_damage = sum(list(map(int,input().split()))) result = H - total_attack_damage if result > 0: print("No") elif result <= 0: print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,779
585,780
u906858931
python
p02784
h,n = map(int,input().split()) A = list(map(int,input().split())) A = sorted(A, reversed = True) for a in A[:n] : h -= a if h <= 0 : print("Yes") else : print("No")
h,n = map(int,input().split()) A = list(map(int,input().split())) A = sorted(A, reverse = True) for a in A[:n] : h -= a if h <= 0 : print("Yes") else : print("No")
[ "assignment.value.change", "identifier.change", "call.arguments.change", "call.arguments.keyword_argument.near.change" ]
585,781
585,782
u879870653
python
p02784
H,N=map(int,input().split()) A=list(map(int,input().split())) A.sort(reverse=True) total=H-sum(A[0:2]) if total<=0:print("Yes") else:print("No")
H,N=map(int,input().split()) A=list(map(int,input().split())) A.sort(reverse=True) total=H-sum(A[0::]) if total<=0:print("Yes") else:print("No")
[ "assignment.value.change", "variable_access.subscript.index.change", "call.arguments.change", "expression.operation.binary.change" ]
585,805
585,806
u441320782
python
p02784
H, N = list(map(int, input().split())) A = list(map(int, input().split())) if H < sum(A): print('yes') else: print('no')
H, N = list(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", "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,811
585,812
u323609829
python
p02784
""" author : halo2halo date : 4, Feb, 2020 """ import sys # import itertools # import math # import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines H, N,*A = map(int, read().split()) print('YES' if H<=sum(A) else 'No')
""" author : halo2halo date : 4, Feb, 2020 """ import sys # import itertools # import math # import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines H, N,*A = map(int, read().split()) print('Yes' if H<=sum(A) else 'No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,813
585,814
u361826811
python
p02784
""" author : halo2halo date : 4, Feb, 2020 """ import sys # import itertools # import math # import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines H, N,*A = map(int, readline().split()) print('YES' if H<=sum(A) else 'No')
""" author : halo2halo date : 4, Feb, 2020 """ import sys # import itertools # import math # import numpy as np read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines H, N,*A = map(int, read().split()) print('Yes' if H<=sum(A) else 'No')
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change", "literal.string.change", "literal.string.case.change", "io.output.change" ]
585,815
585,814
u361826811
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')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,818
585,819
u468206018
python
p02784
h, n = map(int, input().split()) a = [] a.append(map(int,input().split())) sum = 0 for i in a: sum += i if sum >= h: print("Yes") else: print("No")
h, n = map(int, input().split()) a = list(map(int,input().split())) sum = 0 for i in a: sum += i if sum >= h: print("Yes") else: print("No")
[ "assignment.value.change" ]
585,827
585,828
u686608807
python
p02784
H, N = input().split() lis = list(map(int, input().split())) if sum(lis) >= H: print("Yes") else: print("No")
H, N = map(int, input().split()) lis = list(map(int, input().split())) if sum(lis) >= H: print("Yes") else: print("No")
[ "call.add", "call.arguments.change" ]
585,829
585,830
u957843607
python
p02784
H, N = map(int, input().split()) lis = list(map(input().split())) if sum(lis) >= H: print("Yes") else: print("No")
H, N = map(int, input().split()) lis = list(map(int, input().split())) if sum(lis) >= H: print("Yes") else: print("No")
[ "call.arguments.add" ]
585,831
585,830
u957843607
python
p02784
H, N = map(int, input().split()) lis = list(input().split()) if sum(lis) >= H: print("Yes") else: print("No")
H, N = map(int, input().split()) lis = list(map(int, input().split())) if sum(lis) >= H: print("Yes") else: print("No")
[ "call.add", "call.arguments.change" ]
585,832
585,830
u957843607
python
p02784
import numpy as np H,N = map(int,input().split()) A = list(map(int,input().split())) if np.sum(A)>=H: print("yes") else: print("no")
import numpy as np H,N = map(int,input().split()) A = list(map(int,input().split())) if np.sum(A)>=H: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,849
585,850
u005317312
python
p02784
H,N = list(map(int,input().split())) alist = list(map(int,input().split())) if H < sum(alist): print("Yes") else: print("No")
H,N = list(map(int,input().split())) alist = list(map(int,input().split())) if H <= sum(alist): print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,851
585,852
u901341592
python
p02784
H,N = list(map(int,input().split())) alist = list(map(int,input().split())) if H < sum(alist): print("YES") else: print("NO")
H,N = list(map(int,input().split())) alist = list(map(int,input().split())) if H <= sum(alist): 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" ]
585,853
585,852
u901341592
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("No" if h > sum(a) else "Yes")
[ "literal.string.change", "call.arguments.change", "io.output.change" ]
585,854
585,855
u617515020
python
p02784
a,b=input().split() l = list(map(int, input().split())) a=int(a) b=int(b) if a >= sum(l): print('Yes') else: print('No')
a,b=input().split() l = list(map(int, input().split())) a=int(a) b=int(b) if a <= sum(l): print('Yes') else: print('No')
[ "misc.opposites", "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,865
585,866
u316904674
python
p02784
H, N = map(int, input().split()) List = map(int, input().split()) total = 0 for l in len(List): total += List[l] if H > total: print('No') elif H <= total: print('Yes')
H, N = map(int, input().split()) List = list(map(int, input().split())) total = 0 for l in range(len(List)): total += List[l] if H > total: print('No') elif H <= total: print('Yes')
[ "call.add", "call.arguments.change", "control_flow.loop.range.bounds.upper.change" ]
585,867
585,868
u697968316
python
p02784
H, N = [int(i) for i in input().split(' ')] A = [int(i) for i in input().split(' ')] if H - sum(A) < 0: print('Yes') else: print('No')
H, N = [int(i) for i in input().split(' ')] A = [int(i) for i in input().split(' ')] if H - sum(A) <= 0: print('Yes') else: print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,869
585,870
u804455323
python
p02784
N,K = [int(x) for x in input().split()] n=[int(x) for x in input().split()] print("Yes" if sum(n)>N else "No")
N,K = [int(x) for x in input().split()] n=[int(x) for x in input().split()] print("Yes" if sum(n)>=N else "No")
[ "expression.operator.compare.change", "call.arguments.change", "io.output.change" ]
585,897
585,896
u295294832
python
p02784
H, N = map(int, input().split()) A = map(int, input().split()) sum = 0 for val in A: sum = sum + val if sum >= H: print("Yes") print("No")
H, N = map(int, input().split()) A = map(int, input().split()) sum = 0 for val in A: sum = sum + val if sum >= H: print("Yes") else: print("No")
[]
585,905
585,906
u956811090
python
p02784
H, N = input().split() A = list(input().split()) if int(H)-sum(A) <=0: print("Yes") else: print("No")
H, N = input().split() A = list(map(int, input().split())) if int(H)-sum(A) <=0: print("Yes") else: print("No")
[ "call.add", "call.arguments.change" ]
585,912
585,911
u436611990
python
p02784
import math h, n = map(int, input().split()) a = [int(i) for i in input().split()] if sum(a) >= h: print('yes') else: print('no')
h, n = map(int, input().split()) a = [int(i) for i in input().split()] if sum(a) >= h: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,918
585,919
u648257619
python
p02784
import math h, n = map(int, input().split()) attack_list = list(map(int, input().split())) damage = 0 for attack in attack_list: damage += attack if damage > h: print('Yes') exit() print('No')
import math h, n = map(int, input().split()) attack_list = list(map(int, input().split())) damage = 0 for attack in attack_list: damage += attack if damage >= h: print('Yes') exit() print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,920
585,921
u414048826
python
p02784
import math h, n = map(int, input().split()) attack_list = list(map(int, input().split())) damage = 0 for attack in attack_list: damage += attack if damage >= h: print('Yes') print('No')
import math h, n = map(int, input().split()) attack_list = list(map(int, input().split())) damage = 0 for attack in attack_list: damage += attack if damage >= h: print('Yes') exit() print('No')
[ "call.add" ]
585,922
585,921
u414048826
python
p02784
import math h, n = map(int, input().split()) attack_list = list(map(int, input().split())) damage = 0 for attack in attack_list: damage += attack if damage > h: print('Yes') print('No')
import math h, n = map(int, input().split()) attack_list = list(map(int, input().split())) damage = 0 for attack in attack_list: damage += attack if damage >= h: print('Yes') exit() print('No')
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change", "call.add" ]
585,923
585,921
u414048826
python
p02784
h,n = list(map(int,input().splii())) l = list(map(int,input().splii())) if sum(l)<h: print("No") else: print("Yes")
h,n = list(map(int,input().split())) l = list(map(int,input().split())) if sum(l)<h: print("No") else: print("Yes")
[ "assignment.value.change", "identifier.change", "call.arguments.change" ]
585,924
585,925
u144702227
python
p02784
H,N=map(int,input().split()) A=map(int,input().split()) print("Yes" if max(A)>=H else "No")
H,N=map(int,input().split()) A=map(int,input().split()) print("Yes" if sum(A)>=H else "No")
[ "identifier.change", "call.function.change", "call.arguments.change", "io.output.change" ]
585,944
585,945
u132813957
python
p02784
H, N = list(map(int, input().split(' '))) A_list = list(map(int, input().split(' '))) sum_atack = sum(A_list) if sum_atack >= H: print('YES') else: print('NO')
H, N = list(map(int, input().split(' '))) A_list = list(map(int, input().split(' '))) sum_atack = sum(A_list) if sum_atack >= H: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,952
585,953
u078316894
python
p02784
H,N = (input()).split(" ") H=(int)(H) N=(int)(N) As = (input()).split(" ") sum=0 for A in As: sum+=(int)(A) if sum>=A: print("Yes") else: print("No")
H,N = (input()).split(" ") H=(int)(H) N=(int)(N) As = (input()).split(" ") sum=0 for A in As: sum+=(int)(A) if sum>=H: print("Yes") else: print("No")
[ "identifier.change", "control_flow.branch.if.condition.change" ]
585,972
585,973
u069868485
python
p02784
H,N=map(int,input().split()) A=list(map(int,input().split())) Max_A=0 for i in range(len(A)): Max_A=Max_A+A[i] if Max_A>=H: print("YES") else: print("NO")
H,N=map(int,input().split()) A=list(map(int,input().split())) Max_A=0 for i in range(len(A)): Max_A=Max_A+A[i] if Max_A>=H: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
585,991
585,992
u898058223
python
p02784
h,n=map(int,input().split()) m=list(map(int,input().split())) ans=sum(m) if ans > h: print("Yes") else: print("No")
h,n=map(int,input().split()) m=list(map(int,input().split())) ans=sum(m) if ans >= h: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
585,993
585,994
u250046233
python
p02784
H,N=map(int,input().split()) print('NYoe s'[H<sum(list(map(int,input().split())))::2])
H,N=map(int,input().split()) print('NYoe s'[H<=sum(list(map(int,input().split())))::2])
[ "expression.operator.compare.change", "variable_access.subscript.index.change", "call.arguments.change", "io.output.change" ]
586,000
586,001
u086503932
python
p02784
hp,kind = input().split(" ") sp_atk = [int(i) for i in input().split()] if int(hp) < sum(sp_atk): print("Yes") else: print("No")
hp,kind = input().split(" ") sp_atk = [int(i) for i in input().split()] if int(hp) <= sum(sp_atk): print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
586,007
586,008
u224288584
python
p02784
h,n=map(int,input().split()) List=list(map(int,input().split())) # print(h) # print(n) # print(List) if sum(List)>= h: print('YES') else: print('NO')
h,n=map(int,input().split()) List=list(map(int,input().split())) # print(h) # print(n) # print(List) if sum(List)>= h: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
586,013
586,014
u150906260
python
p02784
H, N = list(map(int, input().split())) A = list(map(int, input().split())) SUM = sum(A) if H > SUM: print("NO") else: print("YES")
H, N = list(map(int, input().split())) A = list(map(int, input().split())) SUM = sum(A) if H > SUM: print("No") else: print("Yes")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
586,017
586,018
u292746386
python
p02784
enemy, num = map(int,input().split()) skills = list(map(int,input().split())) print("Yes") if sum(skills) < enemy else print("No")
enemy, num = map(int,input().split()) skills = list(map(int,input().split())) print("Yes") if sum(skills) >= enemy else print("No")
[ "expression.operator.compare.change" ]
586,021
586,022
u179335173
python
p02784
k,n=map(int,input().split()) a=list(map(int,intput().split())) if sum(a)>=k: print("Yes") else: print("No")
k,n=map(int,input().split()) a=list(map(int,input().split())) if sum(a)>=k: print("Yes") else: print("No")
[ "assignment.value.change", "identifier.change", "call.function.change", "call.arguments.change" ]
586,033
586,034
u427571081
python
p02784
H, N = map(int, input().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')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
586,035
586,036
u370721525
python
p02784
import math query=[int(x) for x in input().split()] N = query[0] K = query[1] l=[int(x) for x in input().split()] SUM=sum(l) if N-SUM<=0: print("YES") else: print("NO")
import math query=[int(x) for x in input().split()] N = query[0] K = query[1] l=[int(x) for x in input().split()] SUM=sum(l) if N-SUM<=0: print("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
586,039
586,040
u839954363
python
p02784
a,b=map(int,input().split()) s=list(map(int,input().split())) if a<=sum(s): print ("yes") else: print("no")
a,b=map(int,input().split()) s=list(map(int,input().split())) if a<=sum(s): print ("Yes") else: print("No")
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
586,041
586,042
u129961029
python
p02784
print('No' if int(input().split()[0])<sum(list(map(int, input().split()))) else 'Yes')
print('No' if int(input().split()[0])>sum(list(map(int, input().split()))) else 'Yes')
[ "misc.opposites", "expression.operator.compare.change", "call.arguments.change", "io.output.change" ]
586,045
586,046
u036340997
python
p02784
H,N = list(map(int,input().split())) A = list(map(int,input().split())) if H <= sum(A): print("YES") else: print("NO")
H,N = list(map(int,input().split())) A = list(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" ]
586,055
586,056
u698919163
python
p02784
H, N = map(int,input().split()) Ai = list(map(int,input().split())) Ai_sum = sum(Ai) if Ai_sum >= H: print('YES') else: print('NO')
H, N = map(int,input().split()) Ai = list(map(int,input().split())) Ai_sum = sum(Ai) if Ai_sum >= H: print('Yes') else: print('No')
[ "literal.string.change", "literal.string.case.change", "call.arguments.change", "io.output.change" ]
586,075
586,076
u509392332
python
p02784
h, n = map(int, input().split()) A = list(map(int, input().split())) sum_a = sum(A) if h - sum_a < 0: print("Yes") else: print("No")
h, n = map(int, input().split()) A = list(map(int, input().split())) sum_a = sum(A) if h - sum_a <= 0: print("Yes") else: print("No")
[ "expression.operator.compare.change", "control_flow.branch.if.condition.change" ]
586,093
586,094
u006425112
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" ]
586,097
586,098
u849761972
python