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 |
|---|---|---|---|---|---|---|---|
p02700 | a, b, c, d = map(int, input().split())
while True:
c-=b
if c <= 0:
print('No')
break
a-=d
if a <= 0:
print('Yes')
break | 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 | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,532 | 451,533 | u588048170 | python |
p02700 | a, b, c, d = map(int, input().split())
while True:
a-=d
if a <= 0:
print('Yes')
break
c-=b
if c <= 0:
print('No')
break | 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 | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,534 | 451,533 | u588048170 | python |
p02700 | if __name__ == "__main__":
a,b,c,d=map(int,input().strip().split())
jishu1=0
jishu2=0
while True:
a=a-d
jishu1+=1
if a<=0:
break
while True:
c=c-b
jishu2+=1
if a<=0:
break
if jishu1<jishu2:
print("No")
else:
... | if __name__ == "__main__":
a,b,c,d=map(int,input().strip().split())
jishu1=0
jishu2=0
while True:
a=a-d
jishu1+=1
if a<=0:
break
while True:
c=c-b
jishu2+=1
if c<=0:
break
if jishu1<jishu2:
print("No")
else:
... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,538 | 451,539 | u290259714 | python |
p02700 | if __name__ == "__main__":
a,b,c,d=map(int,input().strip().split())
jishu1=0
jishu2=0
while True:
a=a-d
jishu1+=1
if a<=0:
break
while True:
c=c-b
jishu2+=1
if a<=0:
break
if jishu1<=jishu2:
print("No")
else:
... | if __name__ == "__main__":
a,b,c,d=map(int,input().strip().split())
jishu1=0
jishu2=0
while True:
a=a-d
jishu1+=1
if a<=0:
break
while True:
c=c-b
jishu2+=1
if c<=0:
break
if jishu1<jishu2:
print("No")
else:
... | [
"identifier.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 451,540 | 451,539 | u290259714 | python |
p02700 | ht, st, ha, sa = list(map(int, input().split(' ')))
bool_player = True # Takashi
while (ht > 0 or ha > 0):
if bool_player:
ha -= st
bool_player = False
else:
ht -= sa
bool_player = True
if ht <= 0:
print('No')
else:
print('Yes')
| ht, st, ha, sa = list(map(int, input().split(' ')))
bool_player = True # Takashi
while (ht > 0 and ha > 0):
if bool_player:
ha -= st
bool_player = False
else:
ht -= sa
bool_player = True
if ht <= 0:
print('No')
else:
print('Yes')
| [
"control_flow.loop.condition.change"
] | 451,543 | 451,544 | u327896646 | python |
p02700 | ht, st, ha, sa = list(map(int, input().split(' ')))
bool_player = True # Takashi
while (ht == 0 or st == 0):
if bool_player:
ha -= st
bool_player = False
else:
ht -= sa
bool_player = True
if ht <= 0:
print('No')
else:
print('Yes')
| ht, st, ha, sa = list(map(int, input().split(' ')))
bool_player = True # Takashi
while (ht > 0 and ha > 0):
if bool_player:
ha -= st
bool_player = False
else:
ht -= sa
bool_player = True
if ht <= 0:
print('No')
else:
print('Yes')
| [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 451,546 | 451,544 | u327896646 | python |
p02700 | A,B,C,D = map(int, input().split())
a = C//B
b = A//D
if C%B != 0:
a = a + 1
elif A%D != 0:
b = b + 1
if a < b:
print("Yes")
else:
print("No")
| A,B,C,D = map(int, input().split())
a = C//B
b = A//D
if C%B != 0:
a = a + 1
if A%D != 0:
b = b + 1
if a <= b:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,551 | 451,552 | u118760114 | python |
p02700 | A,B,C,D = map(int, input().split())
a = C//B
b = A//D
if C%B != 0:
a = a + 1
elif A%D != 0:
b = b + 1
if a <= b:
print("Yes")
else:
print("No")
| A,B,C,D = map(int, input().split())
a = C//B
b = A//D
if C%B != 0:
a = a + 1
if A%D != 0:
b = b + 1
if a <= b:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.replace.add",
"control_flow.branch.else_if.replace.remove"
] | 451,553 | 451,552 | u118760114 | python |
p02700 | A, B, C, D = map(int, input().split())
while(True):
if C-B <= 0:
print("yes")
break
C -= B
if A-D <= 0:
print("no")
break
A -= D
| A, B, C, D = map(int, input().split())
# h, p
# A, B
# C, D
while(True):
if C-B <= 0:
print("Yes")
break
C -= B
if A-D <= 0:
print("No")
break
A -= D
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,571 | 451,572 | u693529954 | python |
p02700 | ABCD=input()
ABCD=ABCD.split()
A=int(ABCD[0])
B=int(ABCD[1])
C=int(ABCD[2])
D=int(ABCD[3])
while(1):
C=C-B
if(C<=0):
print('No')
break
A=A-D
if(A<=0):
print('Yes')
break
|
ABCD=input()
ABCD=ABCD.split()
A=int(ABCD[0])
B=int(ABCD[1])
C=int(ABCD[2])
D=int(ABCD[3])
while(1):
C=C-B
if(C<=0):
print('Yes')
break
A=A-D
if(A<=0):
print('No')
break
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,577 | 451,578 | u538296348 | python |
p02700 | ABCD=input()
ABCD=ABCD.split()
A=int(ABCD[0])
B=int(ABCD[1])
C=int(ABCD[2])
D=int(ABCD[3])
while(1):
C=C-B
#print(C)
if(C<0):
print('No')
break
A=A-D
#print(A)
if(A<0):
print('Yes')
break
|
ABCD=input()
ABCD=ABCD.split()
A=int(ABCD[0])
B=int(ABCD[1])
C=int(ABCD[2])
D=int(ABCD[3])
while(1):
C=C-B
if(C<=0):
print('Yes')
break
A=A-D
if(A<=0):
print('No')
break
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,579 | 451,578 | u538296348 | python |
p02700 | a,b,c,d=map(int,input().split())
while a > 0:
c=c-b
if c<=0:
print('Yes')
break
if a-d<=0:
print('No')
break
| 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
| [
"assignment.variable.change",
"control_flow.branch.if.add"
] | 451,583 | 451,584 | u362031378 | python |
p02700 | A, B, C, D = list(map(int, input().split()))
while A > 0 and C > 0:
C = C - B
A = A - D
if A > C:
print("Yes")
else:
print("No")
| A, B, C, D = list(map(int, input().split()))
while A > 0 and C > 0:
C = C - B
A = A - D
if C<= 0:
print("Yes")
else:
print("No")
| [
"control_flow.branch.if.condition.change"
] | 451,585 | 451,586 | u996150140 | python |
p02700 | A, B, C, D = list(map(int, input().split()))
while A > 0 and C > 0:
C = C - B
A = A - D
if A > B:
print("Yes")
else:
print("No")
| A, B, C, D = list(map(int, input().split()))
while A > 0 and C > 0:
C = C - B
A = A - D
if C<= 0:
print("Yes")
else:
print("No")
| [] | 451,588 | 451,586 | u996150140 | python |
p02700 | import sys
A,B,C,D = map(int,input().split())
while True:
C = C - B
if C <= 0:
print('Yes')
sys.exit()
A = A - D
if A <= 0:
print('no')
sys.exit() | import sys
A,B,C,D = map(int,input().split())
while True:
C = C - B
if C <= 0:
print('Yes')
sys.exit()
A = A - D
if A <= 0:
print('No')
sys.exit() | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,613 | 451,614 | u400982556 | python |
p02700 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
A, B, C, D = map(int, input().split())
while True:
C -= B
if C <= 0:
result = "No"
break
A -= D
if A <= 0:
result = "Yes"
break
print(result)
if __name__ == "__main_... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
A, B, C, D = map(int, input().split())
while True:
C -= B
if C <= 0:
result = "Yes"
break
A -= D
if A <= 0:
result = "No"
break
print(result)
if __name__ == "__main_... | [
"literal.string.change",
"assignment.value.change"
] | 451,629 | 451,630 | u143212659 | python |
p02700 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
A, B, C, D = map(int, input().split())
while True:
A -= D
if A <= 0:
result = "Yes"
break
C -= B
if C <= 0:
result = "No"
break
print(result)
if __name__ == "__main__... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
def main():
A, B, C, D = map(int, input().split())
while True:
C -= B
if C <= 0:
result = "Yes"
break
A -= D
if A <= 0:
result = "No"
break
print(result)
if __name__ == "__main_... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,631 | 451,630 | u143212659 | python |
p02700 | 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("No")
else:
print("Yes") | 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") | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,639 | 451,640 | u050641473 | python |
p02700 | A,B,C,D = map(int, input().split())
while True:
C -= B
if C<=0:
print("Yes")
break
if C>0:
A -= D
if A<=0:
print("No")
break
i += 1 | A,B,C,D = map(int, input().split())
i = 0
while True:
C -= B
if C<=0:
print("Yes")
break
if C>0:
A -= D
if A<=0:
print("No")
break
i += 1 | [
"assignment.add"
] | 451,645 | 451,646 | u014958112 | python |
p02700 | import math
a, b, c, d = map(int, input().split())
if math.ceil(a/d) + 1 >= math.ceil(c/b) :
print('Yes')
else:
print('No')
| import math
a, b, c, d = map(int, input().split())
if math.ceil(a/d) + 1 > math.ceil(c/b) :
print('Yes')
else:
print('No')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,660 | 451,661 | u004482945 | python |
p02700 | import math
a, b, c, d = map(int, input().split())
if math.ceil(a//d) + 1 >= math.ceil(c//b) :
print('Yes')
else:
print('No')
| import math
a, b, c, d = map(int, input().split())
if math.ceil(a/d) + 1 > math.ceil(c/b) :
print('Yes')
else:
print('No')
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 451,662 | 451,661 | u004482945 | python |
p02700 | 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
| 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
| [] | 451,667 | 451,668 | u304099294 | python |
p02700 | l = [int(x) for x in input().split()]
A, B, C, D = l[0], l[1], l[2], l[3]
takahashi = C//B
if C%B > 0:
takahashi+=1
aoki = A//D
if A%D>0:
aoki+=1
if aoki > takahashi:
print('Yes')
else:
print('No') | l = [int(x) for x in input().split()]
A, B, C, D = l[0], l[1], l[2], l[3]
takahashi = C//B
if C%B > 0:
takahashi+=1
aoki = A//D
if A%D>0:
aoki+=1
if aoki >= takahashi:
print('Yes')
else:
print('No') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,669 | 451,670 | u597626771 | python |
p02700 | import math
a,b,c,d=map(int,input().split())
print('Yes' if math.floor(a/d)<math.floor(c/b) else 'No') | import math
a,b,c,d=map(int,input().split())
print('Yes' if math.ceil(a/d)>math.ceil(c/b)-1 else 'No') | [
"misc.opposites",
"identifier.change",
"call.arguments.change",
"io.output.change",
"expression.operator.compare.change"
] | 451,687 | 451,688 | u480264129 | python |
p02700 | a,b,c,d = map(int,input().split())
while True:
c -= b
if d <= 0:
print("Yes")
break
a -= d
if a <= 0:
print("No")
break
| 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
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,693 | 451,694 | u463630127 | python |
p02700 | A,B,C,D = map(int,input().split())
taka = -(-D//B)
aoki = -(-A//C)
if taka > aoki:
print("No")
else:
print("Yes") | A,B,C,D = map(int,input().split())
taka = -(-C//B)
aoki = -(-A//D)
if taka > aoki:
print("No")
else:
print("Yes")
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 451,696 | 451,697 | u648212584 | python |
p02700 |
a, b, c, d = [0] * 4
def format_input(filename = None):
global a, b, c, d
if filename == None:
a, b, c, d = list(map(int, input().split()))
elif filename == '__random__':
from random import randint as rng
a = rng(1, 10**1)
b = rng(1, 10**1)
c = rng(1, 10**1)
d = rng(1, 10**1)
print(a, b, c, d)
def... |
a, b, c, d = [0] * 4
def format_input(filename = None):
global a, b, c, d
if filename == None:
a, b, c, d = list(map(int, input().split()))
elif filename == '__random__':
from random import randint as rng
a = rng(1, 10**1)
b = rng(1, 10**1)
c = rng(1, 10**1)
d = rng(1, 10**1)
print(a, b, c, d)
def... | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,712 | 451,713 | u294375415 | python |
p02700 | a,b,c,d = map(int,input().split())
while a>0 or c>0 :
c = c-b
if c==0:
print('Yes')
break
else :
a = a-d
if a==0:
print('No')
break
else:
continue | a,b,c,d = map(int,input().split())
while a>0 or c>0 :
c = c-b
if c<=0:
print('Yes')
break
else:
a = a-d
if a<=0:
print('No')
break
else:
continue | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,721 | 451,722 | u262244504 | python |
p02700 | """def power(x, y):
res = 1
x=x
while (y > 0):
if ((y & 1) == 1) :
res = (res * x)
y = y >> 1
x = (x * x)
return res"""
"""def fact(n):
if(n==0):
return 1
if(n==1):
return 1
return fact(n-1)+fact(n-2)"""
import math
#import combinatio... | """def power(x, y):
res = 1
x=x
while (y > 0):
if ((y & 1) == 1) :
res = (res * x)
y = y >> 1
x = (x * x)
return res"""
"""def fact(n):
if(n==0):
return 1
if(n==1):
return 1
return fact(n-1)+fact(n-2)"""
import math
#import combinati... | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 451,752 | 451,753 | u434505864 | python |
p02700 | A, B, C, D = list(map(int, input().split()))
a_count = A // D + (1 if A % D else 0)
t_count = C // B + (1 if C % B else 0)
ans = 'No' if t_count <= a_count else 'Yes'
# print(t_count, a_count)
print(ans)
| A, B, C, D = list(map(int, input().split()))
t_count = A // D + (1 if A % D else 0)
a_count = C // B + (1 if C % B else 0)
ans = 'No' if t_count < a_count else 'Yes'
# print(t_count, a_count)
print(ans)
| [
"assignment.variable.change",
"identifier.change",
"expression.operator.compare.change",
"assignment.value.change"
] | 451,758 | 451,759 | u840155763 | python |
p02700 | A, B, C, D = list(map(int, input().split()))
a_count = A // D + (1 if A % D else 0)
t_count = C // B + (1 if C % B else 0)
ans = 'No' if t_count < a_count else 'Yes'
# print(t_count, a_count)
print(ans)
| A, B, C, D = list(map(int, input().split()))
t_count = A // D + (1 if A % D else 0)
a_count = C // B + (1 if C % B else 0)
ans = 'No' if t_count < a_count else 'Yes'
# print(t_count, a_count)
print(ans)
| [
"assignment.variable.change",
"identifier.change"
] | 451,760 | 451,759 | u840155763 | python |
p02700 | A, B, C, D = map(int, input().split())
if C % B == 0:
takahashi_attack = C / B
else:
takahashi_attack = C / B + 1
if A % D == 0:
aoki_attack = A / D
else:
aoki_attack = A / D + 1
if takahashi_attack > aoki_attack:
print('No')
else:
print('Yes')
| A, B, C, D = map(int, input().split())
if C % B == 0:
takahashi_attack = C // B
else:
takahashi_attack = C // B + 1
if A % D == 0:
aoki_attack = A // D
else:
aoki_attack = A // D + 1
if takahashi_attack > aoki_attack:
print('No')
else:
print('Yes')
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 451,765 | 451,766 | u666476759 | python |
p02700 | A, B, C, D = map(int, input().split())
x = 0
while A > 0 or C > 0:
if x % 2 == 0:
C -= B
x += 1
else:
A -= D
x += 1
if C <= 0:
print('Yes')
else:
print('No')
| A, B, C, D = map(int, input().split())
x = 0
while A > 0 and C > 0:
if x % 2 == 0:
C -= B
x += 1
else:
A -= D
x += 1
if C <= 0:
print('Yes')
else:
print('No')
| [
"control_flow.loop.condition.change"
] | 451,776 | 451,777 | u139216357 | python |
p02700 | # -*- coding: utf-8 -*-
a, b, c, d = map(int, input().split())
if a % d == 0:
taka = a / d
else:
taka = a / d + 1
if c % b == 0:
aoki = c / b
else:
aoki = c / b + 1
if taka >= aoki:
print("Yes")
else:
print("No") | # -*- coding: utf-8 -*-
a, b, c, d = map(int, input().split())
if a % d == 0:
taka = a // d
else:
taka = a // d + 1
if c % b == 0:
aoki = c // b
else:
aoki = c // b + 1
if taka >= aoki:
print("Yes")
else:
print("No") | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 451,785 | 451,786 | u164471280 | python |
p02700 | a, b, c, d = map(int, input().split())
while True:
a -= d
if a <= 0:
print("Yes")
break
else:
c -= b
if c <= 0:
print("No")
break
| a, b, c, d = map(int, input().split())
while True:
c -= b
if c <= 0:
print("Yes")
break
else:
a -= d
if a <= 0:
print("No")
break
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,806 | 451,807 | u955135274 | python |
p02700 | A,B,C,D = list(map(int,input().split()))
count1 = 0
count2 = 0
while A > 0:
A -= D
count1 += 1
while C > 0:
C -= B
count2 += 1
if count1 < count2:
print("NO")
else:
print("Yes") | A,B,C,D = list(map(int,input().split()))
count1 = 0
count2 = 0
while A > 0:
A -= D
count1 += 1
while C > 0:
C -= B
count2 += 1
if count1 < count2:
print("No")
else:
print("Yes") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,810 | 451,811 | u096294926 | python |
p02700 | A, B, C, D = map(lambda x: int(x), input().split())
while true:
C -= B
if C < 1:
print('Yes')
break
A -= D
if A < 1:
print('No') | A, B, C, D = map(lambda x: int(x), input().split())
while True:
C -= B
if C < 1:
print('Yes')
break
A -= D
if A < 1:
print('No')
break | [
"misc.typo",
"control_flow.loop.condition.change",
"control_flow.break.add"
] | 451,831 | 451,832 | u090068671 | python |
p02700 | A, B, C, D = [int(x) for x in input().split()]
while(1):
if A > 0:
C = C - B
if C <= 0:
print('yes')
break
if C > 0:
A = A - D
if A <= 0:
print('No')
break | A, B, C, D = [int(x) for x in input().split()]
while(1):
if A > 0:
C = C - B
if C <= 0:
print('Yes')
break
if C > 0:
A = A - D
if A <= 0:
print('No')
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,833 | 451,834 | u703345769 | python |
p02700 | a , b , c , d = input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
while True:
c -= b
if c < 0:
print('Yes')
break
a -= d
if a < 0:
print('No')
break
| a , b , c , d = input().split()
a=int(a)
b=int(b)
c=int(c)
d=int(d)
while True:
c -= b
if c <= 0:
print('Yes')
break
a -= d
if a <= 0:
print('No')
break
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,841 | 451,842 | u001207097 | python |
p02700 | a,b,c,d = map(int,input().split())
if c%b>0:
x=c//b+1
else:
x=c//b
if a%d>0:
y=a//d+1
else:
y=a//d
print(x,y)
print('Yes' if x<=y else 'No') | a,b,c,d = map(int,input().split())
if c%b>0:
x=c//b+1
else:
x=c//b
if a%d>0:
y=a//d+1
else:
y=a//d
print('Yes' if x<=y else 'No') | [
"call.remove"
] | 451,853 | 451,854 | u521866787 | python |
p02700 | h1,s1,h2,s2=map(int,input().split())
while True:
h2 -= s1
if h2 <= s1:
print('Yes')
break
h1-=s2
if h1<=0:
print('No')
break | h1,s1,h2,s2=map(int,input().split())
while True:
h2 -= s1
if h2 <= 0:
print('Yes')
break
h1-=s2
if h1<=0:
print('No')
break
| [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change"
] | 451,872 | 451,873 | u402299963 | python |
p02700 | a,b,c,d = map(int, input().split(" "))
tao = a // d
ttk = c // b
if a%d == 0:
tao -=1
if c%b == 0:
ttk -=1
print(tao,ttk)
if tao >= ttk:
print("Yes")
else:
print("No") | a,b,c,d = map(int, input().split(" "))
tao = a // d
ttk = c // b
if a%d == 0:
tao -=1
if c%b == 0:
ttk -=1
if tao >= ttk:
print("Yes")
else:
print("No") | [
"call.remove"
] | 451,876 | 451,877 | u474561976 | python |
p02700 | a, b, c, d = map(int,input().split())
if (a - 1) / d + 1 >= (c - 1) / b + 1 :
print("Yes")
else : print("No") | a, b, c, d = map(int,input().split())
if (a - 1) // d + 1 >= (c - 1) // b + 1 :
print("Yes")
else : print("No")
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 451,881 | 451,882 | u525106896 | python |
p02700 | def ceiling(a, b):
return (a + b - 1) / a
a, b, c, d = map(int, input().split())
if(ceiling(c, b) <= ceiling(a, d)): print('Yes')
else: print('No')
| def ceiling(a, b):
return int((a + b - 1) / b)
a, b, c, d = map(int, input().split())
if(ceiling(c, b) <= ceiling(a, d)): print('Yes')
else: print('No')
| [
"call.add",
"identifier.change",
"function.return_value.change",
"expression.operation.binary.change",
"call.arguments.change"
] | 451,894 | 451,895 | u669432519 | python |
p02700 | 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()
| 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() | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,923 | 451,924 | u505181116 | python |
p02700 | def main():
t, t_a, a, a_a = list(map(int, input().split()))
while True:
a = a - t_a
if a <= 0:
print('No')
exit()
t = t - a_a
if t <= 0:
print('Yes')
exit()
if __name__ == '__main__':
main() | def main():
t, t_a, a, a_a = list(map(int, input().split()))
while True:
a = a - t_a
if a <= 0:
print('Yes')
exit()
t = t - a_a
if t <= 0:
print('No')
exit()
if __name__ == '__main__':
main() | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,965 | 451,966 | u755180064 | python |
p02700 | def main():
t, t_a, a, a_a = list(map(int, input().split()))
while True:
a = a - t_a
if a < 0:
print('No')
exit()
t = t - a_a
if t < 0:
print('Yes')
exit()
if __name__ == '__main__':
main() | def main():
t, t_a, a, a_a = list(map(int, input().split()))
while True:
a = a - t_a
if a <= 0:
print('Yes')
exit()
t = t - a_a
if t <= 0:
print('No')
exit()
if __name__ == '__main__':
main() | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,967 | 451,966 | u755180064 | python |
p02700 | 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") | 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 | [
"control_flow.break.add"
] | 451,974 | 451,975 | u218506594 | python |
p02700 | A,B,C,D = map(int,input().split())
state = "Yes"
while 1:
C -= B
if C <= 0:
break
A -= D
if D <= 0:
state = "No"
break
print(state) | A,B,C,D = map(int,input().split())
state = "Yes"
while 1:
C -= B
if C <= 0:
break
A -= D
if A <= 0:
state = "No"
break
print(state) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,980 | 451,981 | u328858746 | python |
p02700 | A,B,C,D = map(int,input().split())
state = "Yes"
while 1:
C -= B
if C <= 0:
break
D -= A
if D <= 0:
state = "No"
break
print(state) | A,B,C,D = map(int,input().split())
state = "Yes"
while 1:
C -= B
if C <= 0:
break
A -= D
if A <= 0:
state = "No"
break
print(state) | [
"control_flow.branch.if.add"
] | 451,982 | 451,981 | u328858746 | python |
p02700 | a, b, c, d = map(int, input().split())
print('Yes' if int(c / b + 1) <= int(a / d + 1) else 'No') | a, b, c, d = map(int, input().split())
print('Yes' if int(c / b + 0.9999) <= int(a / d + 0.9999) else 'No') | [
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 451,983 | 451,984 | u651109406 | python |
p02700 | a,b,c,d = map(int,input().split())
import math
if math.ceil(c/b)>=math.ceil(a/d):
print('Yes')
else:
print('None') | a,b,c,d = map(int,input().split())
import math
if math.ceil(c/b)<=math.ceil(a/d):
print('Yes')
else:
print('No') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,994 | 451,995 | u750234326 | python |
p02700 | a,b,c,d = map(int,input().split())
count1 = 0
count2 = 0
while c>0:
c=c-b
count1+=1
while a>0:
a=a-d
count2+=1
if count1 < count2:
print('No')
else:
print('Yes') | a,b,c,d = map(int,input().split())
count1 = 0
count2 = 0
while c>0:
c=c-b
count1+=1
while a>0:
a=a-d
count2+=1
if count1>count2:
print('No')
else:
print('Yes') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,998 | 451,999 | u678505520 | python |
p02700 |
A,B,C,D=map(int,input().split())
taka=C//B
if taka%B!=0:
taka=taka+1
aoki=A//D
if aoki%D!=0:
aoki=aoki+1
if taka <= aoki:
print("No")
else:
print("Yes")
|
A,B,C,D=map(int,input().split())
taka=C//B
if C%B!=0:
taka=taka+1
aoki=A//D
if A%D!=0:
aoki=aoki+1
if taka <= aoki:
print("Yes")
else:
print("No")
| [
"identifier.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 452,005 | 452,006 | u111652094 | python |
p02700 | A, B, C, D = map(int, input().split())
print('Yes' if -(-D//B) <= -(-A//C) else 'No') | A, B, C, D = map(int, input().split())
print('Yes' if -(-C//B) <= -(-A//D) else 'No') | [
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"io.output.change"
] | 452,012 | 452,013 | u415905784 | python |
p02700 | a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//b)
if tak<=aoki:
print('No')
else:
print('Yes') | a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//b)
if tak<aoki:
print('No')
else:
print('Yes') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,030 | 452,031 | u586212264 | python |
p02700 | a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//d)
if tak<aoki:
print('No')
else:
print('Yes') | a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//b)
if tak<aoki:
print('No')
else:
print('Yes') | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 452,032 | 452,031 | u586212264 | python |
p02700 | a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//d)
if tak<=aoki:
print('No')
else:
print('Yes') | a,b,c,d=map(int,input().split())
tak=-(-a//d)
aoki=-(-c//b)
if tak<aoki:
print('No')
else:
print('Yes') | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,033 | 452,031 | u586212264 | python |
p02700 | a,b,c,d=list(map(int,input().split(" ")))
if c%b==0:
taro=c//b
else:
taro=c//b+1
if a%d==0:
sasaki=a//d
else:
sasaki=a//d+1
if taro<=sasaki:
print("yes")
else:
print("No") | a,b,c,d=list(map(int,input().split(" ")))
if c%b==0:
taro=c//b
else:
taro=c//b+1
if a%d==0:
sasaki=a//d
else:
sasaki=a//d+1
if taro<=sasaki:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 452,047 | 452,048 | u437351386 | python |
p02700 | #!python3
# input
A, B, C, D = list(map(int, input().split()))
def main():
a = A // D if A % D == 0 else A // D + 1
b = C // B if C % B == 0 else C // B + 1
ans = "No" if a < b else "Yes"
print(a, b)
print(ans)
if __name__ == "__main__":
main()
| #!python3
# input
A, B, C, D = list(map(int, input().split()))
def main():
a = A // D if A % D == 0 else A // D + 1
b = C // B if C % B == 0 else C // B + 1
ans = "No" if a < b else "Yes"
print(ans)
if __name__ == "__main__":
main()
| [
"call.remove"
] | 452,056 | 452,057 | u671861352 | python |
p02700 | N = input().split(" ")
TL = int(N[0])
TA = int(N[1])
AL = int(N[2])
AA = int(N[3])
a = 0
while a == 0:
AL = AL - TA
if AL <= 0:
a = 1
break
TA = TA - AA
if TA <= 0:
a = 2
break
if a == 1:
print("Yes")
if a == 2:
print("No") | N = input().split(" ")
TL = int(N[0])
TA = int(N[1])
AL = int(N[2])
AA = int(N[3])
a = 0
while a == 0:
AL = AL - TA
if AL <= 0:
a = 1
break
TL = TL - AA
if TL <= 0:
a = 2
break
if a == 1:
print("Yes")
elif a == 2:
print("No")
| [
"assignment.variable.change",
"identifier.change",
"assignment.value.change",
"expression.operation.binary.change",
"control_flow.branch.if.condition.change",
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 452,067 | 452,066 | u935089856 | python |
p02700 | import math
A, B, C, D = input().split()
if math.ceil(int(C)*1.0/(int(B)*1.0)) >= math.ceil(int(A)*1.0/(int(D)*1.0)):
print("Yes")
else:
print("No") | import math
A, B, C, D = input().split()
if math.ceil(int(C)*1.0/(int(B)*1.0)) <= math.ceil(int(A)*1.0/(int(D)*1.0)):
print("Yes")
else:
print("No") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,072 | 452,073 | u866700524 | python |
p02700 | a, b, c, d = map(int,input().split())
if -(-c // b) >= -(-a // d):
print('Yes')
else:
print('No')
| a, b, c, d = map(int,input().split())
if -(-c // b) <= -(-a // d):
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,077 | 452,078 | u984989720 | python |
p02700 | 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)... | 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(turn... | [
"call.add",
"call.arguments.change"
] | 452,116 | 452,117 | u210545407 | python |
p02700 | a,b,c,d=map(int,input().split())
taka=c+(b-1)//b
ao=a+(d-1)//d
if taka<=ao:
print("Yes")
else:
print("No") | a,b,c,d=map(int,input().split())
taka=(c+(b-1))//b
ao=(a+(d-1))//d
if taka<=ao:
print("Yes")
else:
print("No") | [] | 452,118 | 452,119 | u032222383 | python |
p02700 | a, b, c, d = map(int, input().split())
aoki = c
takahashi = a
for i in range(101):
if aoki - b > 0:
if takahashi - d <= 0: #高橋負け
print("No")
break
else: #戦闘続く
takahashi = takahashi - d
aoki = aoki - c
continue
else: #高橋勝ち
print("Yes")
break | a, b, c, d = map(int, input().split())
aoki = c
takahashi = a
for i in range(101):
if aoki - b > 0: #高橋の攻撃
if takahashi - d <= 0: #青木の攻撃で高橋負け
print("No")
break
else: #戦闘続く
takahashi = takahashi - d
aoki = aoki - b
continue
else: #高橋勝ち
print("Yes")
break | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 452,150 | 452,151 | u153823221 | python |
p02700 |
a,b,c,d = map(int,input().split())
while(a>0 and c>0):
a-=d
c-=b
if c<=0:
print("Yes")
if a<=0:
print("No") | a,b,c,d = map(int,input().split())
while(a>0 and c>0):
a-=d
c-=b
if c<=0:
print("Yes")
elif a<=0:
print("No") | [
"control_flow.branch.if.replace.remove",
"control_flow.branch.else_if.replace.add"
] | 452,206 | 452,207 | u093861603 | python |
p02700 | a, b ,c, d = map(int, input().split())
while (a > 0) and (c > 0):
a = a - d
c = c - b
if c <= 0:
print("yes")
elif a <= 0:
print("no") | a, b ,c, d = map(int, input().split())
while (a > 0) and (c > 0):
a = a - d
c = c - b
if c <= 0:
print("Yes")
elif a <= 0:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 452,208 | 452,209 | u225003503 | python |
p02700 | A, B, C, D = map(int, input().split())
takahashi_count = (int)(C/B)
aoki_count = (int)(A/D)
if C % B != 0 :
takahashi_count += 1
if A % D != 0:
aoki_count += 1
if takahashi_count >= aoki_count:
print("Yes")
else:
print("No") | A, B, C, D = map(int, input().split())
takahashi_count = (int)(C/B)
aoki_count = (int)(A/D)
if C % B != 0 :
takahashi_count += 1
if A % D != 0:
aoki_count += 1
if takahashi_count <= aoki_count:
print("Yes")
else:
print("No") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,224 | 452,225 | u707712609 | python |
p02700 | A,B,C,D=map(int,input().split())
m=A//D
if A%C!=0:
m+=1
n=C//B
if C%B!=0:
n+=1
if m>n:
print('Yes')
else:
print('No') | A,B,C,D=map(int,input().split())
m=A//D
if A%D!=0:
m+=1
n=C//B
if C%B!=0:
n+=1
if m>=n:
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 452,226 | 452,227 | u939581910 | python |
p02700 | A,B,C,D=map(int,input().split())
m=A//D
if A%C!=0:
m+=1
n=C//B
if C%B!=0:
n+=1
if m>=n:
print('Yes')
else:
print('No') | A,B,C,D=map(int,input().split())
m=A//D
if A%D!=0:
m+=1
n=C//B
if C%B!=0:
n+=1
if m>=n:
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 452,228 | 452,227 | u939581910 | python |
p02700 | 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()
| 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()
| [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 452,237 | 452,238 | u195355592 | python |
p02700 |
a, b, c, d = map(int, input().split())
attack_num_t = 0
attack_num_a = 0
if a % d != 0:
attack_num_a = a //d
else:
attack_num_a = a// d + 1
if c % b != 0:
attack_num_t = c // b
else:
attack_num_t = c // b + 1
if attack_num_t >= attack_num_a:
print("Yes")
else:
print("No") |
a, b, c, d = map(int, input().split())
attack_num_t = 0
attack_num_a = 0
if a % d == 0:
attack_num_a = a // d
else:
attack_num_a = a // d + 1
if c % b == 0:
attack_num_t = c // b
else:
attack_num_t = c // b + 1
if attack_num_t <= attack_num_a:
print("Yes")
else:
print("No")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,251 | 452,252 | u167360450 | python |
p02700 | import sys
import collections
import math
stdin = sys.stdin
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))
a,b,c,d = nm()
ao=math.floor(a/d)
su=math.floor(c/b)
if(ao<su):
pri... | import sys
import collections
import math
stdin = sys.stdin
ns = lambda: stdin.readline().rstrip()
ni = lambda: int(stdin.readline().rstrip())
nm = lambda: map(int, stdin.readline().split())
nl = lambda: list(map(int, stdin.readline().split()))
a,b,c,d = nm()
ao=math.ceil(a/d)
su=math.ceil(c/b)
if(ao<su):
print... | [
"misc.opposites",
"assignment.value.change",
"identifier.change"
] | 452,257 | 452,258 | u308289897 | python |
p02700 | A_s,B_s,C_s,D_s=input().split()
A=int(A_s)
B=int(B_s)
C=int(C_s)
D=int(D_s)
ansA=C/B
ansC=A/D
if C%B!=0:
ansA=ansA+1
if A%D!=0:
ansC=ansC+1
if ansA<=ansC:
print("Yes")
else:
print("No") | A_s,B_s,C_s,D_s=input().split()
A=int(A_s)
B=int(B_s)
C=int(C_s)
D=int(D_s)
ansA=int(C/B)
ansC=int(A/D)
if C%B!=0:
ansA=ansA+1
if A%D!=0:
ansC=ansC+1
if ansA<=ansC:
print("Yes")
else:
print("No") | [
"call.add",
"call.arguments.change"
] | 452,259 | 452,260 | u953020348 | python |
p02700 | a,b,c,d = map(int,input().split())
taka = (int(c/b)) + (1 if c%b != 0 else 0)
aoki = (int(a/d)) + (1 if a%d != 0 else 0)
if taka >= aoki:
print('Yes')
else:
print('No') | a,b,c,d = map(int,input().split())
taka = (int(c/b)) + (1 if c%b != 0 else 0)
aoki = (int(a/d)) + (1 if a%d != 0 else 0)
if taka <= aoki:
print('Yes')
else:
print('No') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,282 | 452,283 | u741612283 | python |
p02700 | a,b,c,d = map(int, input().split())
print(["No","Yes"][a//d + (a%d > 0) >= b//c + (b%c > 0)]) | a,b,c,d = map(int, input().split())
print(["No","Yes"][a//d + (a%d > 0) >= c//b + (c%b > 0)]) | [
"expression.operation.binary.remove"
] | 452,290 | 452,291 | u289036437 | python |
p02700 | a, b, c, d = map(int, input().split())
done = "no"
while True:
c -= b
if c <= 0:
done = "yes"
break
a -= d
if a <= 0:
break
print(done)
| a, b, c, d = map(int, input().split())
done = "No"
while True:
c -= b
if c <= 0:
done = "Yes"
break
a -= d
if a <= 0:
break
print(done)
| [
"literal.string.change",
"literal.string.case.change",
"assignment.value.change"
] | 452,296 | 452,297 | u252479680 | python |
p02700 | a,b,c,d=map(int,input().split())
acount=0
ccount=0
while 0<=a:
acount+=1
a-=d
while 0<=c:
ccount+=1
c-=b
#print(acount,ccount)
if acount>=ccount:
print("No")
else:
print("Yes") | a,b,c,d=map(int,input().split())
acount=0
ccount=0
while 0<a:
acount+=1
a-=d
while 0<c:
ccount+=1
c-=b
#print(acount,ccount)
if acount<ccount:
print("No")
else:
print("Yes") | [
"expression.operator.compare.change",
"control_flow.loop.condition.change",
"control_flow.branch.if.condition.change"
] | 452,300 | 452,301 | u375695365 | python |
p02700 | A, B, C, D = map(int, input().split(' '))
i = 1
while (A > 0 and C >0):
if i% 2 ==1:
C = C - B
else:
A = A- D
i += 1
if C == 0:
print('Yes')
else:
print('No')
| A, B, C, D = map(int, input().split(' '))
i = 1
while (A > 0 and C >0):
if i% 2 ==1:
C = C - B
else:
A = A- D
i += 1
if C <= 0:
print('Yes')
else:
print('No')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,302 | 452,303 | u012955130 | python |
p02700 | a,b,c,d = map(int,input().split())
while True:
a -=c
c -=b
if c <= 0:
print('No')
break
elif a <= 0:
print('Yes')
break | a,b,c,d = map(int,input().split())
while True:
a -=d
c -=b
if c <= 0:
print('Yes')
break
elif a <= 0:
print('No')
break | [
"identifier.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 452,323 | 452,324 | u487044452 | python |
p02700 | 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() | 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() | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 452,329 | 452,330 | u568576853 | python |
p02700 | import math
input_str = input()
a, b, c, d = map(int, input_str.split())
print("yes" if math.ceil(c/b) <= math.ceil(a/d) else "no")
| import math
input_str = input()
a, b, c, d = map(int, input_str.split())
print("Yes" if math.ceil(c/b) <= math.ceil(a/d) else "No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 452,348 | 452,349 | u752500421 | python |
p02700 | A, B, C, D = map(int, input().split())
counter = 1
while A > 0 and C > 0:
if counter % 2 == 1:
'''T 攻击'''
C -= B
elif counter % 2 == 0:
A -= D
if A <= 0:
print('No')
else:
print('Yes') | A, B, C, D = map(int, input().split())
counter = 1
while A > 0 and C > 0:
if counter % 2 == 1:
'''T 攻击'''
C -= B
elif counter % 2 == 0:
A -= D
counter += 1
if A <= 0:
print('No')
else:
print('Yes') | [] | 452,370 | 452,371 | u439802561 | python |
p02700 | ta, td, aa, ad = map(int, input().split())
which = -1
while td > 0 and ad > 0:
if which == -1:
ad -= ta
else:
td -= aa
which *= -1
if ad <= 0:
print("Yes")
else:
print("No") | td, ta, ad, aa = map(int, input().split())
which = -1
while td > 0 and ad > 0:
if which == -1:
ad -= ta
else:
td -= aa
which *= -1
if ad <= 0:
print("Yes")
else:
print("No") | [
"assignment.variable.change",
"identifier.change"
] | 452,393 | 452,394 | u652892331 | python |
p02700 | A, B, C, D = map(int, input().split())
turn = "t"
while(A > 0 and C > 0):
if turn == "t":
C -= B
turn = "a"
else:
A -= D
turn = "t"
print(A, C)
if A <= 0:
print("No")
elif C <= 0:
print("Yes") | A, B, C, D = map(int, input().split())
turn = "t"
while(A > 0 and C > 0):
if turn == "t":
C -= B
turn = "a"
else:
A -= D
turn = "t"
if A <= 0:
print("No")
elif C <= 0:
print("Yes") | [
"call.remove"
] | 452,397 | 452,398 | u318024671 | python |
p02700 | 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")
| 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")
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"assignment.value.change"
] | 452,399 | 452,400 | u811202694 | python |
p02700 | a,b,c,d=map(int,input().split())
while a>=0 and c>=0:
a-=d
c-=b
if a<=0 and c>0:
print("No")
else:
print("Yes") | a,b,c,d=map(int,input().split())
while a>0 and c>0:
a-=d
c-=b
if a<=0 and c>0:
print("No")
else:
print("Yes") | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 452,413 | 452,414 | u747220349 | python |
p02700 | A, B, C, D = (int(x) for x in input().split())
while A >= 0:
C = C-B
if C <= 0:
print("Yes")
quit()
else:
A = A-D
print("No") | A, B, C, D = (int(x) for x in input().split())
while A > 0:
C = C-B
if C <= 0:
print("Yes")
quit()
else:
A = A-D
print("No") | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 452,421 | 452,422 | u508164527 | python |
p02700 | import math
A, B, C, D = map(int, input().split())
print('Yse' if math.ceil(C/B) <= math.ceil(A/D) else 'No') | import math
A, B, C, D = map(int, input().split())
print('Yes' if math.ceil(C/B) <= math.ceil(A/D) else 'No') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 452,433 | 452,434 | u185948224 | python |
p02700 | def retm(a,b):
if a%b>0:
return 1
else:
return 0
ta,th,aa,ah=map(int,input().split())
if int(ah/ta)+retm(ah,ta)<=int(th/aa)+retm(th,aa):
print("Yes")
else:
print("No") | def retm(a,b):
if a%b>0:
return 1
else:
return 0
th,ta,ah,aa=map(int,input().split())
if int(ah/ta)+retm(ah,ta)<=int(th/aa)+retm(th,aa):
print("Yes")
else:
print("No") | [
"assignment.variable.change",
"identifier.change"
] | 452,442 | 452,443 | u699252226 | python |
p02700 | a, b, c, d = map(int, input().split())
for i in range(1001):
if i % 2 == 0:
c -= b
if c <= 0:
print("Yes")
break
elif i % 2 == 1:
a -= d
if a <= 0:
print("NO")
break | a, b, c, d = map(int, input().split())
for i in range(1001):
if i % 2 == 0:
c -= b
if c <= 0:
print("Yes")
break
elif i % 2 == 1:
a -= d
if a <= 0:
print("No")
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 452,446 | 452,447 | u386089355 | python |
p02700 | a, b, c, d = map(int, input().split())
for i in range(101):
if i % 2 == 0:
c -= b
if c <= 0:
print("Yes")
break
elif i % 2 == 1:
a -= d
if a <= 0:
print("NO")
break | a, b, c, d = map(int, input().split())
for i in range(1001):
if i % 2 == 0:
c -= b
if c <= 0:
print("Yes")
break
elif i % 2 == 1:
a -= d
if a <= 0:
print("No")
break | [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 452,448 | 452,447 | u386089355 | python |
p02700 | import sys
a, b, c, d = map(int, input().split())
while a > 0:
c = c - b
if c < 0:
print('Yes')
sys.exit()
a = a - d
print('No') | import sys
a, b, c, d = map(int, input().split())
while a > 0:
c = c - b
if c <= 0:
print('Yes')
sys.exit()
a = a - d
print('No') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,451 | 452,452 | u357867755 | python |
p02700 | 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') | 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') | [
"control_flow.loop.condition.change"
] | 452,461 | 452,462 | u299791633 | python |
p02700 | A, B, C, D = map(int,input().split())
i = 1
while i > 0:
C -= B
A -= D
if (C <= 0 and A > 0) or (C <= 0 and A <= 0):
print('Yes')
break
else:
print('No')
break | A, B, C, D = map(int,input().split())
i = 1
while i > 0:
C -= B
A -= D
if (C <= 0 and A > 0) or (C <= 0 and A <= 0):
print('Yes')
break
elif A <= 0:
print('No')
break | [
"control_flow.branch.if.condition.change"
] | 452,475 | 452,476 | u874333466 | python |
p02700 | A, B, C, D = map(int,input().split())
i = 1
while i > 0:
C -= B
A -= B
if (C <= 0 and A > 0) or (C <= 0 and A <= 0):
print('Yes')
break
else:
print('No')
break | A, B, C, D = map(int,input().split())
i = 1
while i > 0:
C -= B
A -= D
if (C <= 0 and A > 0) or (C <= 0 and A <= 0):
print('Yes')
break
elif A <= 0:
print('No')
break | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 452,477 | 452,476 | u874333466 | python |
p02700 | A,B,C,D = map(int,input().split())
a = (A + C - 1) // D
b = (C + B - 1) // B
if a >= b :
print("Yes")
else:
print("No") | A,B,C,D = map(int,input().split())
a = (A + D - 1) // D
b = (C + B - 1) // B
if a >= b :
print("Yes")
else:
print("No") | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 452,500 | 452,501 | u498620941 | python |
p02700 | a, b, c, d = map(int, input().split())
takahashi = a//d if a%d ==0 else a//d+1
aoki = c//b if c//b ==0 else a//d+1
if takahashi >= aoki :
print("Yes")
else:
print("No") | a, b, c, d = map(int, input().split())
takahashi = a//d if a%d ==0 else a//d+1
aoki = c//b if c%b ==0 else c//b+1
if takahashi >= aoki :
print("Yes")
else:
print("No") | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"identifier.change"
] | 452,510 | 452,511 | u111473084 | python |
p02700 | # -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline
from collections import defaultdict
from heapq imp... | # -*- coding: utf-8 -*-
import sys
import math
from bisect import bisect_left
from bisect import bisect_right
import collections
import copy
import heapq
from collections import defaultdict
from heapq import heappop, heappush
import itertools
input = sys.stdin.readline
from collections import defaultdict
from heapq imp... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 452,516 | 452,517 | u448994613 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.