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 | import math
a,b,c,d = map(int,input().rstrip().split(' '))
if math.ceil(c/b)>=math.ceil(a/d):
print('No')
else: print('Yes') | import math
a,b,c,d = map(int,input().rstrip().split(' '))
if math.ceil(c/b)>math.ceil(a/d):
print('No')
else: print('Yes') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,040 | 450,041 | u808757777 | python |
p02700 | import math
a,b,c,d = map(int,input().rstrip().split(' '))
if math.ceil(b/c)>=math.ceil(a/d):
print('No')
else: print('Yes') | import math
a,b,c,d = map(int,input().rstrip().split(' '))
if math.ceil(c/b)>math.ceil(a/d):
print('No')
else: print('Yes') | [
"expression.operation.binary.remove",
"control_flow.branch.if.condition.change",
"expression.operator.compare.change"
] | 450,042 | 450,041 | u808757777 | python |
p02700 | 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' ) | 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' ) | [
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 450,043 | 450,044 | u773077120 | python |
p02700 | import math
A,B,C,D = map(int,input().split())
if math.ceil(C/B) >= math.ceil(D/A):
print('Yes')
else:
print('No') | import math
A,B,C,D = map(int,input().split())
if math.ceil(A/D) >= math.ceil(C/B):
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 450,045 | 450,046 | u912650255 | python |
p02700 | import math
A,B,C,D = map(int,input().split())
if math.ceil(C/B) <= math.ceil(D/A):
print('Yes')
else:
print('No') | import math
A,B,C,D = map(int,input().split())
if math.ceil(A/D) >= math.ceil(C/B):
print('Yes')
else:
print('No') | [
"control_flow.branch.if.condition.change"
] | 450,047 | 450,046 | u912650255 | python |
p02700 | A,B,C,D = list(map(int,input().split(" ")))
S,T = [0,0]
if A%D != 0:
S +=1
if C%B != 0:
T += 1
if C//B + T < A//D + S:
print("Yes")
else:
print("No") | A,B,C,D = list(map(int,input().split(" ")))
S,T = [0,0]
if A%D != 0:
S +=1
if C%B != 0:
T += 1
if C//B + T <= A//D + S:
print("Yes")
else:
print("No") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,050 | 450,051 | u258325541 | python |
p02700 | a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if (a//d)+1 >= (c//b) else "No") | a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if -(-a//d) >= -(-c//b) else "No") | [
"expression.operation.unary.add",
"call.arguments.change",
"expression.operation.binary.remove"
] | 450,064 | 450,065 | u626228246 | python |
p02700 | a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if (a//d) <= (c//b) else "No") | a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if -(-a//d) >= -(-c//b) else "No") | [
"expression.operation.unary.add",
"call.arguments.change",
"misc.opposites",
"expression.operator.compare.change",
"io.output.change"
] | 450,066 | 450,065 | u626228246 | python |
p02700 | a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if (a/d) >= (c/b) else "No") | a,b,c,d = map(int,input().split())
#a = Takahashi's HP,b = T's ATK, c = Aoki's HP, d = A's ATK
#T -> A -> T -> A...
print("Yes" if -(-a//d) >= -(-c//b) else "No") | [
"expression.operation.unary.add",
"call.arguments.change",
"expression.operator.arithmetic.change",
"expression.operation.binary.change",
"io.output.change"
] | 450,067 | 450,065 | u626228246 | python |
p02700 |
a,b,c,d=map(int,input().split())
if(((c+b-1)/b)<=((a+d-1)/d)):
print("Yes")
else:
print("No") | a,b,c,d=map(int,input().split())
if(int((c+b-1)/b)<=int((a+d-1)/d)):
print("Yes")
else:
print("No") | [
"call.add",
"control_flow.branch.if.condition.change"
] | 450,072 | 450,073 | u847535452 | python |
p02700 | a, b, c, d = map(int, input().split())
tak = -(-c//b)
aok = -(-a//d)
if tak < aok:
print("No")
else:
print("Yes")
| a, b, c, d = map(int, input().split())
tak = -(-c//b)
aok = -(-a//d)
if tak > aok:
print("No")
else:
print("Yes") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,078 | 450,079 | u841568901 | python |
p02700 | a,b,c,d=map(int,input().split())
count=0
for i in range(100):
turn1=c-b
c=turn1
count+=1
if c<=0:
break
newcount=0
for i in range(100):
turn2=a-d
a=turn2
newcount+=1
if a<=0:
break
if count>=newcount:
print('Yes')
else:
print('No') | a,b,c,d=map(int,input().split())
count=0
for i in range(100):
turn1=c-b
c=turn1
count+=1
if c<=0:
break
newcount=0
for i in range(100):
turn2=a-d
a=turn2
newcount+=1
if a<=0:
break
if count<=newcount:
print('Yes')
else:
print('No') | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,084 | 450,085 | u095844416 | python |
p02700 | A,B,C,D=map(int,input().split())
Tattack=ceil(A/D)
Aattack=ceil(C/B)
if Tattack>=Aattack:
print("Yes")
else:
print("No") | import math
A,B,C,D=map(int,input().split())
Tattack=math.ceil(A/D)
Aattack=math.ceil(C/B)
if Tattack>=Aattack:
print("Yes")
else:
print("No")
| [] | 450,086 | 450,087 | u697422981 | python |
p02700 | def round_up(x):
if x>int(x):
return int(x)+1
else:
return int(x)
a,b,c,d=map(int,input().split())
m,n=round_up(a/b),round_up(c/d)
print('No' if m<n else 'Yes') | def round_up(x):
if x>int(x):
return int(x)+1
else:
return int(x)
a,b,c,d=map(int,input().split())
m,n=round_up(c/b),round_up(a/d)
print('No' if m>n else 'Yes')
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change",
"misc.opposites",
"expression.operator.compare.change",
"io.output.change"
] | 450,088 | 450,089 | u962330718 | python |
p02700 | A,B,C,D = list(map(int, input().split()))
takahashi = -(-C // B)
aoki = -(-A // D)
if(takahashi >= aoki):
print("Yes")
else:
print("No") | A,B,C,D = list(map(int, input().split()))
takahashi = -(-C // B)
aoki = -(-A // D)
if(takahashi > aoki):
print("No")
else:
print("Yes") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 450,090 | 450,091 | u655663334 | python |
p02700 | 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 | 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 | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,092 | 450,093 | u408071652 | python |
p02700 | 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 | 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 | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,094 | 450,093 | u408071652 | python |
p02700 | a,b,c,d = map(int,input().split())
c -= b
while(a>0):
c -= b
a -= d
if a>0:
print("Yes")
else:
print("No") | a,b,c,d = map(int,input().split())
c -= b
while(c>0):
c -= b
a -= d
if a>0:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.loop.condition.change"
] | 450,105 | 450,106 | u847402720 | python |
p02700 | a,b,c,d = map(int,input().split())
c -= b
while(a>0):
c -= b
a -= d
if c>0:
print("Yes")
else:
print("No") | a,b,c,d = map(int,input().split())
c -= b
while(c>0):
c -= b
a -= d
if a>0:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.loop.condition.change",
"control_flow.branch.if.condition.change"
] | 450,107 | 450,106 | u847402720 | python |
p02700 | a,b,c,d = map(int,input().split())
aoki = c - b
takahasi = a - d
for i in range(100):
if i % 2 == 0:
c -= b
if c < 0:
print('Yes')
exit()
elif i % 2 == 1:
a -= d
if a < 0:
print('No')
exit()
| a,b,c,d = map(int,input().split())
aoki = c - b
takahasi = a - d
for i in range(10000):
if i % 2 == 0:
c -= b
if c <= 0:
print('Yes')
exit()
elif i % 2 == 1:
a -= d
if a <= 0:
print('No')
exit()
| [
"literal.number.integer.change",
"call.arguments.change",
"control_flow.loop.range.bounds.upper.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,114 | 450,113 | u773440446 | python |
p02700 | a, b, c, d = list(map(int, input().split()))
if math.ceil(c/b) > math.ceil(a/d):
print('No')
else:
print('Yes')
| import math
a, b, c, d = list(map(int, input().split()))
if math.ceil(c/b) > math.ceil(a/d):
print('No')
else:
print('Yes')
| [] | 450,135 | 450,136 | u277104886 | python |
p02700 | a, b, c, d = map(int, input().split())
count_T = (c-1)//b + 1
count_A = (a-1)//d + 1
if count_T > count_A:
print("Yes")
else:
print("No")
| a, b, c, d = map(int, input().split())
count_T = (c-1)//b + 1
count_A = (a-1)//d + 1
if count_T > count_A:
print("No")
else:
print("Yes")
| [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 450,143 | 450,144 | u685244071 | python |
p02700 | a, b, c, d = map(int, input().split())
count_T = (a-1)//b + 1
count_A = (c-1)//d + 1
if count_T > count_A:
print("Yes")
else:
print("No")
| a, b, c, d = map(int, input().split())
count_T = (c-1)//b + 1
count_A = (a-1)//d + 1
if count_T > count_A:
print("No")
else:
print("Yes")
| [
"assignment.value.change",
"identifier.change",
"expression.operation.binary.change",
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 450,145 | 450,144 | u685244071 | python |
p02700 | A,B,C,D = map(int,input().split())
while A >= 0 and C >= 0:
C -= B
if C <= 0:
break
A -= D
if A <= 0:
print('No')
if C <= 0:
print('Yes')
# else:
# print(A,C) | A,B,C,D = map(int,input().split())
while A > 0 and C > 0:
C -= B
if C <= 0:
break
A -= D
if A <= 0:
print('No')
if C <= 0:
print('Yes')
# else:
# print(A,C) | [
"expression.operator.compare.change",
"control_flow.loop.condition.change"
] | 450,146 | 450,147 | u924182136 | python |
p02700 | x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
while a > 0 or c > 0:
c = c - b
a = a - d
if c <= 0:
print('Yes')
else:
print('No') | x = input().split()
a = int(x[0])
b = int(x[1])
c = int(x[2])
d = int(x[3])
while a > 0 and c > 0:
c = c - b
a = a - d
if c <= 0:
print('Yes')
else:
print('No') | [
"control_flow.loop.condition.change"
] | 450,155 | 450,156 | u085530099 | python |
p02700 | A, B, C, D = map(int, input().split())
count = 0
while True:
if(count % 2 == 0):
C = C - B
count = count + 1
else:
A = A - D
count = count + 1
print(C, A)
if (A <= 0):
print("No")
break
elif(C <= 0):
print("Yes")
break
| A, B, C, D = map(int, input().split())
count = 0
while True:
if(count % 2 == 0):
C = C - B
count = count + 1
else:
A = A - D
count = count + 1
if (A <= 0):
print("No")
break
elif(C <= 0):
print("Yes")
break
| [
"call.remove"
] | 450,160 | 450,161 | u573332356 | python |
p02700 | a, b, c, d = map(int, input().split())
x = (a+d-1)/d
y = (c+b-1)/b
print("Yes" if x >= y else "No")
| a, b, c, d = map(int, input().split())
x = (a+d-1)//d
y = (c+b-1)//b
print("Yes" if x >= y else "No")
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 450,162 | 450,163 | u377072670 | python |
p02700 | a,b,c,d = map(int, input().split())
while(1):
c = c-b
if c <= 0:
print("Yws")
break
a = a-d
if a <= 0:
print("No")
break
| a,b,c,d = map(int, input().split())
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"
] | 450,181 | 450,182 | u700705777 | python |
p02700 | a,b,c,d=map(int,input().split())
while True:
c-=b
if c<1:
print('Yes')
break
a-=d
if a<1:
print('No') | a,b,c,d=map(int,input().split())
while True:
c-=b
if c<1:
print('Yes')
break
a-=d
if a<1:
print('No')
break | [
"control_flow.break.add"
] | 450,204 | 450,205 | u631299617 | python |
p02700 | a,b,c,d=map(int,input().split())
while a>0 and b>0:
c-=b
a-=d
if a<=0 and b>0:
print('No')
elif b<=0:
print('Yes') | a,b,c,d=map(int,input().split())
while a>0 and b>0:
c-=b
a-=d
if a<=0 and c>0:
print('No')
elif c<=0:
print('Yes') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,210 | 450,211 | u239048001 | python |
p02700 | A,B,C,D = map(int,input().split())
Takahashi = A
Aoki = B
while Takahashi >= 0 or Aoki >=0:
Aoki -= B
if Aoki <= 0:
print('Yes')
break
Takahashi -= D
if Takahashi <= 0:
print('No')
break | A,B,C,D = map(int,input().split())
Takahashi = A
Aoki = C
while Takahashi >= 0 or Aoki >=0:
Aoki -= B
if Aoki <= 0:
print('Yes')
break
Takahashi -= D
if Takahashi <= 0:
print('No')
break | [
"assignment.value.change",
"identifier.change"
] | 450,218 | 450,219 | u021387650 | python |
p02700 | A, B, C, D = [int(x) for x in input().split()]
run = True
while run:
C -= B
if C <= 0:
run = False
result = "Yes"
continue
A -= D
if A <= 0:
run = False
result = "No"
continue | A, B, C, D = [int(x) for x in input().split()]
run = True
while run:
C -= B
if C <= 0:
run = False
result = "Yes"
continue
A -= D
if A <= 0:
run = False
result = "No"
continue
print(result) | [
"call.add"
] | 450,239 | 450,240 | u019075898 | python |
p02700 | import math
A, B, C, D = list(map(int, input().split()))
#小数点に注意
#今回の場合は切り上げすること
n = math.ceil(A / D)
m = math.ceil(C / A)
if n >= m:
print("Yes")
else:
print("No") | import math
A, B, C, D = list(map(int, input().split()))
#小数点に注意
#今回の場合は切り上げすること
n = math.ceil(A / D)
m = math.ceil(C / B)
if n >= m:
print("Yes")
else:
print("No") | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 450,241 | 450,242 | u861886710 | python |
p02700 | A, B, C, D = map(int,input().split())
n = 0
m = 0
while C > 0:
n += 1
C -= B
while A > 0:
m += 1
A -= D
if n >= m:
print('No')
else:
print('Yes')
| A, B, C, D = map(int,input().split())
n = 0
m = 0
while C > 0:
n += 1
C -= B
while A > 0:
m += 1
A -= D
if n > m:
print('No')
else:
print('Yes') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,243 | 450,244 | u685971021 | python |
p02700 | a, b, c, d = map(int, input().split())
s = (a+d-1)//d
k = (c+b-1)//b
if s >= k:
print("yes")
else:
print("No") | a, b, c, d = map(int, input().split())
s = (a+d-1)//d
k = (c+b-1)//b
if s >= k:
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,255 | 450,256 | u611033537 | python |
p02700 | a, b, c, d = map(int, input().split())
s = (a+d-1)/d
k = (c+b-1)/b
if s >= k:
print("yes")
else:
print("No") | a, b, c, d = map(int, input().split())
s = (a+d-1)//d
k = (c+b-1)//b
if s >= k:
print("Yes")
else:
print("No") | [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change",
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,257 | 450,256 | u611033537 | python |
p02700 | A,B,C,D = map(int,input().split())
while True:
print(A,C)
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
| [
"call.remove"
] | 450,261 | 450,262 | u608454345 | python |
p02700 | # AtCoder
A, B, C, D = map(int, input().split())
thp = (A+D-1)/D
ahp = (C+B-1)/B
if thp >= ahp:
print('Yes')
else:
print('No')
| # AtCoder
A, B, C, D = map(int, input().split())
thp = (A+D-1)//D
ahp = (C+B-1)//B
if thp >= ahp:
print('Yes')
else:
print('No')
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 450,265 | 450,266 | u259861571 | python |
p02700 | import math
A, B, C, D = map(int, input().split())
if math.ceil(C / B) <= math.ceil(A / D):
print("yes")
else:
print("No") | import math
A, B, C, D = map(int, input().split())
if math.ceil(C / B) <= math.ceil(A / D):
print("Yes")
else:
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,275 | 450,276 | u068844030 | python |
p02700 | a, b, c, d = map(int, input().split())
while a > 0 and c > 0:
c -= b
if c < 0:
break
a -= d
if a < c:
print('No')
else:
print('Yes') | a, b, c, d = map(int, input().split())
while a > 0 and c > 0:
c -= b
if c <= 0:
break
a -= d
if a < c:
print('No')
else:
print('Yes') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,277 | 450,278 | u262065571 | python |
p02700 | a, b, c, d = map(int, input().split())
while a > 0 or c > 0:
c -= b
if c < 0:
break
a -= d
if a < c:
print('No')
else:
print('Yes') | a, b, c, d = map(int, input().split())
while a > 0 and c > 0:
c -= b
if c <= 0:
break
a -= d
if a < c:
print('No')
else:
print('Yes') | [
"control_flow.loop.condition.change",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,279 | 450,278 | u262065571 | python |
p02700 | A, B, C, D = map(int, input().split())
a = True
while a:
C -= B
A -= D
if C <= 0:
print('Yes')
a = False
elif A <= 0:
print('No')
b = False | A, B, C, D = map(int, input().split())
a = True
while a:
C -= B
A -= D
if C <= 0:
print('Yes')
break
elif A <= 0:
print('No')
break | [
"assignment.remove"
] | 450,289 | 450,290 | u632413369 | python |
p02700 | a,b,c,d=map(int,input().split())
x=(a+d-1)/d
y=(c+b-1)/b
if x>=y:
print('Yes')
else:
print('No')
| a,b,c,d=map(int,input().split())
x=(a+d-1)//d
y=(c+b-1)//b
if x>=y:
print('Yes')
else:
print('No')
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 450,295 | 450,296 | u278379520 | python |
p02700 | a, b, c, d = map(int, input().split())
T = True
while a > 0 and c > 0:
if T:
c -= b
else:
a -= d
T = not T
print("Yes" if a else "No") | a, b, c, d = map(int, input().split())
T = True
while a > 0 and c > 0:
if T:
c -= b
else:
a -= d
T = not T
print("Yes" if a > 0 else "No") | [] | 450,301 | 450,302 | u633591853 | python |
p02700 | A, B, C, D = list(map(int, input().split()))
while A>0 and B>0:
C -= B
if C < 0:
print("Yes")
break
A -= D
if A < 0:
print("No")
break | A, B, C, D = list(map(int, input().split()))
while A>0 and B>0:
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"
] | 450,305 | 450,306 | u095384238 | python |
p02700 | a,b,c,d=map(int,input().split())
while a>0:
c-=b
if c>0:
a-=d
else:
break
if a<0:
print("No")
else:
print("Yes") | a,b,c,d=map(int,input().split())
while a>0:
c-=b
if c>0:
a-=d
else:
break
if a<=0:
print("No")
elif a>0:
print("Yes") | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,320 | 450,321 | u035453792 | python |
p02700 | a,b,c,d = map(int,input().split())
while a > 0:
c = c - b
if c <= 0:
print('Yes')
exit()
a = a - d
print("no")
| a,b,c,d = map(int,input().split())
while a > 0:
c = c - b
if c <= 0:
print('Yes')
exit()
a = a - d
print("No")
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,324 | 450,325 | u593019570 | python |
p02700 | a,b,c,d=map(int,input().split())
i=0
while a*c>0:
if i%2==0:
c+=(-b)
else:
a+=(-d)
if a>0:
print("Yes")
else:
print("No") | a,b,c,d=map(int,input().split())
i=0
while a*c>0:
if i%2==0:
c+=(-b)
else:
a+=(-d)
i+=1
if a>0:
print("Yes")
else:
print("No") | [] | 450,344 | 450,345 | u196746947 | python |
p02700 | a,b,c,d=map(int,input().split())
print('YNeos'[a//d<c//b::2]) | a,b,c,d=map(int,input().split())
print('YNeos'[~-a//d<~-c//b::2]) | [] | 450,350 | 450,351 | u450983668 | python |
p02700 | a,b,c,d = map(int,input().split())
#L = list(map(int,input()split()))
T = c//b
A = a//d
if c%d>0:
T +=1
if a%d>0:
A +=1
if T >= A:
print("Yes")
else:
print("No") | a,b,c,d = map(int,input().split())
#L = list(map(int,input()split()))
T = c//b
#print(T,c%b,a,b,c,d)
A = a//d
if c%b>0:
#(c%d>0)
T +=1
if a%d>0:
A +=1
#print(T,A)
if T <= A:
print("Yes")
else:
print("No") | [
"identifier.change",
"control_flow.branch.if.condition.change",
"misc.opposites",
"expression.operator.compare.change"
] | 450,356 | 450,357 | u252828980 | python |
p02700 | a,b,c,d=map(int,input().split())
judg=True
while(judg==True):
a-=d
if a<=0:
judg = False
break
c-=b
if c<=0:
judg = False
break
if a<=0:
print("No")
else:
print("Yes") | a,b,c,d=map(int,input().split())
judg=True
while(judg==True):
c-=b
if c<=0:
judg = False
break
a-=d
if a<=0:
judg = False
break
if a<=0:
print("No")
else:
print("Yes") | [
"control_flow.break.remove",
"control_flow.break.add",
"control_flow.branch.if.add"
] | 450,367 | 450,368 | u927807968 | python |
p02700 | A, B, C, D = map(int, input().split())
import math
T = math.ceil(A / D)
M = math.ceil(C / B)
if T > M:
print('Yes')
else:
print('No')
| A, B, C, D = map(int, input().split())
import math
T = math.ceil(A / D)
M = math.ceil(C / B)
if T >= M:
print('Yes')
else:
print('No')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,371 | 450,372 | u500297289 | python |
p02700 | import math
A, B, C, D = input().split()
A = int(A)
B = int(B)
C = int(C)
D = int(D)
E = math.ceil(C/A)
F = math.ceil(D/B)
if E <= F:
print('Yes')
else:
print('No') | import math
A, B, C, D = input().split()
A = int(A) # 高橋の体力
B = int(B) # 高橋の攻撃力
C = int(C) # 青木の体力
D = int(D) # 青木の攻撃力
E = math.ceil(C/B) # 高橋の攻撃回数
F = math.ceil(A/D) # 青木の攻撃回数
if E <= F:
print('Yes')
else:
print('No') | [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 450,373 | 450,374 | u264988409 | python |
p02700 | import math
a,b,c,d=map(int,input().split())
e=math.ceil(c/b)
f=math.ceil(a/d)
if e>f:
print('Yes')
elif e==f:
print('Yes')
else:
print('No') | import math
a,b,c,d=map(int,input().split())
e=math.ceil(c/b)
f=math.ceil(a/d)
if e>f:
print('No')
elif e==f:
print('Yes')
else:
print('Yes') | [
"literal.string.change",
"call.arguments.change",
"io.output.change"
] | 450,378 | 450,379 | u115877451 | python |
p02700 | a,b,c,d= map(int,input().split())
x=0
y=0
x = int(-(-a//d))
y = int(-(-c//b))
print(x,y)
if x < y :
print('No')
else:
print('Yes')
| a,b,c,d= map(int,input().split())
x=0
y=0
x = int(-(-a//d))
y = int(-(-c//b))
if x < y :
print('No')
else:
print('Yes')
| [
"call.remove"
] | 450,383 | 450,384 | u785066634 | python |
p02700 | a,b,c,d= map(int,input().split())
x=0
y=0
x = int(-(-a//d))
y = int(-(-c//b))
if x <= y :
print('Yes')
else:
print('No')
| a,b,c,d= map(int,input().split())
x=0
y=0
x = int(-(-a//d))
y = int(-(-c//b))
if x < y :
print('No')
else:
print('Yes')
| [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 450,385 | 450,384 | u785066634 | python |
p02700 | A, B, C, D = map(int, input().split())
if (C + B - 1) // C <= (A + D - 1) // D:
print('Yes')
else:
print('No')
| A, B, C, D = map(int, input().split())
if (C + B - 1) // B <= (A + D - 1) // D:
print('Yes')
else:
print('No')
| [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,386 | 450,387 | u347640436 | 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"
] | 450,390 | 450,391 | u255943004 | python |
p02700 | A, B, C, D = map(int, input().split())
turn = False
while A > 0 and C > 0:
if turn:
C -= B
else:
A -= D
turn = not turn
if A <= 0:
print('No')
else:
print('Yes') | A, B, C, D = map(int, input().split())
turn = True
while A > 0 and C > 0:
if turn:
C -= B
else:
A -= D
turn = not turn
if A <= 0:
print('No')
else:
print('Yes') | [
"misc.opposites",
"assignment.value.change"
] | 450,392 | 450,393 | u663710122 | python |
p02700 | a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
n+=1
if c-bn<=0:
print('Yes')
else:
print('No') | a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
n+=1
if c-b*n<=0:
print('Yes')
else:
print('No') | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,394 | 450,395 | u932868243 | python |
p02700 | a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
n+=1
if c-b*n<=a-d*n:
print('Yes')
else:
print('No') | a,b,c,d=map(int,input().split())
n=1
while c-b*n>0 and a-d*n>0:
n+=1
if c-b*n<=0:
print('Yes')
else:
print('No') | [
"identifier.replace.remove",
"literal.replace.add",
"control_flow.branch.if.condition.change",
"expression.operation.binary.remove"
] | 450,396 | 450,395 | u932868243 | python |
p02700 | a, b, c, d = map(int, input().split())
while a > 0 or c > 0:
c -= b
a -= d
print("Yes" if c <= 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") | [
"control_flow.loop.condition.change"
] | 450,403 | 450,404 | u126844573 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
a = math.ceil(a/d)
b = math.ceil(b/c)
if a<b:
print('No')
else:
print('Yes')
| import math
a,b,c,d = map(int,input().split())
a = math.ceil(a/d)
b = math.ceil(c/b)
if a<b:
print('No')
else:
print('Yes')
| [
"expression.operation.binary.remove"
] | 450,405 | 450,406 | u796044734 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
a = math.ceil(a/d)
b = math.ceil(b/c)
if a<=b:
print('No')
else:
print('Yes')
| import math
a,b,c,d = map(int,input().split())
a = math.ceil(a/d)
b = math.ceil(c/b)
if a<b:
print('No')
else:
print('Yes')
| [
"expression.operation.binary.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,407 | 450,406 | u796044734 | python |
p02700 | taka_f,taka_p,aoki_f,aoki_p = map(int,input().split())
taka_life_span = -(-taka_f//aoki_p)
aoki_life_span = -(-aoki_f//taka_p)
print("Yes" if taka_life_span > aoki_life_span else "No") | taka_f,taka_p,aoki_f,aoki_p = map(int,input().split())
taka_life_span = -(-taka_f//aoki_p)
aoki_life_span = -(-aoki_f//taka_p)
print("Yes" if taka_life_span >= aoki_life_span else "No") | [
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change"
] | 450,427 | 450,428 | u277314812 | python |
p02700 | a, b, c, d = map(int, input().split())
x = int((a+d-1) / d)
y = int((b+c-1) / b)
if x >= y:
print("YES")
else:
print("NO") | a, b, c, d = map(int, input().split())
x = int((a+d-1) / d)
y = int((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,429 | 450,430 | u727683577 | python |
p02700 | a,b,c,d = [int(i) for i in input().split(" ")]
attack_round_a = c // b if c % b != 0 else c // b + 1
attack_round_b = a // d if a % d != 0 else a // d + 1
print('Yes' if attack_round_a <= b else 'No')
| a,b,c,d = [int(i) for i in input().split(" ")]
attack_round_a = c // b if c % b == 0 else c // b + 1
attack_round_b = a // d if a % d == 0 else a // d + 1
print('Yes' if attack_round_a <= attack_round_b else 'No') | [
"misc.opposites",
"expression.operator.compare.change",
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"io.output.change"
] | 450,439 | 450,440 | u883307604 | python |
p02700 | A, B, C, D = map(int, input().split())
while B or D <= 0:
if C - B <= 0:
print("YES")
break
else:
C -= B
if A - D <= 0:
print("NO")
break
else:
A -=D
| A, B, C, D = map(int, input().split())
while B or D <= 0:
if C - B <= 0:
print("Yes")
break
else:
C -= B
if A - D <= 0:
print("No")
break
else:
A -=D
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,441 | 450,442 | u090729464 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
x=c/b
y=a/d
math.ceil(x)
math.ceil(y)
if x<=y:
print("Yes")
else:
print("No") | import math
a,b,c,d = map(int,input().split())
x=c/b
y=a/d
x=math.ceil(x)
y=math.ceil(y)
if x<=y:
print("Yes")
else:
print("No") | [
"assignment.add"
] | 450,451 | 450,452 | u161155417 | python |
p02700 | A, B, C, D = map(int, input().split())
if ((C+B-1)//B) < ((A+D-1)//D):
print("No")
else:
print("Yes") | A, B, C, D = map(int, input().split())
if ((C+B-1)//B) > ((A+D-1)//D):
print("No")
else:
print("Yes") | [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,461 | 450,462 | u248221744 | python |
p02700 | A_ini, B, C_ini, D = map(int, input().split())
# print(A_ini)
# print(B)
# print(C_ini)
# print(D)
# print()
# print('main')
# print()
C_rem = C_ini - B
A_rem = A_ini - D
# print(C_rem)
# print(A_rem)
if C_rem <= 0 and A_rem > 0:
print('Yes')
elif C_rem <= 0 and A_rem <= 0:
print('Yes')
elif C_rem > 0 and A_rem ... | A_ini, B, C_ini, D = map(int, input().split())
# print(A_ini)
# print(B)
# print(C_ini)
# print(D)
# print()
# print('main')
# print()
C_rem = C_ini - B
A_rem = A_ini - D
# print(C_rem)
# print(A_rem)
if C_rem <= 0 and A_rem > 0:
print('Yes')
elif C_rem <= 0 and A_rem <= 0:
print('Yes')
elif C_rem > 0 and A_rem ... | [
"call.remove"
] | 450,463 | 450,464 | u373594825 | python |
p02700 | a,b,c,d = map(int,input().split())
while 1:
a -= b
if a<1:
print('Yes')
exit()
c-=d
if c<1:
print('No')
exit() | a,b,c,d = map(int,input().split())
while 1:
c -= b
if c<1:
print('Yes')
exit()
a-=d
if a<1:
print('No')
exit() | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,499 | 450,500 | u566529875 | python |
p02700 | t_hp, t_atk, a_hp, a_atk = map(int, input().split())
while (1):
t_hp -= a_atk
if t_hp <= 0:
ans = "Yes"
break
a_hp -= t_atk
if a_hp <= 0:
ans = "No"
break
print(ans) | t_hp, t_atk, a_hp, a_atk = map(int, input().split())
while (1):
a_hp -= t_atk
if a_hp <= 0:
ans = "Yes"
break
t_hp -= a_atk
if t_hp <= 0:
ans = "No"
break
print(ans) | [
"identifier.change",
"control_flow.branch.if.condition.change"
] | 450,501 | 450,502 | u228232845 | python |
p02700 | import math
A, B, C, D = input().split()
T_hp = int(A)
T_atk = int(B)
A_hp = int(C)
A_atk = int(D)
T_burstturn = math.ceil(T_hp / A_atk)
A_burstturn = math.ceil(A_hp / T_atk)
if T_burstturn < A_burstturn:
print("No")
else:
prit("Yes")
| import math
A, B, C, D = input().split()
T_hp = int(A)
T_atk = int(B)
A_hp = int(C)
A_atk = int(D)
T_burstturn = math.ceil(T_hp / A_atk)
A_burstturn = math.ceil(A_hp / T_atk)
if T_burstturn < A_burstturn:
print("No")
else:
print("Yes") | [
"identifier.change",
"call.function.change"
] | 450,516 | 450,517 | u488925368 | python |
p02700 | def Next(): return input()
def NextInt(): return int(Next())
def NextInts(): return map(int,input().split())
def Nexts(): return map(str,input().split())
def NextIntList(): return list(map(int,input().split()))
def RowInts(n): return [input() for i in range(n)]
a,b,c,d= NextInts() #高橋体力a 青木体力c
while((a>0) or (c>0)):
... | def Next(): return input()
def NextInt(): return int(Next())
def NextInts(): return map(int,input().split())
def Nexts(): return map(str,input().split())
def NextIntList(): return list(map(int,input().split()))
def RowInts(n): return [input() for i in range(n)]
a,b,c,d= NextInts() #高橋体力a 青木体力c
while((a>0) and (c>0)):... | [
"control_flow.loop.condition.change"
] | 450,518 | 450,519 | u046247133 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
print("Yes" if math.ceil(c/b) <= math.ceil(d/a) 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") | [
"expression.operation.binary.remove"
] | 450,524 | 450,525 | u184902932 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
print("Yes" if math.ceil(c/b) >= math.ceil(d/a) 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") | [
"misc.opposites",
"expression.operator.compare.change",
"call.arguments.change",
"io.output.change",
"expression.operation.binary.remove"
] | 450,526 | 450,525 | u184902932 | python |
p02700 | A, B, C, D = map(int, input().split())
M = [[A, B], [C, D]]
T, A, HP, AP = 0, 1, 0, 1
atkTtoA = (M[A][HP] + M[T][AP] - 1) / M[T][AP]
atkAtoT = (M[T][HP] + M[A][AP] - 1) / M[A][AP]
if atkAtoT < atkTtoA:
print("No")
else:
print("Yes")
| A, B, C, D = map(int, input().split())
M = [[A, B], [C, D]]
T, A, HP, AP = 0, 1, 0, 1
atkTtoA = (M[A][HP] + M[T][AP] - 1) // M[T][AP]
atkAtoT = (M[T][HP] + M[A][AP] - 1) // M[A][AP]
if atkAtoT < atkTtoA:
print("No")
else:
print("Yes")
| [
"expression.operator.arithmetic.change",
"assignment.value.change",
"expression.operation.binary.change"
] | 450,529 | 450,530 | u393481615 | python |
p02700 | a,b,c,d=map(int,input.split())
while a or c >0:
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())
while a or c >0:
c=c-b
if c<=0:
print('Yes')
break
a=a-d
if a<=0:
print('No')
break
| [
"call.add"
] | 450,548 | 450,549 | u830162518 | python |
p02700 | a = list(map(int,input().split()))
if -(a[0]//a[3]) >= -(a[2]//a[1]):
print("Yes")
else:
print("No") | a = list(map(int,input().split()))
if -(-a[0]//a[3]) >= -(-a[2]//a[1]):
print("Yes")
else:
print("No") | [
"expression.operation.unary.add",
"control_flow.branch.if.condition.change"
] | 450,561 | 450,562 | u460536750 | python |
p02700 | # B
inputs = input().split(' ')
d = inputs[0:2]
takahashi = {'Name': 'Takahashi', 'Hp': int(d[0]), 'Power': int(d[1])}
d = inputs[2:4]
aoki = {'Name': 'Aoki', 'Hp': int(d[0]), 'Power': int(d[1])}
players = [aoki, takahashi]
def compute(players):
N =len(players)
while True:
for i in range(N):
... | # B
inputs = input().split(' ')
d = inputs[0:2]
takahashi = {'Name': 'Takahashi', 'Hp': int(d[0]), 'Power': int(d[1])}
d = inputs[2:4]
aoki = {'Name': 'Aoki', 'Hp': int(d[0]), 'Power': int(d[1])}
players = [takahashi, aoki]
def compute(players):
N =len(players)
while True:
for i in range(N):
... | [] | 450,589 | 450,590 | u609307781 | python |
p02700 | a,b,c,d=map(int,input().split())
while a > 0:
c = c-b
if c < 0:
print('Yes')
exit()
a = a-d
print('No') | a,b,c,d=map(int,input().split())
while a > 0:
c = c-b
if c <= 0:
print('Yes')
exit()
a = a-d
print('No') | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,593 | 450,594 | u776237437 | python |
p02700 | a,b,c,d=map(int,input().split())
while a > 0:
c = c-b
print(c)
if c < 0:
print('Yes')
exit()
a = a-d
print('No') | a,b,c,d=map(int,input().split())
while a > 0:
c = c-b
if c <= 0:
print('Yes')
exit()
a = a-d
print('No') | [
"call.remove",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,595 | 450,594 | u776237437 | python |
p02700 | t_hp, t_pwr, a_hp, a_pwr = map(int, input().split())
while True:
a_hp -= t_pwr
t_hp -= a_pwr
if a_hp < 0:
print("Yes")
break
elif t_hp < 0:
print("No")
break | t_hp, t_pwr, a_hp, a_pwr = map(int, input().split())
while True:
a_hp -= t_pwr
t_hp -= a_pwr
if a_hp <= 0:
print("Yes")
break
elif t_hp <= 0:
print("No")
break | [
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,603 | 450,604 | u004062344 | python |
p02700 | input_line = input().split()
A = int(input_line[0])
B = int(input_line[1])
C = int(input_line[2])
D = int(input_line[3])
while (1):
C -= B
if C <= 0:
print("Yes")
break
A -= D
if A <= 0:
print("no")
break
|
input_line = input().split()
A = int(input_line[0])
B = int(input_line[1])
C = int(input_line[2])
D = int(input_line[3])
while (1):
C -= B
if C <= 0:
print("Yes")
break
A -= D
if A <= 0:
print("No")
break
| [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,605 | 450,606 | u347841247 | python |
p02700 | a,b,c,d = map(int,input().split())
def cmald(a,b,c,d):
while True:
b-=c
if b<=0:
print("Yes")
return
a-=d
if a<=0:
print("No")
return
cmald(a,b,c,d) | a,c,b,d = map(int,input().split())
def cmald(a,b,c,d):
while True:
b-=c
if b<=0:
print("Yes")
return
a-=d
if a<=0:
print("No")
return
cmald(a,b,c,d) | [] | 450,620 | 450,621 | u014250021 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
d1 = math.ceil(C / B)
d2 = math.ceil(A / D)
if d1 <= d2:
print("Yes")
else:
print("No") | import math
a,b,c,d = map(int,input().split())
d1 = math.ceil(c / b)
d2 = math.ceil(a/ d)
if d1 <= d2:
print("Yes")
else:
print("No")
| [
"assignment.value.change",
"identifier.change",
"call.arguments.change",
"expression.operation.binary.change"
] | 450,637 | 450,638 | u806392288 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
if math.ceil(c//b) > math.ceil(a//d):
print("No")
else:
print("Yes") | import math
a,b,c,d = map(int,input().split())
if math.ceil(c/b) > math.ceil(a/d):
print("No")
else:
print("Yes") | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change"
] | 450,639 | 450,640 | u106985169 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
if math.ceil(c//b) > math.ceil(a//d):
print("Yes")
else:
print("No") | import math
a,b,c,d = map(int,input().split())
if math.ceil(c/b) > math.ceil(a/d):
print("No")
else:
print("Yes") | [
"expression.operator.arithmetic.change",
"control_flow.branch.if.condition.change",
"call.remove",
"call.add"
] | 450,641 | 450,640 | u106985169 | python |
p02700 | import math
a,b,c,d = map(int,input().split())
if math.ceil(c/b) <= math.ceil(a/d):
print("YES")
else:
print("NO")
| import math
a,b,c,d = map(int,input().split())
if math.ceil(c/b) <= math.ceil(a/d):
print("Yes")
else:
print("No") | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,642 | 450,643 | u663234149 | python |
p02700 | # encoding="UTF-8"
A,B,C,D = map(int,input().split())
i=0
while i == 0:
C -= B
if C <= 0:
print("Yes")
break
A -= D
if A <= 0:
print("NO")
break | # encoding="UTF-8"
A,B,C,D = map(int,input().split())
i=0
while i == 0:
C -= B
if C <= 0:
print("Yes")
break
A -= D
if A <= 0:
print("No")
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,646 | 450,647 | u193524519 | python |
p02700 | a,b,c,d = map(int, input().split(' '))
t = (c+b-1)//b
t2 = (a+d-1)//d
if t >= t2:
print('Yes')
else:
print('No')
| a,b,c,d = map(int, input().split(' '))
t = (c+b-1)//b
t2 = (a+d-1)//d
if t <= t2:
print('Yes')
else:
print('No')
| [
"misc.opposites",
"expression.operator.compare.change",
"control_flow.branch.if.condition.change"
] | 450,684 | 450,685 | u385825353 | python |
p02700 | a = list(map(int, input().rstrip().split()))
A = a[0]
B = a[1]
C = a[2]
D = a[3]
while True:
C -= B
if C <= 0:
print('yes')
break
A -= D
if A <= 0:
print('no')
break | a = list(map(int, input().rstrip().split()))
A = a[0]
B = a[1]
C = a[2]
D = a[3]
while True:
C -= B
if C <= 0:
print('Yes')
break
A -= D
if A <= 0:
print('No')
break | [
"literal.string.change",
"literal.string.case.change",
"call.arguments.change",
"io.output.change"
] | 450,700 | 450,701 | u775826510 | python |
p02700 | import sys
input = sys.stdin.readline
# B - Battle
def win_takahashi(A, B, C, D):
for i in range(200):
if i % 2 == 0:
if B >= C:
return True
else:
C -= B
else:
if D >= A:
return False
else:
D -= A
A, B, C, D = map(int, input().split())
if win_takahashi(A, B, C, D):
print('Yes')... | import sys
input = sys.stdin.readline
# B - Battle
def win_takahashi(A, B, C, D):
for i in range(200):
if i % 2 == 0:
if B >= C:
return True
else:
C -= B
else:
if D >= A:
return False
else:
A -= D
A, B, C, D = map(int, input().split())
if win_takahashi(A, B, C, D):
print('Yes')... | [] | 450,704 | 450,705 | u409306788 | python |
p02700 | import sys
input = sys.stdin.readline
# B - Battle
def takahashi_win():
A, B, C, D = map(int, input().split())
i = 0
while True:
if i % 2 == 0:
if C-B <= 0:
return True
else:
C -= B
else:
if A-D <= 0:
return False
else:
D -= A
i += 1
if takahashi_win():
print('Yes')
else:
p... | import sys
input = sys.stdin.readline
# B - Battle
def takahashi_win():
A, B, C, D = map(int, input().split())
i = 0
while True:
if i % 2 == 0:
if C-B <= 0:
return True
else:
C -= B
else:
if A-D <= 0:
return False
else:
A -= D
i += 1
if takahashi_win():
print('Yes')
else:
p... | [] | 450,706 | 450,707 | u409306788 | python |
p02700 | import sys
input = sys.stdin.readline
# B - Battle
def win_takahashi(A, B, C, D):
for i in range(300):
if i % 2 == 0:
C -= B
if C <= 0:
return True
else:
D -= A
if A <= 0:
return False
A, B, C, D = map(int, input().split())
if win_takahashi(A, B, C, D):
print('Yes')
else:
prin... | import sys
input = sys.stdin.readline
# B - Battle
def win_takahashi(A, B, C, D):
for i in range(300):
if i % 2 == 0:
C -= B
if C <= 0:
return True
else:
A -= D
if A <= 0:
return False
A, B, C, D = map(int, input().split())
if win_takahashi(A, B, C, D):
print('Yes')
else:
prin... | [] | 450,708 | 450,709 | u409306788 | python |
p02700 | A, B, C, D = [int(s) for s in input().split()]
turn = 0
while A > 0 and C > 0:
if turn == 0:
A -= D
turn = 1
else:
C -= B
turn = 0
if A > 0:
print("Yes")
else:
print("No") | A, B, C, D = [int(s) for s in input().split()]
turn = 0
while A > 0 and C > 0:
if turn == 0:
C -= B
turn = 1
else:
A -= D
turn = 0
if A > 0:
print("Yes")
else:
print("No") | [
"identifier.change"
] | 450,717 | 450,718 | u547375079 | python |
p02700 | a, b, c, d = map(int, input().split())
while a>0 and c>0:
c -= b
a -= d
if a>0:
print("Yes")
else:
print("No")
| a, b, c, d = map(int, input().split())
while a>0 and c>0:
c -= b
a -= d
if c<=0:
print("Yes")
else:
print("No")
| [] | 450,723 | 450,724 | u090406054 | python |
p02700 | a, b, c, d = map(int, input().split())
while a>0 and c>0:
c -= b
a -= d
if a>>o:
print("Yes")
else:
print("No")
| a, b, c, d = map(int, input().split())
while a>0 and c>0:
c -= b
a -= d
if c<=0:
print("Yes")
else:
print("No")
| [] | 450,725 | 450,724 | u090406054 | python |
p02700 | a, b, c, d = map(int, input().split())
while a>0 and c>0:
c -= b
a -= d
if a>o:
print("Yes")
else:
print("No")
| a, b, c, d = map(int, input().split())
while a>0 and c>0:
c -= b
a -= d
if c<=0:
print("Yes")
else:
print("No")
| [] | 450,726 | 450,724 | u090406054 | python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.