Problem: Serval is fighting with a monster.  The _health_ of the monster is H.  In one attack, Serval can decrease the monster's health by A. There is no other way to decrease the monster's health.  Serval wins when the monster's health becomes 0 or below.  Find the number of attacks Serval needs to make before winning.

Submission attempts (in order):
l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H  int(l1[0])
N = int(l1[1])
A = int(sum(l2))
result = H - A
if result <= 0:
    print("Yes")
else:
    print("No")


l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

def attack2(l1, l2):
    H = l1[0]
    N = l1[1]
    A = sum(l2)
    result = H - A
    if result >0:
        return "No"
    else:
        return "Yes"
      
print(attack2(l1, l2))

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = int(l1[0])
N = int(l1[1])
A = int(sum(l2))
result = H - A
if result <= 0:
    rint("Yes")
else:
    rint("No")


l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

def attack2(l1, l2):
    H = l1[0]
    N = l1[1]
    A = sum(l2)
    result = H - A
    if result >0:
        return "No"
    else:
        return "Yes"
      
print(attack2(l1, l2))

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = l1[0]
N = l1[1]
A = sum(l2)
result = H - A
if result <= 0:
    print("Yes")
else:
    print("No")

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = int(l1[0])
N = int(l1[1])
A = int(sum(l2))
break
result = H - A
if result <= 0:
    print("Yes")
else:
    print("No")

l = list(map(int, input().split()))

def attack(l):
    H = l[0]
    A = l[1]
    cnt = 0
    while H >= 0:
        H = H - A
        cnt += 1
    return cnt

print(cnt)


l = list(map(int, input().split()))

def attack(l):
    H = l[0]
    A = l[1]
    cnt = 0
    while H >= 0:
        H = H - A
        cnt += 1
    print(cnt)

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = int(l1[0])
N = int(l1[1])
A = int(sum(l2))
result = H - A
if result <= 0:
    rint("Yes")
else:
    rint("No")


l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = int(l1[0])
N = int(l1[1])
A = int(sum(l2))
result = H - A
if result <= 0:
    print("Yes")
else:
    print("No")

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = int(l1[0])
N = int(l1[1])
A = int(sum(l2))
result = H - A
print(A)
if result <= 0:
    print("Yes")
else:
    print("No")

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

H = l1[0]
N = l1[1]
A = sum(l2)
result = H - A
if result >0:
    print("No")
else:
    print("Yes")

l1 = list(map(int, input().split()))
l2 = list(map(int, input().split()))

print(l1)
H = int(l1[0])
N = int(l1[1])
A = int(sum(l2))
result = H - A
if result <= 0:
    print("Yes")
else:
    print("No")

l1 = list(map(int, input().split()))

H = l1[0]
A = l1[1]

T = H%A
if T == 0:
  print(H//A)
else:
  print(H//A+1)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Wrong Answer

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted