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 | th,td,ah,ad = map(int,input().split())
x,y = (td+ah-1)//ah,(ad+th-1)//th
if(x<=y):print("Yes")
else:print("No")
| th,td,ah,ad = map(int,input().split())
x,y = (td+ah-1)//td,(ad+th-1)//ad
if(x<=y):print("Yes")
else:print("No")
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change"
] | 450,727 | 450,728 | u240608977 | python |
p02700 | a, b, c, d = [int(s) for s in input().split(" ")]
while(True):
c -= b
if c <= 0:
print("Yes")
break
a -= d
if c <= 0:
print("No")
break | a, b, c, d = [int(s) for s in 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"
] | 450,732 | 450,733 | u111282258 | python |
p02700 | A,B,C,D = map(int,input().split())
if -A//D >= -C//B :
print('Yes')
else:
print('No')
| A,B,C,D = map(int,input().split())
if -(-A//D) >= -(-C//B) :
print('Yes')
else:
print('No')
| [
"control_flow.branch.if.condition.change"
] | 450,734 | 450,735 | u758973277 | python |
p02700 | a,b,c,d=map(int,input().split())
while not(a<=0 or c<=0):
a=a-d
c=c-b
if a<=0 and c<=0:
print("yes\n")
elif a<=0:
print("no\n")
else:
print("yes\n") | a,b,c,d=map(int,input().split())
while not(a<=0 or c<=0):
a=a-d
c=c-b
if a<=0 and c<=0:
print("Yes\n")
elif a<=0:
print("No\n")
else:
print("Yes\n") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,740 | 450,741 | u163353866 | python |
p02700 | from sys import stdin
import math
def main():
_in = [_.rstrip() for _ in stdin.readlines()]
A, B, C, D = list(map(int,_in[0].split(' '))) # type:list(int)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
HP_takahashi = A
HP_aoki = C
while HP_takahashi-D > 0 or HP_aoki-B > 0:
HP_a... | from sys import stdin
import math
def main():
_in = [_.rstrip() for _ in stdin.readlines()]
A, B, C, D = list(map(int,_in[0].split(' '))) # type:list(int)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
HP_takahashi = A
HP_aoki = C
while HP_takahashi-D > 0 or HP_aoki-B > 0:
HP_a... | [
"expression.operation.binary.remove"
] | 450,752 | 450,753 | u503227287 | python |
p02700 | from sys import stdin
import math
def main():
_in = [_.rstrip() for _ in stdin.readlines()]
A, B, C, D = list(map(int,_in[0].split(' '))) # type:list(int)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
HP_takahashi = A
HP_aoki = C
while HP_takahashi-D > 0 or HP_aoki-B > 0:
HP_a... | from sys import stdin
import math
def main():
_in = [_.rstrip() for _ in stdin.readlines()]
A, B, C, D = list(map(int,_in[0].split(' '))) # type:list(int)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
HP_takahashi = A
HP_aoki = C
while HP_takahashi-D > 0 or HP_aoki-B > 0:
HP_a... | [
"expression.operation.binary.remove"
] | 450,754 | 450,753 | u503227287 | python |
p02700 | from sys import stdin
import math
def main():
_in = [_.rstrip() for _ in stdin.readlines()]
A, B, C, D = list(map(int,_in[0].split(' '))) # type:list(int)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
HP_takahashi = A
HP_aoki = C
while HP_takahashi-D > 0 or HP_aoki-B > 0:
HP_a... | from sys import stdin
import math
def main():
_in = [_.rstrip() for _ in stdin.readlines()]
A, B, C, D = list(map(int,_in[0].split(' '))) # type:list(int)
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
HP_takahashi = A
HP_aoki = C
while HP_takahashi-D > 0 or HP_aoki-B > 0:
HP_a... | [
"expression.operator.compare.change",
"assignment.value.change",
"expression.operation.binary.remove"
] | 450,755 | 450,753 | u503227287 | python |
p02700 | a,b,c,d=map(int,input().split())
taka=c/b
ao=a/d
taka=taka if taka==c//b else taka+1
ao=ao if ao==a//d else ao+1
print("Yes" if taka<=ao else "No") | a,b,c,d=map(int,input().split())
taka=c/b
ao=a/d
taka=taka if taka==c//b else int(taka)+1
ao=ao if ao==a//d else int(ao)+1
print("Yes" if taka<=ao else "No") | [
"call.add",
"call.arguments.change"
] | 450,756 | 450,757 | u705007443 | python |
p02700 | 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")
| 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") | [
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 450,764 | 450,765 | u604269317 | python |
p02700 | A,B,C,D = map(int,input().split())
while True:
A = A - D
C = C - B
if C <= 0:
print('Yes')
break
if A <= 0:
print('No')
| A,B,C,D = map(int,input().split())
while True:
A = A - D
C = C - B
if C <= 0:
print('Yes')
break
if A <= 0:
print('No')
break
| [
"control_flow.break.add"
] | 450,774 | 450,775 | u854780853 | python |
p02700 | A,B,C,D = map(int,input().split())
while True:
A = A - D
C = C - B
if C-B <= 0:
print('Yes')
break
if A-D <= 0:
print('No')
| A,B,C,D = map(int,input().split())
while True:
A = A - D
C = C - B
if C <= 0:
print('Yes')
break
if A <= 0:
print('No')
break
| [
"expression.operation.binary.remove",
"control_flow.break.add"
] | 450,776 | 450,775 | u854780853 | python |
p02700 | a, b, c, d = map(int, input().split())
while True:
c = c - b
if(c <= 0):
print("YES")
break
else:
a = 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
else:
a = a - d
if (a <= 0):
print("No")
break
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,807 | 450,808 | u059487235 | python |
p02700 | h1_init,a_t,h2_init,a_a = list(map(int, input().split()))
h1=h1_init
h2=h2_init
while h1>=0 or h2>=0:
h2=h2-a_t
if h2<=0:
print("yes")
break
h1=h1-a_a
if h1<=0 :
print("no")
break | h1_init,a_t,h2_init,a_a = list(map(int, input().split()))
h1=h1_init
h2=h2_init
while h1>=0 or h2>=0:
h2=h2-a_t
if h2<=0:
print("Yes")
break
h1=h1-a_a
if h1<=0 :
print("No")
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,809 | 450,810 | u602128502 | 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") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,832 | 450,833 | u740284863 | python |
p02700 | a,b,c,d = map(int,input().split())
if -int(-c / b) > -int(-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") | [
"control_flow.branch.if.condition.change",
"expression.operator.compare.change",
"expression.operator.arithmetic.change"
] | 450,834 | 450,833 | u740284863 | python |
p02700 |
[a,b,c,d] = list(map(int, input().strip().split()))
x = (a+d-1)//d
y = (b+c-1)//b
if x >= y:
print("yes")
else:
print("no") |
[a,b,c,d] = list(map(int, input().strip().split()))
x = (a+d-1)//d
y = (b+c-1)//b
if x >= y:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,860 | 450,861 | u006817280 | python |
p02700 | t_hp, t_ap, a_hp, a_ap = map(int,input().split())
while t_hp > 0 or a_hp > 0:
a_hp -= t_ap
if a_hp <= 0:
return 'Yes'
break
t_hp -= a_ap
if t_hp <= 0:
return 'No'
break | t_hp, t_ap, a_hp, a_ap = map(int,input().split())
while t_hp > 0 or a_hp > 0:
a_hp -= t_ap
if a_hp <= 0:
print('Yes')
break
t_hp -= a_ap
if t_hp <= 0:
print('No')
break | [
"function.return_value.change",
"call.arguments.change"
] | 450,864 | 450,865 | u160265910 | python |
p02700 | a, b, c, d = map(int,input().split())
while True :
a -= d
if a <= 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"
] | 450,871 | 450,872 | u571647099 | python |
p02700 | a, b, c, d = map(int, input().split())
while c > 0 and a > 0:
c = c - b
a = a - d
if a <= 0:
print("No")
else:
print("Yes")
| a, b, c, d = map(int, input().split())
while c > 0 and a > 0:
c = c - b
a = a - d
if c > 0:
print("No")
else:
print("Yes")
| [] | 450,890 | 450,891 | u701017915 | python |
p02700 | a, b, c, d = map(int, input().split())
if (a-1)//d >= (b-1)//c:
print('Yes')
else:
print('No')
| a, b, c, d = map(int, input().split())
if (a-1)//d >= (c-1)//b:
print('Yes')
else:
print('No')
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,900 | 450,901 | u807943476 | python |
p02700 | a,b,c,d = map(int, input().split())
if (a-1)//d >= (b-1)//c:
print('Yes')
else:
print('No') | a, b, c, d = map(int, input().split())
if (a-1)//d >= (c-1)//b:
print('Yes')
else:
print('No')
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,902 | 450,901 | u807943476 | python |
p02700 | a,b,c,d = map(int, input().split())
if (a+1)//d >= (c+1)//b:
print('Yes')
else:
print('No') | a, b, c, d = map(int, input().split())
if (a-1)//d >= (c-1)//b:
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 450,903 | 450,901 | u807943476 | python |
p02700 | a, b, c, d = map(int, input().split())
X=(a+d-1)/d
Y=(c+b-1)/b
if X >= Y:
s = "Yes"
else:
s = "No"
print(s) | a, b, c, d = map(int, input().split())
X = (a+d-1)//d
Y=(c+b-1)//b
if X >= Y:
s = "Yes"
else:
s = "No"
print(s) | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 450,908 | 450,909 | u233841219 | python |
p02700 | a,b,c,d=map(int,input().split())
print("Yes" if c//b<=a//d else "No") | a,b,c,d=map(int,input().split())
print("Yes" if -c//b>=-a//d else "No") | [
"expression.operation.unary.add",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"io.output.change"
] | 450,925 | 450,926 | u941438707 | python |
p02700 | a,b,c,d=map(int,input().split())
print("Yes" if c//b<=a//d+1 else "No") | a,b,c,d=map(int,input().split())
print("Yes" if -c//b>=-a//d else "No") | [
"expression.operation.unary.add",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"io.output.change",
"expression.operation.binary.remove"
] | 450,927 | 450,926 | u941438707 | python |
p02700 | a,b,c,d=map(int,input().split())
for _ in range(100):
a-=d
c-=b
if b<1:
print("Yes")
exit()
if a<1:
print("No")
exit() | a,b,c,d=map(int,input().split())
for _ in range(100):
a-=d
c-=b
if c<1:
print("Yes")
exit()
if a<1:
print("No")
exit() | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,928 | 450,929 | u941438707 | python |
p02700 | def func(a,b,c,d):
while True:
c-=b
if c<0:
return "Yes"
a-=d
if a<0:
return "No"
print(func(*list(map(int,input().split())))) | def func(a,b,c,d):
while True:
c-=b
if c<=0:
return "Yes"
a-=d
if a<=0:
return "No"
print(func(*list(map(int,input().split()))))
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,933 | 450,934 | u904804404 | python |
p02700 | def main():
A, B, C, D = map(int, input().split())
print(A, C)
while True:
C -= B
if C <= 0:
print('Yes')
break
A -= D
if A <= 0:
print('No')
break
if __name__ == '__main__':
main()
| def main():
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
if __name__ == '__main__':
main()
| [
"call.remove"
] | 450,937 | 450,938 | u083646648 | python |
p02700 | # -*- coding: utf-8 -*-
a, b, c, d = map(int, input().slice())
while True:
c -= b
if c <=0:
print('Yes')
break
a -= d
if a <= 0:
print('No')
break | # -*- coding: utf-8 -*-
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 | [
"assignment.value.change",
"identifier.change",
"call.arguments.change"
] | 450,955 | 450,956 | u641545507 | python |
p02700 | # -*- coding: utf-8 -*-
"""
Spyderエディタ
これは一時的なスクリプトファイルです
"""
strT, pwT, strA, pwA = map(int, input().split())
while strT > 0 or strA > 0:
strA -= pwT
if strA <= 0:
break
strT -= pwA
print(strT, strA)
if strT > 0:
print('Yes')
else:
print('No') | # -*- coding: utf-8 -*-
"""
Spyderエディタ
これは一時的なスクリプトファイルです
"""
strT, pwT, strA, pwA = map(int, input().split())
while strT > 0 or strA > 0:
strA -= pwT
if strA <= 0:
break
strT -= pwA
if strT > 0:
print('Yes')
else:
print('No') | [
"call.remove"
] | 450,957 | 450,958 | u131666536 | python |
p02700 | a, b, c, d = map(int,input().split())
cnt = 0
while a > 0 and c > 0:
if cnt%2==0:
c -= b
else:
a -= d
cnt += 1
if a < 0:
print("No")
else:
print("Yes")
| a, b, c, d = map(int,input().split())
cnt = 0
while a > 0 and c > 0:
if cnt%2==0:
c -= b
else:
a -= d
cnt += 1
if a <= 0:
print("No")
else:
print("Yes")
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,983 | 450,984 | u957872856 | python |
p02700 |
def solve():
a,b,c,d=map(int,input().split())
i=0
while(a>0 and c>0):
if i%2==0:
c-=b
else:
a-=d
i+=1
if(c<0):
print('Yes')
else:
print('No')
solve()
|
def solve():
a,b,c,d=map(int,input().split())
i=0
while(a>0 and c>0):
if i%2==0:
c-=b
else:
a-=d
i+=1
if(c<=0):
print('Yes')
else:
print('No')
solve()
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,990 | 450,991 | u954774382 | python |
p02700 | A,B,C,D = map(int,input().split())
x = ((A+D)-1)/D
y = ((B+C)-1)/B
if(x>=y):
print('Yes')
else:
print('No') | A,B,C,D = map(int,input().split())
x = ((A+D)-1)//D
y = ((B+C)-1)//B
if(x>=y):
print('Yes')
else:
print('No')
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 451,014 | 451,015 | u424852287 | python |
p02700 | a, b, c, d = map(int, input().split())
takahashi = c / b
aoki = a / d
if c % b != 0:
takahashi += 1
if a % d != 0:
aoki += 1
if takahashi <= aoki:
print('Yes')
else:
print('No') | a, b, c, d = map(int, input().split())
takahashi = c // b
aoki = a // d
if c % b != 0:
takahashi += 1
if a % d != 0:
aoki += 1
if takahashi <= aoki:
print('Yes')
else:
print('No') | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 451,019 | 451,020 | u285595848 | python |
p02700 | 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() | 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() | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,036 | 451,037 | u981332890 | python |
p02700 | 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() | 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() | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,038 | 451,037 | u981332890 | python |
p02700 | def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
if taka_health%aoki_stregnth != 0:
moves_taka = int(taka_health/aoki_stregnth) + 1
else:
moves_taka = int(taka_health/aoki_stregnth)
if aoki_health%taka_stregnth != 0:
moves_aoki =int(aoki_health/taka_stregnth) +... | def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
if taka_health%aoki_stregnth != 0:
moves_taka = int(taka_health/aoki_stregnth) + 1
else:
moves_taka = int(taka_health/aoki_stregnth)
if aoki_health%taka_stregnth != 0:
moves_aoki =int(aoki_health/taka_stregnth) +... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,056 | 451,057 | u705606364 | python |
p02700 |
def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
if taka_health%aoki_stregnth != 0:
moves_taka = int(taka_health/aoki_stregnth) + 1
else:
moves_taka = int(taka_health/aoki_stregnth)
if aoki_health%taka_stregnth != 0:
moves_aoki =int(aoki_health/taka_stregnth) ... | def Sol(taka_health,taka_stregnth,aoki_health,aoki_stregnth):
if taka_health%aoki_stregnth != 0:
moves_taka = int(taka_health/aoki_stregnth) + 1
else:
moves_taka = int(taka_health/aoki_stregnth)
if aoki_health%taka_stregnth != 0:
moves_aoki =int(aoki_health/taka_stregnth) +... | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"io.output.change"
] | 451,058 | 451,057 | u705606364 | python |
p02700 | A, B, C, D = map(int, input().split())
ans = 0
for i in range(100):
C -= B
if B <= 0:
ans = 1
break
A -= D
if D <= 0:
break
if ans == 1:
print('Yes')
else:
print('No') | A, B, C, D = map(int, input().split())
ans = 0
for i in range(100):
C -= B
if C <= 0:
ans = 1
break
A -= D
if A <= 0:
break
if ans == 1:
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,064 | 451,065 | u137913818 | python |
p02700 | #!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return... | #!/usr/bin/env python3
from collections import defaultdict,deque
from heapq import heappush, heappop
from bisect import bisect_left, bisect_right
import sys, random, itertools, math
sys.setrecursionlimit(10**5)
input = sys.stdin.readline
sqrt = math.sqrt
def LI(): return list(map(int, input().split()))
def LF(): return... | [
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 451,072 | 451,073 | u423585790 | python |
p02700 | A, B, C, D = map(int, input().split())
T_time = C // B
if not C % B == 0 :
T_time += 1
A_time = A // D
if not A % D == 0 :
T_time += 1
if T_time <= A_time :
print("Yes")
else :
print("No") | A, B, C, D = map(int, input().split())
T_time = C // B
if not C % B == 0 :
T_time += 1
A_time = A // D
if not A % D == 0 :
A_time += 1
if T_time <= A_time :
print("Yes")
else :
print("No") | [
"identifier.change"
] | 451,080 | 451,081 | u646110634 | python |
p02700 | def main():
A, B, C, D = map(int, input().split())
attack_count_A = C // B
if C % B > 0:
attack_count_A += 1
attack_count_B = A // D
if A % D > 0:
attack_count_B += 1
if attack_count_A >= attack_count_B:
print('{}'.format('Yes'))
else:
print('{}'.format... | def main():
A, B, C, D = map(int, input().split())
attack_count_A = C // B
if C % B > 0:
attack_count_A += 1
attack_count_B = A // D
if A % D > 0:
attack_count_B += 1
if attack_count_B >= attack_count_A:
print('{}'.format('Yes'))
else:
print('{}'.format... | [
"control_flow.branch.if.condition.change"
] | 451,125 | 451,126 | u813286880 | python |
p02700 | ta, 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 -= b
if c <= 0:
print('Yes')
break
a -= d
if a <= 0:
print('No')
break | [
"assignment.variable.change",
"identifier.change"
] | 451,127 | 451,128 | u576364343 | python |
p02700 | ta, 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 -= b
if c <= 0:
print('Yes')
break
a -= d
if a <= 0:
print('No')
break
| [
"assignment.variable.change",
"identifier.change"
] | 451,127 | 451,135 | u576364343 | python |
p02700 | import math
P = list(map(int,input().split()))
A = P[0]
B = P[1]
C = P[2]
D = P[3]
p = math.ceil(C/B)
q = math.ceil(A/D)
if p == q:
print('Yes')
else:
print('No')
| import math
P = list(map(int,input().split()))
A = P[0]
B = P[1]
C = P[2]
D = P[3]
p = math.ceil(C/B)
q = math.ceil(A/D)
if p <= q:
print('Yes')
else:
print('No') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,143 | 451,144 | u925658709 | python |
p02700 | import math
P = list(map(int,input().split()))
A = P[0]
B = P[1]
C = P[2]
D = P[3]
p = math.floor(C/B)
q = math.floor(A/D)
if p == q:
print('No')
else:
print('Yes') | import math
P = list(map(int,input().split()))
A = P[0]
B = P[1]
C = P[2]
D = P[3]
p = math.ceil(C/B)
q = math.ceil(A/D)
if p <= q:
print('Yes')
else:
print('No') | [
"misc.opposites",
"assignment.value.change",
"identifier.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 451,145 | 451,144 | u925658709 | python |
p02700 | t, k, c, d = [int(x) for x in input().split()]
while (t >= 0 or c >= 0):
c = c - k
if c <= 0:
print("Yes")
break
t = t - d
if a <= 0:
print("No")
break | t, k, c, d = (int(x) for x in input().split())
while (t >= 0 or c >= 0):
c = c - k
if c <= 0:
print("Yes")
break
t = t - d
if t <= 0:
print("No")
break | [
"assignment.value.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,159 | 451,160 | u271123940 | python |
p02700 | t, k, c, d = (int(x) for x in input().split())
while (t >= 0 or c >= 0):
c = c - k
if c <= 0:
print("Yes")
break
t = t - d
if a <= 0:
print("No")
break | t, k, c, d = (int(x) for x in input().split())
while (t >= 0 or c >= 0):
c = c - k
if c <= 0:
print("Yes")
break
t = t - d
if t <= 0:
print("No")
break | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,161 | 451,160 | u271123940 | python |
p02700 | A,B,C,D = map(int, input().split())
T=0
A=0
while C-B>0:
C-=B
T+=1
while A-D>0:
A-=D
A+=1
print("Yes") if A>=T else print("No") | A,B,C,D = map(int, input().split())
Takahashi=0
Aoki=0
while C-B>0:
C-=B
Takahashi+=1
while A-D>0:
A-=D
Aoki+=1
print("Yes") if Aoki>=Takahashi else print("No") | [
"assignment.variable.change",
"identifier.change"
] | 451,166 | 451,167 | u870684607 | python |
p02700 | A,B,C,D=map(int,input().split())
for i in range(0,99):
C=C-B
if C<=0:
print('Yes')
break
else:
A=A-D
if A<=0:
print('No')
| A,B,C,D=map(int,input().split())
for i in range(0,100):
C=C-B
if C<=0:
print('Yes')
break
else:
A=A-D
if A<=0:
print('No')
break
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.break.add"
] | 451,172 | 451,171 | u497188176 | python |
p02700 | A,B,C,D=map(int,input().split())
for i in range(0,99):
C=C-B
if C<=0:
print('Yes')
else:
A=A-D
if A<=0:
print('No')
break
| A,B,C,D=map(int,input().split())
for i in range(0,100):
C=C-B
if C<=0:
print('Yes')
break
else:
A=A-D
if A<=0:
print('No')
break
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.break.add"
] | 451,173 | 451,171 | u497188176 | python |
p02700 | A,B,C,D=map(int,input().split())
for i in range(0,99):
C=C-B
if C<=0:
print('Yes')
else:
A=A-D
if A<=0:
print('No')
break | A,B,C,D=map(int,input().split())
for i in range(0,100):
C=C-B
if C<=0:
print('Yes')
break
else:
A=A-D
if A<=0:
print('No')
break
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.break.add"
] | 451,178 | 451,171 | u497188176 | python |
p02700 | A,B,C,D=map(int,input().split())
for i in range(0,99):
C=C-B
if C<=0:
print('Yes')
else:
A=A-D
if A<=0:
print('No') | A,B,C,D=map(int,input().split())
for i in range(0,100):
C=C-B
if C<=0:
print('Yes')
break
else:
A=A-D
if A<=0:
print('No')
break
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"control_flow.break.add"
] | 451,179 | 451,171 | u497188176 | python |
p02700 | # -*- coding: utf-8 -*-
A,B,C,D = list(map(int, input().rstrip().split()))
#-----
flag = 1
while A>0 and C>0:
if flag == 1:
C -= B
else:
A -= D
flag = flag * (-1)
print( "Yes" if C == 0 else "No")
| # -*- coding: utf-8 -*-
A,B,C,D = list(map(int, input().rstrip().split()))
#-----
flag = 1
while A>0 and C>0:
if flag == 1:
C -= B
else:
A -= D
flag = flag * (-1)
print( "Yes" if A > 0 else "No")
| [] | 451,184 | 451,185 | u530383736 | python |
p02700 | ts,th,os,oh=map(int,input().split())
while th>=1 and oh>=1:
oh=oh-ts
if oh>=1:
th=th-os
if th>=1:
print('Yes')
else:
print('No') | th,ts,oh,os=map(int,input().split())
while th>=1 and oh>=1:
oh=oh-ts
if oh>=1:
th=th-os
if th>=1:
print('Yes')
else:
print('No') | [
"assignment.variable.change",
"identifier.change"
] | 451,188 | 451,189 | u251015179 | python |
p02700 | class monster:
stamina = 0
attack= 0
def __init__(self,stamina,attack):
self.stamina = stamina
self.attack = attack
abcd = input().split()
abcd=[int(x) for x in abcd]
a = abcd[0]
b = abcd[1]
c = abcd[2]
d = abcd[3]
taka = monster(a,b)
aoki = monster(c,d)
while(1):
aoki.stamina = ao... | class monster:
stamina = 0
attack= 0
def __init__(self,stamina,attack):
self.stamina = stamina
self.attack = attack
abcd = input().split()
abcd=[int(x) for x in abcd]
a = abcd[0]
b = abcd[1]
c = abcd[2]
d = abcd[3]
taka = monster(a,b)
aoki = monster(c,d)
while(1):
# print(taka.stam... | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,192 | 451,193 | u558717347 | python |
p02700 | class monster:
stamina = 0
attack= 0
def __init__(self,stamina,attack):
self.stamina = stamina
self.attack = attack
abcd = input().split()
abcd=[int(x) for x in abcd]
a = abcd[0]
b = abcd[1]
c = abcd[2]
d = abcd[3]
taka = monster(a,b)
aoki = monster(c,d)
while(1):
aoki.stamina = ao... | class monster:
stamina = 0
attack= 0
def __init__(self,stamina,attack):
self.stamina = stamina
self.attack = attack
abcd = input().split()
abcd=[int(x) for x in abcd]
a = abcd[0]
b = abcd[1]
c = abcd[2]
d = abcd[3]
taka = monster(a,b)
aoki = monster(c,d)
while(1):
# print(taka.stam... | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,194 | 451,193 | u558717347 | python |
p02700 | A, B, C, D = map(int, input().split())
flag == 100
while flag ==100:
C -= B
if flag==100 and C<=0:
flag = 0
A -= D
if flag==100 and A<=0:
flag = 1
if flag==0: print('Yes')
else: print('No') | A, B, C, D = map(int, input().split())
flag = 100
while flag ==100:
C -= B
if flag==100 and C<=0:
flag = 0
A -= D
if flag==100 and A<=0:
flag = 1
if flag==0: print('Yes')
else: print('No') | [
"expression.operation.compare.replace.remove",
"assignment.replace.add",
"misc.typo"
] | 451,264 | 451,265 | u572425901 | python |
p02700 | import math
a,b,c,d = map(int, input().split())
if(math.ceil(a//d) >= math.ceil(c//b)):
print('No')
else:
print('Yes')
| import math
a,b,c,d = map(int, input().split())
if(math.ceil(a/d) >= math.ceil(c/b)):
print('Yes')
else:
print('No')
| [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 451,283 | 451,284 | u250554058 | python |
p02700 | 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 | 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 | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,289 | 451,290 | u718765445 | 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-=B
if C<=0:
print("Yes")
break
A-=D
if A<=0:
print("No")
break | [
"misc.typo",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,291 | 451,292 | u790768332 | python |
p02700 | from math import ceil
a,b,c,d=map(int,input().split())
cnt1=ceil(c/b)
cnt2=ceil(a/d)
if cnt1<=cnt2:
print("yes")
else:
print("No") | from math import ceil
a,b,c,d=map(int,input().split())
cnt1=ceil(c/b)
cnt2=ceil(a/d)
if cnt1<=cnt2:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,299 | 451,300 | u169138653 | python |
p02700 | a,b,c,d = map(int, input().split())
for i in range(1,1000):
if i%2 ==1:
c =c-b
if c ==0:
print("Yes")
exit()
else:
a = a-d
if a ==0:
print("No")
exit() | a,b,c,d = map(int, input().split())
for i in range(1,1000):
if i%2 ==1:
c =c-b
if c <=0:
print("Yes")
exit()
else:
a = a-d
if a <=0:
print("No")
exit() | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,303 | 451,304 | u088115428 | python |
p02700 | 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) | 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) | [
"literal.string.change",
"assignment.value.change"
] | 451,313 | 451,314 | u451618391 | python |
p02700 | import math
A,B,C,D =map(int,input().split())
T =math.ceil(C/B)
K =math.ceil(A/D)
if T <= K:
print("Yes")
else:
print("NO")
| import math
A,B,C,D =map(int,input().split())
T =math.ceil(C/B)
K =math.ceil(A/D)
if T <= K:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,326 | 451,327 | u757030836 | python |
p02700 | a,b,c,d=map(int,input().split())
x=0
while(True):
if x%2==0:
if c-b>0:
c=c-b
elif(c-b<=0):
print("yes")
break
x+=1
else:
if a-d>0:
a=a-d
else:
print("no")
break
x+=1
| a,b,c,d=map(int,input().split())
x=0
while(True):
if x%2==0:
if c-b>0:
c=c-b
elif(c-b<=0):
print("Yes")
break
x+=1
else:
if a-d>0:
a=a-d
else:
print("No")
break
x+=1
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,337 | 451,338 | u408148811 | python |
p02700 | THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP > 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("No") | THP,TAT,AHP,AAT = map(int,input().split())
while THP > 0 and AHP > 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("Yes") | [
"control_flow.loop.condition.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 451,339 | 451,340 | u537677313 | python |
p02700 | THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP > 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("Yes") | THP,TAT,AHP,AAT = map(int,input().split())
while THP > 0 and AHP > 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("Yes") | [
"control_flow.loop.condition.change"
] | 451,341 | 451,340 | u537677313 | python |
p02700 | THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP >= 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("Yes") | THP,TAT,AHP,AAT = map(int,input().split())
while THP > 0 and AHP > 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("Yes") | [
"control_flow.loop.condition.change",
"expression.operator.compare.change"
] | 451,342 | 451,340 | u537677313 | python |
p02700 | THP,TAT,AHP,AAT = map(int,input().split())
while THP and AHP >= 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP >= 0 :
print("No")
elif AHP <= 0 and THP >= 0 :
print("Yes")
else:
print("Yes") | THP,TAT,AHP,AAT = map(int,input().split())
while THP > 0 and AHP > 0 :
AHP -= TAT
THP -= AAT
if THP <= 0 and AHP > 0 :
print("No")
elif AHP <= 0 and THP > 0 :
print("Yes")
else:
print("Yes") | [
"control_flow.loop.condition.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,343 | 451,340 | u537677313 | python |
p02700 | A,B,C,D=map(int,input().split())
for i in range(max(C//B,A//D)):
C=C-B
if C<=0:
print("Yes")
break
A=A-D
if A<=0:
print("No")
break
| A,B,C,D=map(int,input().split())
for i in range(max(C//B+1,A//D+1)):
C=C-B
if C<=0:
print("Yes")
break
A=A-D
if A<=0:
print("No")
break
| [
"expression.operation.binary.add"
] | 451,349 | 451,350 | u721407235 | python |
p02700 | import math
A,B,C,D = map(int,input().split())
X = math.ceil(C//B)
Y = math.ceil(A//D)
if X <= Y:
print("Yes")
else:
print("No")
| import math
A,B,C,D = map(int,input().split())
X = math.ceil(C/B)
Y = math.ceil(A/D)
if X <= Y:
print("Yes")
else:
print("No")
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 451,351 | 451,352 | u360748099 | python |
p02700 | import math
A,B,C,D = map(int,input().split())
X = math.ceil(C//B)
Y = math.ceil(A//D)
if X <= Y:
print("Yes")
else:
print("No") | import math
A,B,C,D = map(int,input().split())
X = math.ceil(C/B)
Y = math.ceil(A/D)
if X <= Y:
print("Yes")
else:
print("No")
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 451,353 | 451,352 | u360748099 | python |
p02700 | A,B,C,D=map(int,input().split())
t=0
while A>0 and C>0:
if t%2==0:
A-=D
else:
C-=B
t+=1
if A<=0:
print("No")
else:
print("Yes")
| A,B,C,D=map(int,input().split())
t=0
while A>0 and C>0:
if t%2!=0:
A-=D
else:
C-=B
t+=1
if A<=0:
print("No")
else:
print("Yes")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,356 | 451,357 | u692311686 | python |
p02700 | A,B,C,D=map(int,input().split())
t=0
while A>0 and C>0:
if t%2==0:
A-=D
else:
C-=B
if A<=0:
print("No")
else:
print("Yes") | A,B,C,D=map(int,input().split())
t=0
while A>0 and C>0:
if t%2!=0:
A-=D
else:
C-=B
t+=1
if A<=0:
print("No")
else:
print("Yes")
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,358 | 451,357 | u692311686 | python |
p02700 | 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') | 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() | [
"call.add"
] | 451,379 | 451,380 | u664512092 | python |
p02700 | a,b,c,d=map(int,input().split())
if a%d ==0:
if c%d==0:
if a/d >= c/b:
print("Yes")
else:
print("No")
else:
if a/d >= (c//b+1) :
print("Yes")
else:
print("No")
else:
if c%d==0:
if (a//d+1) >= c/b:
print("Yes... | a,b,c,d=map(int,input().split())
if a%d ==0:
if c%b==0:
if a/d >= c/b:
print("Yes")
else:
print("No")
else:
if a/d >= (c//b+1) :
print("Yes")
else:
print("No")
else:
if c%b==0:
if (a//d+1) >= c/b:
print("Yes... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,383 | 451,384 | u220874655 | python |
p02700 | a,b,c,d=map(int,input().split())
if a%d ==0:
if c%d==0:
if a/d >= c/d:
print("Yes")
else:
print("No")
else:
if a/d >= (c//d+1) :
print("Yes")
else:
print("No")
else:
if c%d==0:
if (a//d+1) >= c/d:
print("Yes... | a,b,c,d=map(int,input().split())
if a%d ==0:
if c%b==0:
if a/d >= c/b:
print("Yes")
else:
print("No")
else:
if a/d >= (c//b+1) :
print("Yes")
else:
print("No")
else:
if c%b==0:
if (a//d+1) >= c/b:
print("Yes... | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,385 | 451,384 | u220874655 | python |
p02700 | import math
A,B,C,D=map(int,input().split())
E=math.ceil(A/D)
F=math.ceil(C/B)
if A>=B:
print("Yes")
else:
print("No")
| 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")
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,386 | 451,387 | u854784579 | python |
p02700 | 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:
... | 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:
... | [
"identifier.change"
] | 451,390 | 451,391 | u101513660 | python |
p02700 | a,b,c,d=map(int,input().split())
T=0
A=0
while c>0:
c-=b
T+=1
while a>0:
a-=d
A+=1
if A>T:
print("Yes")
else:
print("No") | a,b,c,d=map(int,input().split())
T=0
A=0
while c>0:
c-=b
T+=1
while a>0:
a-=d
A+=1
if A>=T:
print("Yes")
else:
print("No") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,398 | 451,399 | u368270116 | python |
p02700 | A, B, C, D = map(int, input().split())
for i in range(100):
C -= B
if C <= 0:
print('Yes')
exit()
A -= D
if A <= 0:
print('No') | A, B, C, D = map(int, input().split())
for i in range(100):
C -= B
if C <= 0:
print('Yes')
exit()
A -= D
if A <= 0:
print('No')
exit() | [
"call.add"
] | 451,404 | 451,405 | u939585142 | python |
p02700 | a,b,c,d = (int(x) for x in input().split())
while(True):
c = c - b
if c <= 0:
print('yes')
break
a = a - d
if a <= 0:
print('no')
break
| a,b,c,d = (int(x) for x in input().split())
while(True):
c = c - b
if c <= 0:
print('Yes')
break
a = a - d
if a <= 0:
print('No')
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,406 | 451,407 | u618126440 | python |
p02700 | a,b,c,d = (int(x) for x in input().split())
while(True):
c = c - b
if c <= 0:
print('yes')
break
a = a - d
if b <= 0:
print('no')
break | a,b,c,d = (int(x) for x in input().split())
while(True):
c = c - b
if c <= 0:
print('Yes')
break
a = a - d
if a <= 0:
print('No')
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change",
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,408 | 451,407 | u618126440 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
#a c hp
#b d atk
t_n = math.ceil(c / b)
a_n = math.ceil(a / d)
if t_n <= a_n:
print('YES')
else:
print('NO') | import math
a,b,c,d = map(int,input().split())
t_n = math.ceil(c / b)
a_n = math.ceil(a / d)
if t_n <= a_n:
print('Yes')
else:
print('No') | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,421 | 451,422 | u261082314 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
#a c hp
#b d atk
t_n = math.ceil(c / b)
a_n = math.ceil(a / d)
if t_n-1 <= a_n:
print('YES')
else:
print('NO') | import math
a,b,c,d = map(int,input().split())
t_n = math.ceil(c / b)
a_n = math.ceil(a / d)
if t_n <= a_n:
print('Yes')
else:
print('No') | [
"expression.operation.binary.remove",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 451,423 | 451,422 | u261082314 | python |
p02700 | a, b, c, d = map(int, input().split())
if c%b ==0 :
e = c//b
else:
e = c//b + 1
if a%d ==0:
f = a//d
else:
f = a//d +1
if f >e:
print("Yes")
else:
print("No") | a, b, c, d = map(int, input().split())
if c%b ==0 :
e = c//b - 1
else:
e = c//b
if a%d ==0:
f = a//d
else:
f = a//d +1
if f >e:
print("Yes")
else:
print("No") | [
"expression.operation.binary.remove"
] | 451,427 | 451,428 | u266143155 | python |
p02700 | a, b, c, d = map(int, input().split())
if c%b ==0 :
e = c//d
else:
e = c//d + 1
if a%d ==0:
f = a//d
else:
f = a//d +1
if f >e:
print("Yes")
else:
print("No") | a, b, c, d = map(int, input().split())
if c%b ==0 :
e = c//b - 1
else:
e = c//b
if a%d ==0:
f = a//d
else:
f = a//d +1
if f >e:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change",
"expression.operation.binary.remove"
] | 451,429 | 451,428 | u266143155 | python |
p02700 |
class Main:
t1, a1, t2, a2= map(int,input().split());
w = "t1"
while t1 >= 0 and t2 >= 0:
if t2 <= 0:
w = "t1"
break;
t2 = t2 - a1;
if t1 <= 0:
w = "t2"
break;
t1 = t1 - a2;
if w == "t1":
print("Yes");
else:
... |
class Main:
t1, a1, t2, a2= map(int,input().split());
w = "t1"
while t1 >= 0 or t2 >= 0:
if t2 <= 0:
w = "t1"
break;
t2 = t2 - a1;
if t1 <= 0:
w = "t2"
break;
t1 = t1 - a2;
if w == "t1":
print("Yes");
else:
... | [
"control_flow.loop.condition.change"
] | 451,474 | 451,475 | u697634943 | python |
p02700 | n = list(map(int, input().split()))
while n[0]>0 or n[2]>0:
n[2] = n[2] - n[1]
if n[2] <= 0:
break
n[0] = n[0] - n[3]
if n[0]>=n[2]:
print("Yes")
else:
print("No") | n = list(map(int, input().split()))
while n[0]>0 and n[2]>0:
n[2] = n[2] - n[1]
if n[2] <= 0:
break
n[0] = n[0] - n[3]
if n[0]>n[2]:
print("Yes")
else:
print("No") | [
"control_flow.loop.condition.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 451,503 | 451,504 | u312748806 | python |
p02700 | A, B, C, D = map(int, input().split())
while A > 0 and C >0:
C -= B
A -= D
print("Yes" if A < 0 else "No") | A, B, C, D = map(int, input().split())
while A > 0 and C >0:
C -= B
A -= D
print("Yes" if C <= 0 else "No") | [] | 451,505 | 451,506 | u036693958 | python |
p02700 | A, B, C, D = map(int, input().split())
while A > 0 and C >0:
B -= C
A -= D
print("Yes" if A<0 else "No") | A, B, C, D = map(int, input().split())
while A > 0 and C >0:
C -= B
A -= D
print("Yes" if C <= 0 else "No") | [] | 451,507 | 451,506 | u036693958 | python |
p02700 | a,b,c,d = map(int,input().split())
turn =1
while((a>0) or (c>0)):
if(turn == 1):
c -= b
turn = 0
else:
a -= d
turn = 1
if(a<=0):
print("No")
else:
print("Yes")
| a,b,c,d = map(int,input().split())
turn =1
while((a>0) and (c>0)):
if(turn == 1):
c -= b
turn = 0
else:
a -= d
turn = 1
if(a<=0):
print("No")
else:
print("Yes") | [
"control_flow.loop.condition.change"
] | 451,510 | 451,511 | u862466626 | python |
p02700 | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%C == 0 or D ==1:
turn = A/D -1
else:
turn = A//D
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%D == 0 :
turn = A/D -1
else:
turn = A//D
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | [
"literal.number.integer.change",
"control_flow.branch.if.condition.change"
] | 451,520 | 451,521 | u924717835 | python |
p02700 | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%C == 0:
turn = A/D -1
else:
turn = (A//D)
if B * (turn+1) >= C:
print("Yes")
else:
print("No")
| A ,B ,C ,D = map(int,input().split())
turn = 0
if A%D == 0 :
turn = A/D -1
else:
turn = A//D
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,522 | 451,521 | u924717835 | python |
p02700 | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%C == 0:
turn = A/D -1
else:
turn = (A//D)
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%D == 0 :
turn = A/D -1
else:
turn = A//D
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 451,523 | 451,521 | u924717835 | python |
p02700 | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%C == 0:
turn = A/D -1
else:
turn = (A//D)
if B * (turn+1) > C:
print("Yes")
else:
print("No")
| A ,B ,C ,D = map(int,input().split())
turn = 0
if A%D == 0 :
turn = A/D -1
else:
turn = A//D
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 451,524 | 451,521 | u924717835 | python |
p02700 | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%C == 0:
turn = A/D -1
else:
turn = (A//D) +1
if B * (turn+1) > C:
print("Yes")
else:
print("No") | A ,B ,C ,D = map(int,input().split())
turn = 0
if A%D == 0 :
turn = A/D -1
else:
turn = A//D
if B * (turn+1) >= C:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove",
"expression.operator.compare.change"
] | 451,525 | 451,521 | u924717835 | python |
p02700 | N=[int(x) for x in input().split()]
if not N[2]%N[1]==0:
d=N[2]//N[1]+1
else:
d=N[2]//N[1]
if not N[0]%N[3]==0:
c=N[0]//N[3]+1
else:
c=N[0]//N[3]
if d>=c:
print("Yes")
else:
print("No") | N=[int(x) for x in input().split()]
if not N[2]%N[1]==0:
c=N[2]//N[1]+1
else:
c=N[2]//N[1]
if not N[0]%N[3]==0:
d=N[0]//N[3]+1
else:
d=N[0]//N[3]
if d>=c:
print("Yes")
else:
print("No") | [
"assignment.variable.change",
"identifier.change"
] | 451,526 | 451,527 | u318909153 | python |
p02700 | A, B, C, D = map(int, input().split())
a=0
c=0
while C-B>0:
C-=B
a+=1
while A-D>0:
A-=D
c+=1
print(a,c)
print("Yes") if c>=a else print("No") | A, B, C, D = map(int, input().split())
a=0
c=0
while C-B>0:
C-=B
a+=1
while A-D>0:
A-=D
c+=1
print("Yes") if c>=a else print("No") | [
"call.remove"
] | 451,530 | 451,531 | u140168076 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.