ZhenlongDai/ACPR huggingface dataset:
Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())

min_time = (N / X + 1) * T

print(min_time)

Failing test case input:
47 3 2

Expected output:
32


Actual output:
33.33333333333333


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())

a = N / X

import math

min_time = math.ceil(a) * T

print(min_time)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    n, x, t = map(int, input().split())
    print(int(n / x + 0.5) * t)

if __name__ == '__main__':
    main()


Failing test case input:
37 17 6

Expected output:
18


Actual output:
12


Fixed submission (verdict: Accepted):
import math
def main():
    n, x, t = map(int, input().split())
    print(math.ceil(n / x) * t)

if __name__ == '__main__':
    main()

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n, x, t = map(int, input().split())
if n % x == 0:
    c = n / x
else:
    b = n / x
    c = b 
a = int(c * t)
print(a)


Failing test case input:
26 11 -1

Expected output:
-3


Actual output:
-2


Fixed submission (verdict: Accepted):
import math
n, x, t = map(int, input().split())
if n % x == 0:
    c = n / x
else:
    b = n / x
    c = math.ceil(b)
a = int(c * t)
print(a)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())

count = 0
time = 0
while N >= count:
    count += X
    time += T

print(time)


Failing test case input:
1011 1 0100

Expected output:
101100


Actual output:
101200


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())

count = 0
time = 0
while N > count:
    count += X
    time += T

print(time)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())
if N % X == 0:
  print(N / X * T)
else:
  print((N / X + 1) * T)

Failing test case input:
4 2 26

Expected output:
52


Actual output:
52.0


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())
if N % X == 0:
  print(int(N / X) * T)
else:
  print(int(N / X + 1) * T)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=list(map(int,input().split()))
print((round(n/x))*t)

Failing test case input:
26 4 1

Expected output:
7


Actual output:
6


Fixed submission (verdict: Accepted):
import math
n,x,t=list(map(int,input().split()))
print((math.ceil(n/x))*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n, x, t = map(int, input().split())
if n % x == 0:
  print(n/x*t)
else:
  a = n 
  print((a+1)*t)

Failing test case input:
47 4 -1

Expected output:
-12


Actual output:
-48


Fixed submission (verdict: Accepted):
n, x, t = map(int, input().split())
if n % x == 0:
  print(int(n/x*t))
else:
  print(int((n
Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())
i=0
ans=0

if X==1:
  ans = N*T
elif N<=X:
  ans = T
else:
  while i<=N :
    i = i+X
    ans = ans+T 
print(ans)


Failing test case input:
56 2 6

Expected output:
168


Actual output:
174


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())
i=0
ans=0

if X==1:
  ans= N*T
else:
  if N<=X:
    ans = T
  else:
    while i<N :
      i = i+X
      ans = ans+T 
print(ans)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=map(int,input().split())
count=0
a=0
a=x
if(n<=x):
        print(t,end='\n')
        
elif(x==1):
        print((n)*t)
else:    
    while(x<=n):
        count=count+1
        x=x+a    
    print((count+1)*t)

Failing test case input:
26 2 -1

Expected output:
-13


Actual output:
-14


Fixed submission (verdict: Accepted):
n,x,t=map(int,input().split())
count=0
a=0
a=x
if(n<=x):
        print(t,end='\n')
        
elif(x==1):
        print((n)*t)
else:    
    while(x<n):
        count=count+1
        x=x+a    
    print((count+1)*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
string = input("Enter your input: ")
string = string.split()
n = int(string[0])
x = int(string[1])
t = int(string[2])

if(n%x == 0):
    res = int(n/x) * t
    print(res)
else:
    res = (int(n/x) + 1) * t
    print(res)

Failing test case input:
1001 1 1000

Expected output:
1001000


Actual output:
Enter your input: 1001000


Fixed submission (verdict: Accepted):
string = input()
string = string.split()
n = int(string[0])
x = int(string[1])
t = int(string[2])

if(n%x == 0):
    res = int(n/x) * t
    print(res)
else:
    res = (int(n/x) + 1) * t
    print(res)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n, x, t = list(map(int, input().split()))

a = (n/x)

if int(a) == a:
    a = a
else:
    a = int(a)+1

print( a*t)

Failing test case input:
26 2 -2

Expected output:
-26


Actual output:
-26.0


Fixed submission (verdict: Accepted):
n, x, t = list(map(int, input().split()))

a = (n/x)

if int(a) == a:
    a = a
else:
    a = int(a)+1

print( int(a*t))

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
param=input().split()

ama=int(param[0])%int(param[1])
print(ama)
war=(int(param[0])-ama)/int(param[1])
print(war)

if ama==0:
    tim=war*int(param[2])
else:
    tim=(war+1)*int(param[2])

tim=int(tim)
print(tim)

Failing test case input:
51 1 6

Expected output:
306


Actual output:
0
51.0
306


Fixed submission (verdict: Accepted):
param=list(map(int,input().split()))

ama=param[0]%param[1]
war=(param[0]-ama)/param[1]

if ama==0:
    tim=war*param[2]
else:
    tim=(war+1)*param[2]

print(int(tim))

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N,X,T = map(int, input().split())
if(N%X!=0):
  A = int(N/X)+1
else:
  A = N/X
print(A*T)

Failing test case input:
33 1 -1

Expected output:
-33


Actual output:
-33.0


Fixed submission (verdict: Accepted):
N,X,T = map(int, input().split())
if(N%X!=0):
  A = int(N/X)+1
else:
  A = N/X
print(int(A*T))
Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
from math import *
N,X,T=map(int,input().split())
if(type(N/X)=='int'):
    print(T*X/N)
else:
    print(T*(floor(N/X)+1))

Failing test case input:
35 1 -1

Expected output:
-35


Actual output:
-36


Fixed submission (verdict: Accepted):
from math import *
N,X,T=map(int,input().split())
M=N/X
if(M.is_integer()):
    print(int(T*M))
else:
    print(T*(floor(M)+1))

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())

t = round(N / X)

print(t * T)

Failing test case input:
37 3 8

Expected output:
104


Actual output:
96


Fixed submission (verdict: Accepted):
import math

N, X, T = map(int, input().split())

t = math.ceil(N / X)

print(t * T)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t =input().split()
n =int(n)
x =int(x)
t =int(t)
s =0
while True:
    if n < 0:
        break
    else:
        n -= x
        s += t

print(s)

Failing test case input:
77 1 -2

Expected output:
-154


Actual output:
-156


Fixed submission (verdict: Accepted):
n,x,t =input().split()
n =int(n)
x =int(x)
t =int(t)
s =0

while True:
    if n <= 0:
        break
    else:
        n -= x
        s +=1

print(s*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())

if N <= X:
    print(T)
else:
    a = N 
    b = a * T
    c = b + (int(N / X ) - a +T)
    print(c)

Failing test case input:
77 1 -2

Expected output:
-154


Actual output:
-156


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())

if N % X == 0:
    print(T * int( N 
else:
    a = N 
    b = a * T
    c = b + (int( N / X ) - a +T)
    print(c)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=map(int, input().split())
ct=0
while(n>=0):
  ct+=t
  n-=x
print(ct)

Failing test case input:
41 1 6

Expected output:
246


Actual output:
252


Fixed submission (verdict: Accepted):
n,x,t=map(int, input().split())
ct=0
while(n>0):
  ct+=t
  n-=x
print(ct)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=input().split()
n=int(n)
x=int(x)
t=int(t)
syou,amari=divmod(n,x)
if amari==0:
  print(syou*t)
else:
  print(syou*(t+1))
  

Failing test case input:
87 9 6

Expected output:
60


Actual output:
63


Fixed submission (verdict: Accepted):
n,x,t=input().split()
n=int(n)
x=int(x)
t=int(t)
q,mod=divmod(n,x)
if mod==0:
  print(q*t)
else:
  print((q+1)*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=map(int,input().split())
s=n
print(s*t)

Failing test case input:
26 2 -1

Expected output:
-13


Actual output:
-26


Fixed submission (verdict: Accepted):
import math
n,x,t=map(int,input().split())
s=math.ceil(n/x)
print(s*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n, x, t = map(int, input().split())
print(t)

Failing test case input:
1000 1 1000

Expected output:
1000000

Actual output:
1000


Fixed submission (verdict: Accepted):
n, x, t = map(int, input().split())
print(int((n+x-1)/x) * t)
Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
n, x, t = [int(x) for x in input().split()]
print(math.ceil(n/x*t))

Failing test case input:
1011 2 0101

Expected output:
51106


Actual output:
51056


Fixed submission (verdict: Accepted):
import math
n, x, t = [int(x) for x in input().split()]
print(math.ceil(n/x)*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())

if N <= X:
    print(T)
else:
    a = N 
    b = a * T
    c = b + T
    print(c)


Failing test case input:
1010 1 1100

Expected output:
1111000


Actual output:
1112100


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())

if N % X == 0:
    print(T * int( N 
else:
    a = N 
    b = a * T
    c = b + (int( N / X ) - a +T)
    print(c)

Problem: p02576
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
N, X, T = map(int, input().split())
print((N + X - 1) / X * T)

Failing test case input:
77 1 -1

Expected output:
-77


Actual output:
-77.0


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())
print((N + X - 1)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=map(int, input().split())
a=(n/x)
print(a)
if a==type(int):
    a=str(a)
    b=int(a[:a.index(".")])
else:
    a=str(a)
    a2=a[a.index("."):]
    print(a2)
    if a2=='.0':
        b=int(a[:a.index(".")])
        print(b*t)
    else:
        b=int(a[:a.index(".")])+1
        print(b*t)

Failing test case input:
26 4 1

Expected output:
7


Actual output:
6.5
.5
7


Fixed submission (verdict: Accepted):
n,x,t=map(int, input().split())
a=(n/x)
if a==type(int):
    a=str(a)
    b=int(a[:a.index(".")])
else:
    a=str(a)
    a2=a[a.index("."):]
    if a2=='.0':
        b=int(a[:a.index(".")])
        print(b*t)
    else:
        b=int(a[:a.index(".")])+1
        print(b*t)

Problem: p02576
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
N,X,T = map(int, input().split())
print(((N+X-1)/X)*T)

Failing test case input:
4 5 11

Expected output:
11


Actual output:
17.6


Fixed submission (verdict: Accepted):
N,X,T = map(int, input().split())
print(((N+X-1)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())

if N <= X:
    print(T)
else:
    a = N 
    b = a * T
    c = b + int((N / X ) - a +T)
    print(c)

Failing test case input:
37 22 1

Expected output:
2


Actual output:
3


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())

if N % X == 0:
    print(T * int( N 
else:
    a = N 
    b = a * T
    c = b + (int( N / X ) - a +T)
    print(c)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t = [int(i) for i in input().split()]
if n%x==0:
  print(n/x*t)
else:
  print((int(n/x)+1)*t)

Failing test case input:
20 2 2

Expected output:
20


Actual output:
20.0


Fixed submission (verdict: Accepted):
n,x,t = [int(i) for i in input().split()]
if n%x==0:
  print(int(n/x*t))
else:
  print((int(n/x)+1)*t)
Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n,x,t=map(int, input().split())
a=(n/x)
print(a)
if a==type(int):
    a=str(a)
    b=int(a[:a.index(".")])
    print(b*t)
else:
    a=str(a)
    a2=a[a.index("."):]
    if a2=='.0':
        b=int(a[:a.index(".")])
        print(b*t)
    else:
        b=int(a[:a.index(".")])+1
        print(b*t)

Failing test case input:
1001 3 0100

Expected output:
33400


Actual output:
333.6666666666667
33400


Fixed submission (verdict: Accepted):
n,x,t=map(int, input().split())
a=(n/x)
if a==type(int):
    a=str(a)
    b=int(a[:a.index(".")])
else:
    a=str(a)
    a2=a[a.index("."):]
    if a2=='.0':
        b=int(a[:a.index(".")])
        print(b*t)
    else:
        b=int(a[:a.index(".")])+1
        print(b*t)

Problem: p02576
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
n,x,t=map(int,input().split())
import math
print((math.floor(n/x)+1)*t)

Failing test case input:
1000 1 1110

Expected output:
1110000


Actual output:
1111110


Fixed submission (verdict: Accepted):
n,x,t=map(int,input().split())
import math
print((math.ceil(n/x))*t)

Problem: p02576
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
N, X, T = map(int, input().split())
i=0
ans=0

if X==1:
  ans = N*T  
else:
  while i<=N :
    i = i+X
    ans = ans+T 
print(ans)


Failing test case input:
20 2 2

Expected output:
20


Actual output:
22


Fixed submission (verdict: Accepted):
N, X, T = map(int, input().split())
i=0
ans=0

if X==1:
  ans= N*T
else:
  if N<=X:
    ans = T
  else:
    while i<N :
      i = i+X
      ans = ans+T 
print(ans)
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

for i in range(1,101):
	if i/2 % 1 :
		c = c-b
		print('c',c)
	else:
		a = a-d
		print('a',a)
	
	if a <= 0:
		print('No')
		break
	elif c <= 0:
		print('Yes')
		break



	
	

Failing test case input:
309 8 0 4

Expected output:
Yes


Actual output:
c -8
Yes


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())

for i in range(1,202):
	if i/2 % 1 :
		c = c-b
	else:
		a = a-d
	
	if a <= 0:
		print('No')
		break
	elif c <= 0:
		print('Yes')
		break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

turn = False

while A > 0 and C > 0:
  if turn:
    C -= B
  else:
    A -= D
  
  turn = not turn

if A <= 0:
  print('No')
else:
  print('Yes')

Failing test case input:
5 13 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

turn = True

while A > 0 and C > 0:
  if turn:
    C -= B
  else:
    A -= D
  
  turn = not turn

if A <= 0:
  print('No')
else:
  print('Yes')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

while 1:
    c=-b
    if c<=0 :
        print("Yes")
        break
    a=-d
    if a<=0 :
        print("No")
        break

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())

while 1:
    c-=b
    if c<=0 :
        print("Yes")
        break
    a-=d
    if a<=0 :
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    C = C - B
    A = A - D
    if C <= 0:
        S = 1
        print("No")
    elif A <= 0:
        S = 1
        print("Yes")
    else:
        continue

Failing test case input:
309 8 4 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    C = C - B
    A = A - D
    if C <= 0:
        S = 1
        print("Yes")
    elif A <= 0:
        S = 1
        print("No")
    else:
        continue

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

cd = c 

ad = a 
if ad < cd :
    print('No')

elif  ad < cd:
    print('Yes')
else:
    print('Yes')

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
import math
a,b,c,d = map(int,input().split())

cb = -(-c
ad = -(-a
if ad < cb :
    print('No')
else:
    print('Yes')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
n = input().split(" ")
a = int(n[0])
b = int(n[1])
c = int(n[2])
d = int(n[3])
for i in range(100):
    c += -b
    if c <= 0:
        print("Yes")
        break
    a += -d
    if d <= 0:
        print("No")
        break

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
n = input().split(" ")
a = int(n[0])
b = int(n[1])
c = int(n[2])
d = int(n[3])
for i in range(100):
    c += -b
    if c <= 0:
        print("Yes")
        break
    a += -d
    if a <= 0:
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B,C,D=map(int,input().split())

while(C>0 and A>0):
    C=C-B
    if(C==0):
        print("Yes")
        break
    A=A-D
    if(A==0):
        print("No")
        break


Failing test case input:
5 14 3 8

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
a,b,c,d = (int(x) for x in input().split())
 
while(True):
    c-=b
    if(c <= 0):
        print("Yes")
        break
    a-=d
    if(a <= 0):
        print("No")
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
data = input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
d = int(data[3])


while True:
    
    if a <= 0:
        print("No")
        break
    elif c <= 0:
        print("Yes")
        break
    a -= d
    c -= b

Failing test case input:
5 14 3 8

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
data = input().split()
a = int(data[0])
b = int(data[1])
c = int(data[2])
d = int(data[3])


while True:
    
    if c <= 0:
        print("Yes")
        break
    elif a <= 0:
        print("No")
        break
    a -= d
    c -= b

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())


while a>0:

    c = c - b
    if c <= 0:
        print("Yes")
        break

    
    a = a- d
    if a <=0:
        print("NO")
        break

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
NO


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())


while a>0:

    c = c - b
    if c <= 0:
        print("Yes")
        break

    
    a = a- d
    if a <= 0:
        print("No")
        break
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys
a,b,c,d = map(int,input().split())
t_1 = a
t_2 = a%d
a_1 = c
a_2 = c%b
print(t_1,t_2,a_1,a_2)
if t_1>a_1:
  print('No')
  sys.exit()
elif  t_1<a_1:
  print('Yes')
  sys.exit()
elif t_2 < a_2:
  print('No')
  sys.exit()
elif t_2 > a_2:
  print('Yes')
  sys.exit()
else:
  print('Yes')

Failing test case input:
54 8 2 5

Expected output:
Yes


Actual output:
54 4 2 2
No


Fixed submission (verdict: Accepted):
import sys
a,b,c,d = map(int,input().split())
a_life = c-b
t_life = a-d
if a_life<=0:
  print('Yes')
  sys.exit()
elif t_life<=0:
  print('No')
  sys.exit()


while(a_life>0 or t_life>0):
  a_life -= b
  if a_life<=0:
    print('Yes')
    sys.exit()
  t_life -= d
  if t_life<=0:
    print('No')
    sys.exit()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
arg = input()
a = int((arg.split())[0])
b = int((arg.split())[1])
c = int((arg.split())[2])
d = int((arg.split())[3])

while True:
    a -= d
    if a <= 0:
        print('No')
        break
    c -= b
    if c <= 0:
        print('yes')
        break

Failing test case input:
5 9 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
arg = input()
a = int((arg.split())[0])
b = int((arg.split())[1])
c = int((arg.split())[2])
d = int((arg.split())[3])

while True:
    c -= b
    if c <= 0:
        print('Yes')
        break
    a -= d
    if a <= 0:
        print('No')
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a , b , c , d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)

a_hp = a
b_hp = c

result = ""
while True :
	b_hp-= b
	if b_hp <= 0 :
		result ="Yse"
		break
		
	a_hp -= d
	if a_hp <= 0 :
		result = "No"
		break
print(result)

Failing test case input:
289 14 0 2

Expected output:
Yes


Actual output:
Yse


Fixed submission (verdict: Accepted):
a , b , c , d = input().split()
a = int(a)
b = int(b)
c = int(c)
d = int(d)

a_hp = a
b_hp = c

result = ""
while True :
	b_hp -= b
	if b_hp <= 0 :
		result ="Yes"
		break
		
	a_hp -= d
	if a_hp <= 0 :
		result = "No"
		break
print(result)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def main():
    A, B, C, D = map(int, input().split())
    while True:
        C -= B
        if C < 0:
            print("No")
            return 0
        A -= D
        if A < 0:
            print("Yes")
            return 0

    return 0

if __name__ == '__main__':
    main()

Failing test case input:
364 11 0 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def main():
    A, B, C, D = map(int, input().split())
    while True:
        C -= B
        if C <= 0:
            print("Yes")
            return 0
        A -= D
        if A <= 0:
            print("No")
            return 0

    return 0

if __name__ == '__main__':
    main()
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

takahashi = 0
aoki = 0

while A > 0:
  A = A - D
  takahashi += 1

while C > 0:
  C = C - B
  aoki += 1

print(takahashi)
print(aoki)

if aoki <= takahashi:
  print("Yes")
else:
  print("No")

Failing test case input:
364 7 0 3

Expected output:
Yes


Actual output:
122
0
Yes


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

takahashi = 0
aoki = 0

while A > 0:
  A = A - D
  takahashi += 1

while C > 0:
  C = C - B
  aoki += 1




if aoki <= takahashi:
  print("Yes")
else:
  print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
    n+=1
if c-b*n<=a-d*n:
    print('Yes')
else:
    print('No')

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
    n+=1
if c-b*n<=0:
    print('Yes')
else:
    print('No')

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

while (1):
        if C <= 0:
                break
        A -= D
        if A <= 0:
                break
        C -= B
if 0 < A:
        print("Yes")
else:
        print("No")

Failing test case input:
6 9 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

while (1):
        C -= B
        if C <= 0:
                break
        A -= D
        if A <= 0:
                break

if 0 < A:
        print("Yes")
else:
        print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split(" "))
while True:
  c -= b
  if c <= 0:
    print("yes")
    exit()
  a -= d
  if a <= 0:
    print("yes")
    exit()


Failing test case input:
33 6 0 5

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split(" "))
while True:
  c -= b
  if c <= 0:
    print("Yes")
    exit()
  a -= d
  if a <= 0:
    print("No")
    exit()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
TaHP,TaAP,AoHP,AoAP = map(int, input().split())

Flag_Ta = True

while( TaHP > 0 or AoHP > 0):


	if	Flag_Ta:
		AoHP = AoHP - TaAP
		Flag_Ta = False
	else:
		TaHP = TaHP - AoAP
		Flag_Ta = True
if TaHP > 0:
	print("Yes")
else:
	print("No")
	
	

Failing test case input:
79 6 0 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
TaHP,TaAP,AoHP,AoAP = map(int, input().split())

Flag_Ta = True
Flag_end = True
while Flag_end:
	if(TaHP <= 0 or AoHP <= 0):
  		break
	if	Flag_Ta:
		AoHP = AoHP - TaAP
		Flag_Ta = False
	else:
		TaHP = TaHP - AoAP
		Flag_Ta = True
if TaHP > 0:
	print("Yes")
else:
	print("No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = list(map(int, input().split()))
Cn = C - B
An = A - D

while (Cn > 0) and (An > 0):
    Cn = Cn - B
    if Cn > 0:
        An = An - D
    else:
        break

if An > 0:
    print('Yes')
else:
    print('No')

Failing test case input:
10 9 9 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = list(map(int, input().split()))

while (C > 0) and (A > 0):
    C = C - B
    if C > 0:
        A = A - D
    else:
        break

if A > 0:
    print('Yes')
else:
    print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
hT, sT, hA, sA = map(int, input().split())
win = ''
while True:
    hA = hA-sT
    if hA <= 0:
        win = 'yes'
        break
    hT = hT - sA
    if hT <= 0:
        win = 'no'
        break
print(win)

Failing test case input:
263 20 0 3

Expected output:
Yes


Actual output:
yes


Fixed submission (verdict: Accepted):
hT, sT, hA, sA = map(int, input().split())
win = ''
while True:
    hA = hA-sT
    if hA <= 0:
        win = 'Yes'
        break
    hT = hT - sA
    if hT <= 0:
        win = 'No'
        break
print(win)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d=map(int,input().split())

for i in range(1000) :
    a=a-d
    if a>0:
        c=c-b
        if c>0:
            continue
        else: 
            print('Yes')
            break
    else: 
        print('No')
        break


Failing test case input:
6 7 0 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d=map(int,input().split())

for i in range(1000) :
    c=c-b
    if c>0:
        a=a-d
        if a>0:
            continue
        else: 
            print('No')
            break
    else: 
        print('Yes')
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D=map(int,input().split())

HP_T=A
HP_A=C

for i in range(1,102):
    if i%2==1:
        HP_A -= B
    else:
        HP_T -= D

    if HP_A<=0:
        print('No')
        exit()
    elif HP_T<=0:
        print('Yes')
        exit()
    else:
        pass

Failing test case input:
139 8 2 17

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D=map(int,input().split())

HP_T=A
HP_A=C

for i in range(1,1000):
    if i%2==1:
        HP_A -= B
    else:
        HP_T -= D

    if HP_A<=0:
        print('Yes')
        exit()
    elif HP_T<=0:
        print('No')
        exit()
    else:
        pass

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())

while a > 0 or c > 0:
    c -= b
    a -= d
    if a <= 0:
        print('No')
        exit()
    elif c <= 0:
        print('Yes')
        exit()

Failing test case input:
7 7 1 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())

while a > 0 or c > 0:
    c -= b
    if c <= 0:
        print('Yes')
        exit()
    a -= d
    if a <= 0:
        print('No')
        exit()
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a = list(map(int,input().split()))
t1 = a[0]
t2 = a[1]
a1 = a[2]
a2 = a[3]

if a1%t2 == 0:
  if a1/t2 < t1/a2+1:
    print("Yes")
  else:
    print("No")
else:
  if a1/t2 < t1/a2:
    print("Yes")
  else:
    print("No")

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a = list(map(int,input().split()))
t1 = a[0]
t2 = a[1]
a1 = a[2]
a2 = a[3]

if a1%t2 == 0:
  if a1/t2 < t1/a2+1:
    print("Yes")
  else:
    print("No")
else:
  if a1/t2 < t1/a2:
    print("Yes")
  elif (a1
    print("Yes")
  elif (a1
    print("No")
  else:
    print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
x = input()
taka_hp = int(x.split()[0])
taka_attack = int(x.split()[1])
ao_hp = int(x.split()[2])
ao_attack = int(x.split()[3])

while (taka_hp > 0 and ao_hp > 0):
    ao_hp = ao_hp - taka_attack
    taka_hp = taka_hp - ao_attack
else:
    if taka_hp == 0:
      print("No")
    elif ao_hp == 0:
      print("Yes")



Failing test case input:
223 8 6 17

Expected output:
Yes


Actual output:

Fixed submission (verdict: Accepted):
x = input()
taka_hp = int(x.split()[0])
taka_attack = int(x.split()[1])
ao_hp = int(x.split()[2])
ao_attack = int(x.split()[3])

while (taka_hp > 0 and ao_hp > 0):
    ao_hp = ao_hp - taka_attack
    taka_hp = taka_hp - ao_attack
else:
    if ao_hp <= 0:
      print("Yes")
    elif taka_hp <= 0:
      print("No")

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a, b, c, d = list(map(int, input().split()))
turn = 0
while a > 0 or c > 0:
    if turn%2==0:
        c -= b
    else:
        a -= d
    turn+=1
if a <= 0:
    print('No')
else:
    print('Yes')

Failing test case input:
79 6 1 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c, d = list(map(int, input().split()))
turn = 0

while a > 0 and c > 0:
    if turn%2==0:
        c -= b
    else:
        a -= d
    turn+=1
if a <= 0:
    print('No')
else:
    print('Yes')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
for i in(0,100):
	healthOfA=healthOfA-strengthOfT
	if healthOfA<0:
		a=i
		break
for p in(0,100):
	healthOfT=healthOfT-strengthOfA
	if healthOfT<0:
		break
if p<i:
	print("No")
else:
	print("Yes")

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
import math

numbers = ["0"]*4
numbers = input().split(" ")
healthOfT = int(numbers[0])
strengthOfT = int(numbers[1])
healthOfA = int(numbers[2])
strengthOfA = int(numbers[3])
times_T_win = math.ceil(healthOfA/strengthOfT)
times_A_win = math.ceil(healthOfT/strengthOfA)
if times_T_win <= times_A_win:
	print("Yes")
else:
	print("No")
Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
X = list(map(int,input().split()))

A = X[0]
B = X[1]
C = X[2]
D = X[3]


n = 0
while C>0:
  C = C-B
  n += 1

m = 0
while A>0:
  A -= D
  m += 1
print(n,m)
if n<=m:
  print("Yes")
else:
  print("No")



Failing test case input:
280 20 0 3

Expected output:
Yes


Actual output:
0 94
Yes


Fixed submission (verdict: Accepted):
X = list(map(int,input().split()))

A = X[0]
B = X[1]
C = X[2]
D = X[3]


n = 0
while C>0:
  C = C-B
  n += 1

m = 0
while A>0:
  A = A-D
  m += 1

if n<=m:
  print("Yes")
else:
  print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
monsterAHP, monsterAAttack, monsterBHP, monsterBAttack = map(int, input().split(' '))
turnA = monsterBHP / monsterAAttack
modA = monsterBHP % monsterAAttack
turnB = monsterAHP / monsterBAttack
modB = monsterAHP % monsterBAttack

if(modA != 0):
  turnA = turnA + 1
  
if(modB != 0):
  turnB = turnB + 1

if(turnA > turnB):
  print('No')
else:
  print('Yes')

Failing test case input:
10 9 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
monsterAHP, monsterAAttack, monsterBHP, monsterBAttack = map(int, input().split(' '))
turnA = int(monsterBHP / monsterAAttack)
modA = monsterBHP % monsterAAttack
turnB = int(monsterAHP / monsterBAttack)
modB = monsterAHP % monsterBAttack

if(modA != 0):
  turnA = turnA + 1
  
if(modB != 0):
  turnB = turnB + 1

if(turnA > turnB):
  print('No')
else:
  print('Yes')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D=map(int,input().split())
while C>1 or A>1:
  C-=B
  A-=D
  if C<=0:
    print("Yes")
  elif A<=0:
    print("No")
 

Failing test case input:
79 1 1 10

Expected output:
Yes


Actual output:
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes


Fixed submission (verdict: Accepted):
A,B,C,D=map(int,input().split())
while C>0 or A>0:
  C-=B
  if C<=0:
    print("Yes")
    break
  A-=D
  if A<=0:
    print("No")
    break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys

inp=input().split(" ")
thp=int(inp[0])
tat=int(inp[1])
ahp=int(inp[2])
aat=int(inp[3])

for i in range(100):
  ahp-=tat
  if ahp<=0:
    print("Yes")
    sys.exit()
  thp-=aat
  if thp<=0:
    print("Yes")
    sys.exit()

Failing test case input:
34 4 40 5

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
import sys

inp=input().split(" ")
thp=int(inp[0])
tat=int(inp[1])
ahp=int(inp[2])
aat=int(inp[3])

for i in range(100):
  ahp-=tat
  if ahp<=0:
    print("Yes")
    sys.exit()
  thp-=aat
  if thp<=0:
    print("No")
    sys.exit()
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = [int(v) for v in input().split()]

t_flag = True

while True:
    if A < 0:
        t_flag = True
        break

    C -= B

    if C < 0:
        t_flag = False
        break

    A -= D

if t_flag:
    print("Yes")
else:
    print("No")


Failing test case input:
309 8 1 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D = [int(v) for v in input().split()]

t_flag = True

while True:
    if A <= 0:
        t_flag = False
        break

    C -= B

    if C <= 0:
        t_flag = True
        break

    A -= D

if t_flag:
    print("Yes")
else:
    print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
s = [input() for i in range(1)] 
li = list(map(int, s[0].split()))
t = li[0]
a = li[2]
for i in range(0,100):
    if i % 2 == 0:
        a = li[2] - li[1]
        if a <= 0:
            print("Yes")
            break
    if i % 2 == 1:
        t = li[0] - li[3]
        if t <= 0:
            print("No")
            break


Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:

Fixed submission (verdict: Accepted):
s = [input() for i in range(1)] 
li = list(map(int, s[0].split()))
for i in range(0,1000):
    if i % 2 == 0:
        li[2] = li[2] - li[1]
        if li[2] <= 0:
            print("Yes")
            break
    else:
        li[0] = li[0] - li[3]
        if li[0] <= 0:
            print("No")
            break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    A -=B
    C -=D
    if A <= 0:
        S = 1
        print("Yes")
    elif C <= 0:
        S = 1
        print("No")
    else:
        continue

Failing test case input:
364 4 -1 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D = map(int, input().split())
S = 0
while S != 1:
    C = C - B
    A = A - D
    if C <= 0:
        S = 1
        print("Yes")
    elif A <= 0:
        S = 1
        print("No")
    else:
        continue

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import math
a,b,c,d = map(int,input().split())
print("Yes" if math.ceil(c/b) >= math.ceil(d/a) else "No")


Failing test case input:
5 14 3 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
a,b,c,d = map(int,input().split())
print("Yes" if math.ceil(c/b) <= math.ceil(a/d) else "No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
th,ta,ah,aa = map(int,input().split())
cnt_t = 0
cnt_a = 0

while ah >= 0:
    ah = ah - ta
    cnt_t += 1

while th >= 0:
    th = th - aa
    cnt_a += 1

if cnt_t > cnt_a or cnt_t == cnt_a:
    print("Yes")
else:
    print("No")

Failing test case input:
91 8 1 10

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
th,ta,ah,aa = map(int,input().split())
cnt_t = 0
cnt_a = 0

for i in range(100):
    ah = ah - ta
    if ah <= 0:
        print("Yes")
        break
    else:
        th = th - aa
        if th <= 0:
            print("No")
            break
Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
while a>=0 and b>=0:
  a-=d
  b-=c

if a == 0 and c==0:
  print('Yes')
elif d == 0:
  print('Yes')
else:
  print('No')

Failing test case input:
153 14 0 1

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a,b,c,d = map(int,input().split())
while a>0 and b>0:
  a-=d
  c-=b

if a <= 0 and c<=0:
  print('Yes')
elif c <= 0:
  print('Yes')
else:
  print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int, input().split())
while True:
    C = C - B

    if C <= 0:
        print("YES")
        exit()
    A = A - D

    if A <= 0:
        print("NO")
        exit()

Failing test case input:
117 8 1 17

Expected output:
Yes


Actual output:
YES


Fixed submission (verdict: Accepted):
A,B,C,D = map(int, input().split())
while True:
    C = C - B

    if C <= 0:
        print("Yes")
        exit()
    A = A - D

    if A <= 0:
        print("No")
        exit()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())

taka = 0
aoki = 0

while True:
    if A < 0:break
    A -= B
    taka += 1

while True:
    if C < 0:break
    C -= D
    aoki += 1

if taka > aoki:
    print("Yes")
else:
    print("No")

Failing test case input:
7 13 0 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A,B,C,D = map(int,input().split())

taka = 0
aoki = 0

while True:
    if A <= 0:break
    A -= D
    taka += 1

while True:
    if C <= 0:break
    C -= B
    aoki += 1

if taka >= aoki:
    print("Yes")
else:
    print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())
E = C
F = A
if E > F:
  print('Yes')
else:
  print('No')

Failing test case input:
54 8 4 3

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
A,B,C,D = map(int,input().split())
E = math.ceil(A/D)
F = math.ceil(C/B)
if E >= F:
  print('Yes')
else:
  print('No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())

while a > 0:
    c -= b
    a -= d
    if c <= 0:
        print('Yes')
        break
if a <= 0:
    print('No')

Failing test case input:
46 4 40 5

Expected output:
Yes

Actual output:
Yes
No


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())

while a > 0:
    c -= b
    a -= d
    if c <= 0:
        print('Yes')
        break
if c > 0:
    print('No')
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())

Takahashi = [T_HP,T_Atk]
Asakura = [A_HP,A_Atk]

    
while True:    
    Asakura[0] -= Takahashi[1]
    if Asakura[0] < 0:
        print("Yes")
        exit()
    
    
    Takahashi[0] -= Asakura[1]
    if Takahashi[0] < 0:
        print("No")
        exit()


Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())

Takahashi = [T_HP,T_Atk]
Asakura = [A_HP,A_Atk]

    
while True:    
    Asakura[0] -= Takahashi[1]
    if Asakura[0] < 1:
        print("Yes")
        exit()
    
    
    Takahashi[0] -= Asakura[1]
    if Takahashi[0] < 1:
        print("No")
        exit()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())
print(a,b,c,d)
while (a >0 or c >0):
    c = c - b
    if (c < 1):
        break
    a = a - d
    if (a < 1):
        break
    print(a,b,c,d)
print('Yes' if (c < 1 ) else 'No')

Failing test case input:
263 20 0 3

Expected output:
Yes


Actual output:
263 20 0 3
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())
while (a >0 or c >0):
    c = c - b
    if (c < 1):
        break
    a = a - d
    if (a < 1):
        break
print('Yes' if (c < 1 ) else 'No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
S_list = list(map(int,input().split()))
A,B,C,D = S_list
takahashi ,aoki = A, C
while takahashi > 0 or aoki > 0:
    aoki = aoki - B
    if aoki <=0:
        break
    takahashi = takahashi - D
    
if takahashi > aoki:
    result = "Yes"
else:
    result = "No"
print(result)

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
S_list = list(map(int,input().split()))
A,B,C,D = S_list
takahashi ,aoki = A, C
while takahashi > 0 or aoki > 0:
    aoki = aoki - B
    if aoki <=0 :
        break
    takahashi = takahashi - D
    if takahashi <=0:
        break
        
if takahashi > aoki:
    result = "Yes"
else:
    result = "No"
print(result)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

while True:
    C -= B
    if C <= 0:
        print("Yes")
        exit()
    A -= D
    if A < 0:
        print("No")
        exit()

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

while True:
    C -= B
    if C <= 0:
        print("Yes")
        exit()
    A -= D
    if A <= 0:
        print("No")
        exit()
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A,B,C,D = map(int,input().split())




while True:
    C -= B
    if C <= 0:
        print('YES')
        break
    A -= D
    if A <= 0:
        print('NO')
        break

Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
NO


Fixed submission (verdict: Accepted):
A,B,C,D = map(int,input().split())




while True:
    C -= B
    if C <= 0:
        print('Yes')
        break
    A -= D
    if A <= 0:
        print('No')
        break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = list(map(int, input().rstrip().split()))

i = 0
result = None

while not result:
    if i % 2 == 0:
        d = d - b
        if d <= 0:
            result = 'Yes'
    else:
        a = a - c
        if a <= 0:
            result = 'No'

print(result)



Failing test case input:
10 9 10 10

Expected output:
No

Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = list(map(int, input().rstrip().split()))

i = 0
result = None

while not result:
    if i % 2 == 0:
        c = c - b
        if c <= 0:
            result = 'Yes'
    else:
        a = a - d
        if a <= 0:
            result = 'No'

    i = i + 1

print(result)

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
A, B, C, D = map(int, input().split())

ct = 0
for _ in range(100000):
  C -= A
  ct += 1
  
  if C <= 0:
    break
  
ca = 0
for _ in range(100000):
  A -= D
  ca += 1
  
  if A <= 0:
    break
    
print('No' if ct == ca else 'Yes')

Failing test case input:
5 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
A, B, C, D = map(int, input().split())

is_tkhs = True
for _ in range(100000):
  if is_tkhs:
    C -= B
  else:
    A -= D
    
  is_tkhs = not (is_tkhs)
    
  if C <= 0 or A <= 0:
    break
      
print('No' if A <= 0 else 'Yes')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a,b,c,d = map(int,input().split())
if a/b >= c/d:
    print('No')
else:
    print('Yes')

Failing test case input:
214 8 4 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math
a,b,c,d = map(int,input().split())
t_a = math.ceil(c/b)
if a-d*(t_a-1) <= 0:
    print('No')
else:
    print('Yes')

Problem: p02700
Buggy submission (PyPy3 (7.3.0), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())
while a > 0 and b > 0: c -= b; a -= d
print('Yes' if c == 0 else 'No')

Failing test case input:
350 8 4 7

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())
while a > 0 and b > 0: c -= b; a -= d
print('Yes' if c <= 0 else 'No')

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = list(map(int, input().split())) 
 
x = int((a+d-1)/d)
y = int((c+b-1)/b)
 
print("Yes" if a >= b else "No")



Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = list(map(int, input().split())) 
x = int((a+d-1)/d)
y = int((c+b-1)/b)
print("Yes" if x >= y  else "No")
Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
import sys 
import math
try:
	sys.stdin = open('input.txt', 'r') 
	sys.stdout = open('output.txt', 'w')
except:
	pass
input = sys.stdin.readline
for tt in range(1):
	a,b,c,d = map(int,input().split())
	if math.ceil(a/d)==1 and math.ceil(c/b) != 1:
		print("No")
	elif math.ceil(c/b)-1 <= math.ceil(a/d):
		print ("Yes")
	else:
		print("No")
	

Failing test case input:
7 7 0 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import sys 
import math
try:
	sys.stdin = open('input.txt', 'r') 
	sys.stdout = open('output.txt', 'w')
except:
	pass
input = sys.stdin.readline
for tt in range(1):
	a,b,c,d = map(int,input().split())
	if math.ceil(c/b) - math.ceil(a/d)<= 0:
		print ("Yes")
	else:
		print("No")

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
a, b, c, d = map(int, input().split())
while True:
  c = c - b
  if c < 0:
    print("Yes")
    break
  a = a - d
  if a < 0:
    print("No")
    break

Failing test case input:
10 9 13 10

Expected output:
No


Actual output:
Yes


Fixed submission (verdict: Accepted):
a, b, c, d = map(int, input().split())
while True:
  c = c - b
  if c <= 0:
    print("Yes")
    break
  a = a - d
  if a <= 0:
    print("No")
    break

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
def inputlist():
    return [int(i) for i in input().split()]


def main():
    A, B, C, D = inputlist()
    boolTurnTaka = True
    while A > 0 and C > 0:
        if boolTurnTaka:
            A -= D
            boolTurnTaka = False
        else:
            C -= B
            boolTurnTaka = True

    if A <= 0:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':
    main()


Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
def inputlist():
    return [int(i) for i in input().split()]


def main():
    A, B, C, D = inputlist()
    boolTurnTaka = True
    while A > 0 and C > 0:
        if boolTurnTaka:
            C -= B
            boolTurnTaka = False
        else:
            A -= D
            boolTurnTaka = True

    if A <= 0:
        print("No")
    else:
        print("Yes")


if __name__ == '__main__':
    main()

Problem: p02700
Buggy submission (Python (3.8.2), verdict: Wrong Answer):
As,Aa,Bs,Ba = map(int,input().split())
Na = Bs
Nb = As

if Na <= Nb:
  print('Yes')
else:
  print('No')

Failing test case input:
2 14 3 12

Expected output:
Yes


Actual output:
No


Fixed submission (verdict: Accepted):
import math

As,Aa,Bs,Ba = map(int,input().split())
Na = math.ceil(Bs/Aa)
Nb = math.ceil(As/Ba)
 
if Na <= Nb:
  print('Yes')
else:
  print('No')