problem_id
stringlengths
6
6
user_id
stringlengths
10
10
time_limit
float64
1k
8k
memory_limit
float64
262k
1.05M
problem_description
stringlengths
48
1.55k
codes
stringlengths
35
98.9k
status
stringlengths
28
1.7k
submission_ids
stringlengths
28
1.41k
memories
stringlengths
13
808
cpu_times
stringlengths
11
610
code_sizes
stringlengths
7
505
p02700
u411302151
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['from math import ceil\nA, B, C, D = map(int, input().split())\n\nprint(ceil(C/B) -1 ,ceil(A/D))\nif (ceil(C/B) <= ceil(A/D)):\n print("Yes")\n\nelse:\n print("No")', 'from math import ceil\nA, B, C, D = map(int, input().split())\n\nif (ceil(C/B) -1 <= ceil(A/D)):\n print("Yes")\n\nelse:\n print("No")', 'from math...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s364595487', 's446556562', 's751302538']
[9172.0, 9112.0, 9132.0]
[23.0, 23.0, 25.0]
[157, 129, 151]
p02700
u413473270
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A,B,C,D=map(int,input().split())\na1=C-B\nif a1 <=0 :\n print("Yes")\na2=A-D\nif a2 <=0 :\n print("No")\na3=a1-B\nif a3 <=0 :\n print("Yes")\na4=a2-D\nif a4 <=0 :\n print("No")\na5=a3-B\nif a5 <=0 :\n print("Yes")\na6=a4-D\nif a6 <=0 :\n print("No")\na7=a5-B\nif a7 <=0 :\n print("Yes")\na8=a6-D\n...
['Wrong Answer', 'Accepted']
['s554693997', 's577512662']
[9128.0, 9172.0]
[21.0, 23.0]
[1028, 160]
p02700
u414376763
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d = list(map(int,input().split()))\n\nt_win_turn = a // d\nif a % d > 0:\n t_win_turn += 1\n\na_win_turn = c // b\nif c % b > 0:\n a_win_turn += 1\n\nif t_win_turn <= a_win_turn:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = list(map(int,input().split()))\n\nt_win_turn = c // b\nif c % b > 0:\n t_win_tu...
['Wrong Answer', 'Accepted']
['s773670321', 's295949275']
[9092.0, 9104.0]
[25.0, 29.0]
[211, 212]
p02700
u416758623
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int, input().split())\ni = 0\nwhile True:\n if i % 2 == 0:\n c -= b\n else:\n a -= d\n i += 1\n if a <= 0:\n print("Yes")\n break\n elif c <= 0:\n print("No")\n break\n', 'a,b,c,d = map(int, input().split())\ni = 0\nwhile True:\n if i % 2 == 0:...
['Wrong Answer', 'Accepted']
['s423496586', 's511944004']
[9092.0, 9164.0]
[28.0, 27.0]
[225, 225]
p02700
u423282882
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D= map(int, input().split())\na_score=A/D\nt_score=C/B\nif a_score<t_score:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D= map(int, input().split())\ni=0\nwhile True:\n count=i%2\n if count==0:\n C=C-B\n if C<=0:\n print("Yes")\n break\n elif count==1:\n...
['Wrong Answer', 'Accepted']
['s401594677', 's090566154']
[9108.0, 9112.0]
[23.0, 22.0]
[120, 259]
p02700
u423966555
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A, B, C, D = map(int, input().split())\n\ncnt = 0\nwhile A <= 0 or C <= 0:\n if cnt % 2 == 0:\n C -= B\n else:\n A -= D\n cnt += 1\n\nif A <= 0:\n print('No')\nelse:\n print('Yes')\n", "A, B, C, D = map(int, input().split())\n\ncnt = 0\nwhile A < 0 or C < 0:\n if cnt % 2 == 0:\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s204381687', 's678775841', 's788462572']
[9112.0, 9068.0, 9212.0]
[22.0, 22.0, 21.0]
[223, 220, 228]
p02700
u427231601
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split())\nif a//d < c//b or a/d == c/d:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nif a//d <= c//b:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nif -(-a // d) >= -(-c // b):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s036344629', 's283742771', 's445538116']
[9160.0, 9084.0, 8868.0]
[27.0, 31.0, 27.0]
[103, 90, 102]
p02700
u427690532
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['S_list = list(map(int,input().split()))\nA,B,C,D = S_list\ntakahashi ,aoki = A, C\nwhile takahashi > 0 or aoki > 0:\n aoki = aoki - B\n if aoki <=0:\n break\n takahashi = takahashi - D\n \nif takahashi > aoki:\n result = "Yes"\nelse:\n result = "No"\nprint(result)', 'S_list = list(map(int,inp...
['Wrong Answer', 'Accepted']
['s216354509', 's724638225']
[9096.0, 9008.0]
[28.0, 27.0]
[276, 402]
p02700
u428199834
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A,B,C,D=map(int,input().split())\nif C//B<=A//D:\n print('Yes')\nelse:\n print('No')", "A,B,C,D=map(int,input().split())\nif C//B<=A//D and A/D!=A//D:\n print('Yes')\nelif C//B==A//D and A/D==A//D and C//B==C/B:\n print('Yes')\nelif C//B-1==A//D and C//B==C/B and A//D!=A/D:\n print('Yes')\nelse:\n print('No')\...
['Wrong Answer', 'Accepted']
['s662341374', 's398155700']
[9132.0, 9128.0]
[22.0, 19.0]
[82, 220]
p02700
u429220960
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int, input().split())\ncount = 0\nwhile True:\n if count % 2 == 0:\n C -= B\n else:\n A -= D\n count += 1\n if A <= 0:\n print("No")\n break\n else:\n print("Yes")\n break\n', 'A, B, C, D = map(int, input().split())\ncount = 0\nwhile A <=0 or C...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s037273378', 's734071589', 's872973526', 's971158065', 's133635013']
[9124.0, 9176.0, 9112.0, 8984.0, 9172.0]
[23.0, 21.0, 22.0, 24.0, 20.0]
[233, 197, 237, 289, 262]
p02700
u430726059
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import math\na,b,c,d= map(int,input().split())\nn=math.ceil(float(a)/d)\nm=math.ceil(float(b)/c)\nif n>=m:\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d= map(int,input().split())\nn=math.ceil(float(a)/d)\nm=math.ceil(float(b)/c)\nif n>=m:\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d= ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s203711799', 's359008432', 's715931732', 's870552155', 's901764342', 's000275853']
[9092.0, 9108.0, 9088.0, 8988.0, 9120.0, 9128.0]
[29.0, 26.0, 27.0, 25.0, 28.0, 25.0]
[137, 137, 123, 141, 123, 137]
p02700
u432098488
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["import math\n\nA, B, C, D = map(int, input().split())\n\nnum_A = math.floor(C/B)\nnum_B = math.floor(A/D)\n\nif num_A >= num_B:\n print('Yes')\nelse:\n print('No')", "import math\n\nA, B, C, D = map(int, input().split())\n\nnum_A = math.ceil(C/B)\nnum_B = math.ceil(A/D)\n\nif num_A <= num_B:\n print('Yes')\n...
['Wrong Answer', 'Accepted']
['s971910676', 's412010011']
[9040.0, 9164.0]
[22.0, 24.0]
[159, 157]
p02700
u434609232
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import sys\n\nA, B, C, D = list(map(int, input().split()))\n\nwhile True:\n C -= B\n if C <= 0:\n print("Yes")\n sys.exit()\n A -= D\n if D <= 0:\n print("No")\n sys.exit()', 'import sys\n\nA, B, C, D = list(map(int, input().split()))\n\nwhile True:\n C -= B\n if C <= 0:\...
['Wrong Answer', 'Accepted']
['s846947717', 's244605223']
[9048.0, 9064.0]
[27.0, 29.0]
[200, 200]
p02700
u434630332
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a, b, c, d = map(int, input().split())\n\nwhile c or a >= 0:\n c -= b\n a -= b\n if c <= 0:\n print('Yes')\n break\n if a <= 0:\n print('No')", 'a, b, c, d = map(int, input().split())\n\nwhile c or a >= 0:\n c -= b\n a -= b\n if c <= 0:\n print("Yes")\n break\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s352780995', 's631814825', 's775962171']
[9056.0, 9092.0, 9160.0]
[26.0, 27.0, 25.0]
[165, 165, 179]
p02700
u436660228
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d=,map(int,input(),split())\nhpa=a\nhpc=c\nwhile (hpa!=0) and (hpc!=0):\n hpa=hpa-c\n hpc=hpc-a\n\nif hpa=0:\n print("No")\n\nif hpc=0:\n print("Yes")\n \n ', 'a,b,c,d=map(int,input().split())\nwhile True:\n c-=b\n if c<=0:\n print("Yes")\n break\n \n a-=d\n if a<=0:\n print("No")\n break...
['Runtime Error', 'Accepted']
['s016597658', 's571200139']
[8908.0, 9148.0]
[22.0, 22.0]
[155, 147]
p02700
u439802561
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A, B, C, D = map(int, input().split())\ncounter = 1\nwhile A > 0 and C > 0:\n if counter % 2 == 1:\n \n C -= B\n elif counter % 2 == 0:\n A -= D\nif A <= 0:\n print('No')\nelse:\n print('Yes')", "A, B, C, D = map(int, input().split())\ncounter = 1\nwhile A > 0 and C > 0:\n if count...
['Wrong Answer', 'Accepted']
['s572507179', 's677176406']
[9176.0, 9180.0]
[23.0, 24.0]
[228, 245]
p02700
u440149745
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\nif c % b == 0:\n x = c // b\nelse:\n x = c // b + 1\nif d % a == 0:\n y = d // a\nelse:\n y = d // a + 1\nif x >= y:\n print("Yes")\nelse:\n print("No")\n# print(x, y)\n', 'a, b, c, d = map(int, input().split())\nif c % b == 0:\n x = c // b\nelse:\n x = ...
['Wrong Answer', 'Accepted']
['s258005784', 's778586039']
[9172.0, 9156.0]
[20.0, 23.0]
[213, 213]
p02700
u441246928
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A,B,C,D = map( int, input().split() )\nwhile A > 0 and c > 0:\n C -= B\n if C <= 0:\n print( 'Yes' )\n exit()\n A -= D \n if A <= 0:\n print( 'No' )\n exit()\n", "A,B,C,D = map( int,input().split() )\nwhile A > 0 and c > 0:\n C -= B\n if C <= 0 :\n print( 'Yes' )\n...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s089771219', 's217112759', 's245089772', 's484513213', 's491102629', 's549827194', 's809620420', 's887640651', 's918540154', 's926936828', 's464984980']
[9172.0, 9068.0, 9072.0, 9116.0, 9092.0, 9072.0, 9176.0, 9176.0, 9156.0, 9100.0, 9168.0]
[20.0, 20.0, 24.0, 20.0, 20.0, 24.0, 21.0, 23.0, 21.0, 24.0, 22.0]
[189, 190, 190, 188, 191, 190, 188, 190, 189, 190, 188]
p02700
u441320782
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A,B,C,D=map(int,input().split())\njud1=0\njud2=0\n\nif A%D!=0:\n jud1=A//D+A%D\nelse:\n jud1=A//D\n\nif C%B!=0:\n jud2=C//B+C%B\nelse:\n jud2=C//B\n \nprint(jud1,jud2)\nif jud1>=jud2:\n print("Yes")\nelse:\n print("No")', 'A,B,C,D=map(int,input().split())\nk1=0\nk2=0\n\nif C%B==0:\n k1=C//B\nelse:\n k1=C//B+...
['Wrong Answer', 'Accepted']
['s011915943', 's429104503']
[9196.0, 9176.0]
[22.0, 20.0]
[208, 174]
p02700
u444165875
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d=map(int, input().split())\nwhile True:\n\tb -= c\n\tif c<=0 print("Yes"):\n \tbreak\n\ta -=d\n\tif a<=0 print("No"):\n \tbreak\n', 'a,b,c,d=map(int, input().split())\nwhile\n\tb -= c\n\tif c<=0\n\t\tprint"Yes"\n \t\tbreak\n\ta -=d\n\tif a<=0\n \tprint"No"\n break', 'a,b,c,d=map(int, inpu...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s328164122', 's748534716', 's848339547', 's883123718', 's904799915', 's957672674', 's345495579']
[8916.0, 8820.0, 8912.0, 8828.0, 8944.0, 9012.0, 8900.0]
[23.0, 23.0, 24.0, 22.0, 20.0, 25.0, 22.0]
[132, 125, 146, 142, 112, 128, 138]
p02700
u445036147
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split())\n\nif a - d >= b - c:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = list(map(int,input().split()))\n\nfor i in range(100):\n c= c - b \n\n if c <=0:\n print("Yes")\n break\n a = a- d \n if a <= 0 :\n print("No")\n break\n ']
['Wrong Answer', 'Accepted']
['s969035017', 's906643533']
[9164.0, 9080.0]
[22.0, 22.0]
[93, 198]
p02700
u449446168
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['list = list(map(int, input().split()))\nA = list[0]\nB = list[1]\nC = list[2]\nD = list[3]\n\nwhile A > 0 and B >0:\n C = C - B\n if C =< 0:break\n A = A - D\n\nif A > 0: print("Yes")\nelse: print("No")', 'list = list(map(int, input().split()))\nA = list[0]\nB = list[1]\nC = list[2]\nD = list[3]\n\nwhile A >...
['Runtime Error', 'Accepted']
['s233334590', 's167152094']
[9032.0, 9116.0]
[23.0, 24.0]
[199, 203]
p02700
u449514925
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['# -*- coding: utf-8 -*-\n\nS, W = map(int, input().split())\n\n#s = input()\n#print(s[0:K-1]+s[K-1].lower()+s[K:N])\n\nif S <= W:\n print("unsafe")\nelse:\n print("safe")\n', '# -*- coding: utf-8 -*-\n\nA, B, C, D = map(int, input().split())\n\n#s = input()\n#print(s[0:K-1]+s[K-1].lower()+s[K:N])\n\nwhile(1):\n...
['Runtime Error', 'Accepted']
['s402502655', 's507961393']
[9152.0, 9164.0]
[23.0, 19.0]
[228, 312]
p02700
u450983668
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d=map(int,input().split())\nprint('YNeos'[a//d<c//b::2])", "a,b,c,d=map(int,input().split())\nprint('YNeos'[~-a//d<~-c//b::2])"]
['Wrong Answer', 'Accepted']
['s797636710', 's245604196']
[9016.0, 8972.0]
[21.0, 21.0]
[61, 65]
p02700
u451618391
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a , b , c , d = input().split()\na = int(a)\nb = int(b)\nc = int(c)\nd = int(d)\n\nresult = ""\nwhile True :\n\tc -= b\n\tif c =< 0 :\n\t\tresult ="Yse"\n break\n\t\t\n\ta -= d\n\tif a =< 0 :\n\t\tresult = "No"\n break\nprint(result)\n \n\t\n \n ', 'a , b , c , d = input().split()\na = int(a)\nb = i...
['Runtime Error', 'Accepted']
['s835411550', 's519912791']
[9024.0, 9196.0]
[22.0, 21.0]
[232, 239]
p02700
u452512115
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int, input().split())\n\nfor _ in range(10000):\n\xa0 C -= B\n\xa0 if C <= 0:\n\xa0 \xa0 print("Yes")\n\xa0 \xa0 exit()\n\n\xa0 A -= D\n\xa0 if A <= 0:\n\xa0 \xa0 print("No")\n\xa0 \xa0 exit()\n', 'A, B, C, D = map(int, input().split())\nfor _ in range(10000):\n\xa0 C -= B\n\xa0 if C <= 0:\n\xa0 \xa0...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s447439396', 's484078580', 's509394724', 's354436038']
[8876.0, 9012.0, 8948.0, 9152.0]
[25.0, 18.0, 24.0, 20.0]
[175, 172, 175, 163]
p02700
u453623947
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\n\nif a//d >= c//b :\n print("Yes")\nelse :\n print("No")\n', 'a, b, c, d = map(int, input().split())\n\ntakahashi = a // d\naoki = c // b\n\nif a%d != 0 :\n takahashi += 1\nelse :\n takahashi += 0\n\nif c%b != 0 :\n aoki += 1\nelse :\n aoki += 0\n\nif takahash...
['Wrong Answer', 'Accepted']
['s503799577', 's104608797']
[9152.0, 9176.0]
[24.0, 22.0]
[98, 247]
p02700
u456879806
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int,input().split())\nif A / D <= C / B:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int,input().split())\n\nwhile A > 0 and C > 0:\n A -= D\n C -= B\n\nif C <= 0:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s767502285', 's915843168']
[9108.0, 9108.0]
[29.0, 26.0]
[95, 134]
p02700
u457554982
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['[a,b,c,d]=list(map(int,input().split()))\nans="No"\nchokudai=c//b\nif c%b!=0:\n chokudai+=1\naoki=a//d\nif a%b!=0:\n aoki+=1\nif chokudai>=aoki:\n ans="Yes"\nprint(ans)', '[a,b,c,d]=list(map(int,input().split()))\nans="No"\nchokudai=c//b\nif c%b!=0:\n chokudai+=1\naoki=a//d\nif a%d!=0:\n aoki+=1\nif ch...
['Wrong Answer', 'Accepted']
['s884116525', 's549318476']
[9184.0, 9184.0]
[19.0, 22.0]
[167, 167]
p02700
u459965464
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["x = input().split()\na = int(x[0])\nb = int(x[1])\nc = int(x[2])\nd = int(x[3])\n\nwhile True:\n d -= a\n if d == 0:\n print('Yes')\n break\n b -= c\n if b == 0:\n print('No')\n break\n", "x = input().split()\na = int(x[0])\nb = int(x[1])\nc = int(x[2])\nd = int(x[3])\n\nwhile ...
['Wrong Answer', 'Accepted']
['s398703545', 's372752996']
[9088.0, 9112.0]
[2205.0, 20.0]
[210, 210]
p02700
u460536750
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a = list(map(int,input().split()))\nif -(a[0]//a[3]) >= -(a[2]//a[1]):\n print("Yes")\nelse:\n print("No")', 'a = list(map(int,input().split()))\nif -(-a[0]//a[3]) >= -(-a[2]//a[1]):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s754091262', 's913833917']
[9112.0, 9168.0]
[21.0, 22.0]
[108, 110]
p02700
u463630127
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split())\nwhile True:\n c -= b\n print(c)\n if c <= 0:\n break\n a -= d\n print(a)\n if a <= 0:\n break\n \n', 'a,b,c,d = map(int,input().split())\nwhile True:\n c -= b\n if c <= 0:\n print("Yes")\n break\n a -= d\n if a <= 0:\n ...
['Wrong Answer', 'Accepted']
['s525298771', 's115428988']
[9156.0, 9156.0]
[22.0, 21.0]
[158, 173]
p02700
u466143662
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\n\nif (c // a) >= (b // d):\n print("Yes")\nelse:\n print("No")', 'a, b, c, d = map(int, input().split())\naoki = c\ntaka = a\nfor i in range(max((c // b)+1, (a // d)+1)):\n aoki -= b\n taka -= d\n if aoki <= 0:\n print("Yes")\n break\n elif taka ...
['Wrong Answer', 'Accepted']
['s461728823', 's796099702']
[9100.0, 9184.0]
[24.0, 20.0]
[103, 235]
p02700
u468972478
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\ni = 0\nwhile a <= 0 or c <= 0:\n if i % 2 == 0:\n c -= b\n else:\n a -= d\n i += 1\nprint("Yes" if a > 0 else "No")', 'a, b, c, d = map(int, input().split())\ni = 0\nwhile a > 0 and c > 0:\n if i % 2 == 0:\n c -= b\n else:\n a -= d\n i += 1\nprint("Yes" if a >...
['Wrong Answer', 'Accepted']
['s642052623', 's732147255']
[9168.0, 9156.0]
[27.0, 25.0]
[156, 155]
p02700
u469281291
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["import sys\na,b,c,d=map(int,input().split())\nt = a / d\nao = c / b\nif (t < ao):\n print('Yes')\nelif (t == ao):\n print('Yes')\nelse:\n print('No')", "import sys\nimport math\na,b,c,d=map(int,input().split())\nt = math.ceil(a / d)\nao = math.ceil(c / b)\nif (t < ao):\n print('No')\nelse:\n print('Yes...
['Wrong Answer', 'Accepted']
['s202706654', 's769938048']
[9200.0, 9160.0]
[20.0, 23.0]
[149, 151]
p02700
u469853093
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['ok=True\ni=0\na,b,c,d=map(int,input().split())\nk=c//b\nc-=bk\na-=d(k)\nif(a<=0 and c!=0):\n print("No")\nelse:\n print("Yes")', 'ok=True\ni=0\na,b,c,d=map(int,input().split())\nk=c//b\nc-=b*k\na-=d*(k)\nif(a<=0 and c!=0):\n print("No")\nelse:\n print("Yes")']
['Runtime Error', 'Accepted']
['s880102964', 's447572756']
[9180.0, 9176.0]
[21.0, 24.0]
[123, 125]
p02700
u471217476
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["def io():\n return map(int,input().split())\ndef op():\n return list(map(int,input().split()))\na,b,c,d=io()\nwhile 1:\n c=c-b\n if c<=0:\n print('yes')\n break\n a-=d\n if a<=0:\n print('no')\n break", "def io():\n return map(int,input().split())\ndef op():\n retu...
['Wrong Answer', 'Accepted']
['s662448160', 's982939998']
[9184.0, 9180.0]
[24.0, 24.0]
[234, 234]
p02700
u472534477
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d=map(int, input().split())\n \nfor i in range( 200 ):\n c=c-b\n if c<=0:\n \t\tprint("Yes")\n \t\tbreak\n\ta=a-d\n \tif a<=0:\n \t\tprint("No")\n \t\tbreak', '\n\na,b,c,d=map(int, input().split())\n\nwhile(true):\n c=c-b\n \tif c<=0:\n \t\t\n \t\tprint("Yes")\n \t\tbreak\n a=a-d\n \tif c<=0:\...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s017423716', 's060558949', 's150940991', 's181571242', 's212483984', 's271175069', 's314216209', 's379459697', 's397734579', 's611620236', 's664223334', 's926262028', 's933754152', 's965225789']
[9028.0, 8968.0, 9020.0, 9024.0, 8952.0, 8964.0, 8952.0, 8888.0, 9020.0, 9020.0, 8696.0, 9008.0, 8988.0, 9088.0]
[24.0, 21.0, 23.0, 23.0, 20.0, 20.0, 22.0, 25.0, 20.0, 20.0, 20.0, 20.0, 24.0, 22.0]
[153, 248, 138, 211, 163, 140, 155, 136, 140, 174, 187, 140, 365, 160]
p02700
u473092610
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d=map(int,input().split())\nprint("Yes" if -(-d//a) <=-(-b//c) else "No")', 'a,b,c,d=map(int,input().split())\nwhile(True):\n if (d<=0):\n ans="Yes"\n c=c-b\n if (d<=0):\n ans="Yes"\n break\n a=a-d\n if (b<=0):\n ans="No"\n break\n\nprint(ans)\n\n##print("Yes...
['Wrong Answer', 'Time Limit Exceeded', 'Wrong Answer', 'Accepted']
['s128581363', 's459841496', 's990451384', 's484013225']
[9032.0, 9088.0, 9172.0, 9108.0]
[22.0, 2205.0, 21.0, 23.0]
[81, 255, 170, 260]
p02700
u474260424
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["arr = list(map(int, input().split()))\n\nTAKA = 0\nAOKI = 1\nPH = 0\nPW = 1\n\nuser = [[arr[0], arr[1]], [arr[2], arr[3]]]\n\ntaka = user[TAKA]\naoki = user[AOKI]\nuid = TAKA\n\nwhile (taka[PH] > 0 and aoki[PH] > 0):\n user[(uid + 1) % 2][PH] -= user[uid][PW]\n print(user)\n uid = (uid + 1) % 2\n\n \nresult = 'No...
['Wrong Answer', 'Accepted']
['s913156363', 's099916207']
[9216.0, 9216.0]
[20.0, 22.0]
[328, 333]
p02700
u474561976
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int, input().split(" "))\ntao = a // d \nttk = c // b \n\nif a%d == 0:\n tao -=1\n\nif c%b == 0:\n ttk -=1\n\nprint(tao,ttk)\nif tao >= ttk:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int, input().split(" "))\nta = a // d\ntc = c // b\n\nif ta <= tc:\n print("Yes")\nelse:\n p...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s346525528', 's921242801', 's192327924']
[9180.0, 9112.0, 9084.0]
[22.0, 20.0, 22.0]
[188, 115, 174]
p02700
u479484272
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A,B,C,D =input().split()\nwhile(1):\n C = int(C)-int(B)\n if(int(C) <= 0):\n print("yes")\n break\n A = int(A)-int(D)\n if(int(A) <= 0):\n print("no")\n break\n', 'A,B,C,D =input().split()\nwhile(1):\n C = int(C)-int(B)\n if(int(C) <= 0):\n print("Yes")\n br...
['Wrong Answer', 'Accepted']
['s335106440', 's206920953']
[9168.0, 9072.0]
[22.0, 23.0]
[190, 190]
p02700
u487044452
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d = map(int,input().split())\nwhile True:\n a -=c\n c -=b\n if c <= 0:\n print('No')\n break\n elif a <= 0:\n print('Yes')\n break", "a,b,c,d = map(int,input().split())\nwhile True:\n a -=d\n c -=b\n if c <= 0:\n print('Yes')\n break\n elif a <= ...
['Wrong Answer', 'Accepted']
['s574409693', 's231988717']
[9104.0, 9168.0]
[23.0, 20.0]
[167, 167]
p02700
u488219351
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A = list(map(int, input().split()))\nif A[0]//A[3] >= A[2]//A[1]:\n print("Yes")\nelse :\n print("No") ', 'import math\nA = list(map(int, input().split()))\nif math.ceil(A[0]/A[3]) >= math.ceil(A[2]/A[1]):\n print("Yes")\nelse :\n print("No")']
['Wrong Answer', 'Accepted']
['s501013744', 's469612463']
[9072.0, 9080.0]
[26.0, 27.0]
[105, 136]
p02700
u490127109
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A,B,C,D = map(int, input().split())\nprint("Yes" if C//B <= A//D else "No")', 'A,B,C,D = map(int, input())\nprint("Yes" if C//B <= A//D else "No")', 'A,B,C,D = map(int, input().split())\nprint("Yes" if (C-1)//B <= (A-1)//D else "No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s322092874', 's581833960', 's002183969']
[9096.0, 9160.0, 9104.0]
[20.0, 21.0, 23.0]
[74, 66, 82]
p02700
u490489966
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["#B\nimport math\na, b, c, d = map(int, input().split())\naot = a // d\nhat = c // b\n# print(aot,hat)\nif hat < aot:\n print('No')\nelse:\n print('Yes')", "#B\nimport sys\na, b, c, d = map(int, input().split())\nfor i in range(100):\n c -= b\n if c <= 0:\n print('Yes')\n break\n else:\n ...
['Wrong Answer', 'Accepted']
['s684807398', 's327731037']
[9168.0, 9176.0]
[21.0, 22.0]
[149, 220]
p02700
u492959898
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['\n\n\n\n\na,b,c,d = int(input().split())\n\nwhile c > 0:\n c = c-b\u3000\n if c <= 0:\n print("Yes")\n a = a-d\n if a <= 0:\n print("No")\n ', '\n\n\n\n\na,b,c,d = map(int, input().split())\n\nwhile c > 0:\n c = c-b\u3000\n if c <= 0:\n print("Yes")\n a = a-d\n if a <= 0:\n print("No")\n ', '\n\...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s191666320', 's253613399', 's779175424', 's359019986']
[9016.0, 8948.0, 9012.0, 9160.0]
[19.0, 20.0, 21.0, 22.0]
[225, 230, 233, 273]
p02700
u497046426
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A, B, C, D = map(int, input().split())\ni = 0\nwhile A > 0 and C > 0:\n if i % 2 == 0: C -= B\n else: A -= D\nprint('Yes' if A > 0 else 'No')", "A, B, C, D = map(int, input().split())\ni = 0\nwhile A > 0 and C > 0:\n if i % 2 == 0: C -= B\n else: A -= D\n i += 1\nprint('Yes' if A > 0 else 'No')"]
['Wrong Answer', 'Accepted']
['s655794042', 's012654222']
[9172.0, 9172.0]
[21.0, 22.0]
[142, 153]
p02700
u497188176
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A,B,C,D=map(int,input().split())\nfor i in range(0,99):\n C=C-B\n if C<=0:\n print('Yes')\n break\n else:\n A=A-D\n if A<=0:\n print('No')\n \n", "A,B,C,D=map(int,input().split())\nfor i in range(0,99):\n C=C-B\n if C<=0:\n print('Yes')\n ...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s314215724', 's479201664', 's791749609', 's979987500', 's815171089']
[9168.0, 9028.0, 8956.0, 9176.0, 9204.0]
[23.0, 20.0, 22.0, 21.0, 24.0]
[191, 197, 198, 163, 197]
p02700
u499532879
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['try:\n a,b,c,d=[int(x) for x in input().split()]\n while(a<=0 or c<=0):\n c=c-b\n a=a-d\n \n if(a<=0):\n print("No")\n \n else:\n print("Yes")\n \nexcept:\n pass\n ', 'try:\n a,b,c,d=[int(x) for x in input().split()]\n while(a>0 and c>0):\n c=c-b\n if(c<=0):\n break\n a=a-d\...
['Wrong Answer', 'Accepted']
['s161965432', 's444184892']
[9164.0, 9176.0]
[22.0, 23.0]
[177, 203]
p02700
u500276166
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["buf = input().split()\nth = int(buf[0])\nts = int(buf[1])\nah = int(buf[2])\nas = int(buf[3])\n\nwhile True:\n ah -= ts\n if ah <= 0:\n break\n th -= as\n if th <= 0:\n break\n\nif ah <= 0:\n print('Yes')\nif th <= 0:\n print('No')", "buf = input().split()\nth = int(buf[0])\nts = int(buf[1])\nah = int(buf...
['Runtime Error', 'Accepted']
['s240501629', 's748358685']
[8956.0, 9188.0]
[21.0, 22.0]
[226, 229]
p02700
u505181116
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split(" "))\nwhile True:\n c -= b\n if c <= 0:\n print("yes")\n exit()\n a -= d\n if a <= 0:\n print("yes")\n exit()\n', 'a,b,c,d = map(int,input().split(" "))\nwhile True:\n c -= b\n if c <= 0:\n print("Yes")\n exit()\n a -= d\n if a <= 0:\n print("No")\n exi...
['Wrong Answer', 'Accepted']
['s807497718', 's714471394']
[9160.0, 9168.0]
[24.0, 23.0]
[150, 148]
p02700
u505825680
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['t, a, ta, aa = list(map(int, input().split()))\nwhile(True):\n a -= ta\n if a <= 0:\n print("Yes")\n break\n t -= aa\n if t <= 0:\n print("No")\n break', 'power = list(map(int, input().split()))\nt = 100\na = 100\nfor p in power:\n if p%2 == 0:\n a -= p\n if a <=0:\n print("Yes")\n else:\...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s307430452', 's806702458', 's751747992']
[9172.0, 9176.0, 9172.0]
[22.0, 21.0, 23.0]
[158, 182, 158]
p02700
u508164527
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = (int(x) for x in input().split())\n\nwhile A >= 0:\n C = C-B\n if C <= 0:\n print("Yes")\n quit()\n else:\n A = A-D\nprint("No") ', 'A, B, C, D = (int(x) for x in input().split())\n\nwhile A > 0:\n C = C-B\n if C <= 0:\n print("Yes")\n quit()\n else:\n A = A-D\nprint("No") ']
['Wrong Answer', 'Accepted']
['s270623848', 's513256214']
[9176.0, 9112.0]
[22.0, 22.0]
[146, 144]
p02700
u508426820
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int, input().split())\na = int(C // B) + 1\nc = int(A // D) + 1\nif a <= c:\n print("Yes")\nelse:\n print("No")\n', 'import math\nA, B, C, D = map(int, input().split())\na = math.ceil(C / B)\nc = math.ceil(A / D)\nif a <= c:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s911121302', 's422106698']
[9160.0, 9096.0]
[21.0, 23.0]
[129, 143]
p02700
u509516894
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\nif c // b <= a // d:\n print("Yes")\nelse:\n print("No")\n', 'a, b, c, d = map(int, input().split())\nif (c + b - 1) // b <= (a + d - 1) // d:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s417204490', 's808420121']
[9092.0, 9096.0]
[26.0, 25.0]
[99, 119]
p02700
u516621632
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import math\nif(math.ceil(a/d)>=math.ceil(c/b)):\n print("Yes")\nelse:\n print("No")', 'import math\na, b, c, d = map(int, input().split())\nif(math.ceil(a/d)>=math.ceil(c/b)):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s888822664', 's823450690']
[8940.0, 9028.0]
[24.0, 28.0]
[86, 125]
p02700
u516678561
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A, B, C, D = map(int, input().split(' '))\ntakahashi_dead_count = int(A / D) + 1\naoki_dead_count = int(C / B) + 1\n\nif takahashi_dead_count >= aoki_dead_count:\n print('Yes')\nelse:\n print('No')", "takahashi_hp, takahashi_power, aoki_hp, aoki_power = map(int, input().split(' '))\ntakahashi_attack_count = int...
['Wrong Answer', 'Accepted']
['s760579864', 's886605270']
[9168.0, 9100.0]
[30.0, 27.0]
[196, 405]
p02700
u517674755
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nwhile (A>0 and C>0):\n C = C - B\n if C <= 0:\n break\n A = A - D\nprint("Yes" if C<=0 else "NO")', 'A = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nwhile (A>0 and C>0):\n C = C - B\n if C <= 0:\n ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s281397211', 's290258707', 's846136782', 's232654591']
[9176.0, 9180.0, 9036.0, 9032.0]
[21.0, 20.0, 20.0, 19.0]
[176, 176, 138, 149]
p02700
u521271655
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split())\nif a%d == 0:\n if c%b == 0:\n if a//d + 1 >= c//b:\n print("Yes")\n else:\n print("No")\n else:\n if a//d >= c//b:\n print("Yes")\n else:\n print("No")\nelse:\n if a//d + 1 >= c//b:\n print("Yes...
['Wrong Answer', 'Accepted']
['s499944413', 's389952658']
[9184.0, 8992.0]
[20.0, 24.0]
[337, 167]
p02700
u521866787
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d = map(int,input().split())\n\nif c%b>0:\n x=c//b+1\nelse:\n x=c//b\n\nif a%d>0:\n y=a//d+1\nelse:\n y=a//d\nprint(x,y)\nprint('Yes' if x<=y else 'No')", "a,b,c,d = map(int,input().split())\n\nif c%b>0:\n x=c//b+1\nelse:\n x=c//b\n\nif a%d>0:\n y=a//d+1\nelse:\n y=a//d\nprint('Yes' if x...
['Wrong Answer', 'Accepted']
['s353922835', 's683191351']
[9184.0, 9176.0]
[21.0, 21.0]
[158, 147]
p02700
u524534026
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d = map(int, input().split())\nt = a/d\ns = b/c\nif t > s:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int, input().split())\nt = a/d\ns = c/b\nif s > t:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int, input().split())\nwhile a >= 0 and c >= 0:\n c -= b\n if c <= 0:\n ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s005572475', 's092288612', 's223370440', 's273592783']
[9064.0, 9168.0, 9172.0, 9168.0]
[20.0, 23.0, 20.0, 20.0]
[100, 100, 153, 169]
p02700
u525106896
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int,input().split())\n\n# if a / c >= b / d\nif a * d >= b * c :\n print("Yes")\nelse : print("No")', 'a, b, c, d = map(int,input().split())\n\nif (a - 1) // d + 1 >= (c - 1) // b + 1 :\n print("Yes")\nelse : print("No")\n']
['Wrong Answer', 'Accepted']
['s280932180', 's552152916']
[9164.0, 9152.0]
[22.0, 19.0]
[112, 117]
p02700
u529737989
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["As,Aa,Bs,Ba = map(int,input().split())\nNa = Bs//Aa\nNb = As//Ba\n\nif Na <= Nb:\n print('Yes')\nelse:\n print('No')", "As,Aa,Bs,Ba = map(int,input().split())\nwhile Aa > 0 and Ba > 0:\n Bs += -Aa\n As += -Ba\n\nif Bs <= 0:\n print('Yes')\nelse:\n print('No')", "import math\n\nAs,Aa,Bs,Ba = map(int,input().spli...
['Wrong Answer', 'Time Limit Exceeded', 'Accepted']
['s789796148', 's813721142', 's473085785']
[8996.0, 8980.0, 9044.0]
[26.0, 2206.0, 22.0]
[111, 135, 145]
p02700
u538296348
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["ABCD=input()\nABCD=ABCD.split()\nA=int(ABCD[0])\nB=int(ABCD[1])\nC=int(ABCD[2])\nD=int(ABCD[3])\nwhile(1):\n C=C-B\n if(C<=0):\n print('No')\n break\n A=A-D\n if(A<=0):\n print('Yes')\n break\n", "\nABCD=input()\nABCD=ABCD.split()\nA=int(ABCD[0])\nB=int(ABCD[1])\nC=int(ABCD[2])...
['Wrong Answer', 'Accepted']
['s974710557', 's832206891']
[9096.0, 9188.0]
[23.0, 21.0]
[218, 219]
p02700
u538817603
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import sys, math\ninput = sys.stdin.readline\n\ndef main():\n A, B, C, D = map(int, input().split())\n t = math.ceil(A / D)\n a = math.ceil(B / C)\n\n if t < a:\n print("No")\n else:\n print("Yes")\n\nif __name__ == \'__main__\':\n main()', 'import sys, math\ninput = sys.stdin.readline...
['Wrong Answer', 'Accepted']
['s915506030', 's010211797']
[9180.0, 9180.0]
[25.0, 21.0]
[254, 255]
p02700
u539850805
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\n# print(c/b, a/d)\nprint("Yes") if c/b <= a/d+1 else print("No")\n', 'a, b, c, d = map(int, input().split())\nwhile 1:\n\ta -= d\n\tc -= b\n\tif c <= 0 and a:\n\t\tprint("Yes")\n\t\texit()\n\telif a <= 0 and c:\n\t\tprint("No")\n\t\texit()\n']
['Wrong Answer', 'Accepted']
['s131393781', 's586401319']
[8968.0, 9168.0]
[20.0, 20.0]
[103, 149]
p02700
u542605091
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = input().split()\nprint("No") if (a // d + 1) < (c // b + 1) else print("Yes")', 'a, b, c, d = map(int, input().split())\nprint("No") if (a // d) < (c // b) else print("Yes")', 'import math\na, b, c, d = map(int, input().split())\nprint("No") if math.ceil(a/d) < math.ceil(c/b) else print("Yes")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s081068250', 's729797123', 's005224625']
[8924.0, 9044.0, 9064.0]
[23.0, 22.0, 19.0]
[89, 91, 115]
p02700
u542774596
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split())\nprint(a, b, c, d)\n\nwhile True:\n c -= b\n if c <= 0:\n print("Yes")\n break\n a -= d\n if a <= 0:\n print("No")\n break', 'a, b, c, d = map(int, input().split())\nprint(a, b, c, d)\n\nwhile a > 0 or c > 0:\n a -= d\n if a == 0:\n print("No")\n break\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s235894513', 's474971950', 's926229669']
[9104.0, 9164.0, 9176.0]
[24.0, 25.0, 23.0]
[166, 170, 148]
p02700
u545213416
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a, b, c, d = map(int, input().split())\nprint(a,b,c,d)\nwhile (a >0 or c >0):\n c = c - b\n if (c < 1):\n break\n a = a - d\n print(a,b,c,d)\nprint('Yes' if (a>c) else 'No')", "a, b, c, d = map(int, input().split())\nprint(a,b,c,d)\nwhile (a >0 or c >0):\n c = c - b\n if (c < 1):\n bre...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s100224988', 's521828040', 's208413882']
[9156.0, 9188.0, 9164.0]
[20.0, 21.0, 23.0]
[184, 217, 183]
p02700
u547375079
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = [int(s) for s in input().split()]\nturn = 0\nwhile True:\n if A <= 0 and C > 0:\n print("No")\n elif A > 0 and C <= 0:\n \tprint("Yes")\n \n if turn == 0:\n A -= D\n turn = 1\n else:\n C -= B\n turn = 0', 'A, B, C, D = [int(s) for s in input().split()]\nturn = 0\nwhile A > 0 and C > ...
['Time Limit Exceeded', 'Runtime Error', 'Accepted']
['s152162588', 's848075664', 's662821069']
[9040.0, 9012.0, 9124.0]
[2206.0, 20.0, 20.0]
[222, 194, 195]
p02700
u549494450
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['n = input().split(" ")\na = int(n[0])\nb = int(n[1])\nc = int(n[2])\nd = int(n[3])\nfor i in range(100):\n c += -b\n if c <= 0:\n print("Yes")\n break\n a += -d\n if d <= 0:\n print("No")\n break', 'n = input().split(" ")\na = int(n[0])\nb = int(n[1])\nc = int(n[2])\nd = int(n[...
['Wrong Answer', 'Accepted']
['s260079911', 's846823335']
[9188.0, 9180.0]
[20.0, 27.0]
[222, 223]
p02700
u551066908
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import sys\nA,B,C,D = list(map(int,input().split()))\n\nwhile True:\n C = C - B\n A -= D\n print(C)\n print(A)\n if C <= 0:\n print("Yes")\n sys.exit(1)\n elif A <= 0:\n print("No")\n sys.exit(1)', 'import sys\nA,B,C,D = list(map(int,input().split()))\n\nwhile True:\n C = C - B\n A -= D\n if C <=...
['Runtime Error', 'Accepted']
['s720179662', 's148495790']
[9180.0, 9168.0]
[24.0, 23.0]
[200, 179]
p02700
u551437236
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int, input().split())\n\nif C/B >= A/D+1:\n print("No")\nelse:\n print("Yes")\n', 'A, B, C, D = map(int, input().split())\n\nif C/B > A/D+1:\n print("No")\nelse:\n print("Yes")\n', 'A, B, C, D = map(int, input().split())\n\nwhile True:\n C -= B\n if C<=0:\n print("Yes")\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s002572826', 's219533030', 's963712609']
[9156.0, 9156.0, 9156.0]
[21.0, 23.0, 23.0]
[96, 95, 195]
p02700
u553459461
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['th, ts, ah,as = map(int, input().spilt())\nturn = 1\n#1 represent takashi monster turn\n\nwhile(1):\n if(turn):\n ah-=ts\n if(ah<=0):\n print("No")\n break\n else:\n th-=as\n if(th<=0):\n print("Yes")\n break\n turn^=1\n ', 'th, tMon, ah, aMon = map(int, input().split())\nturn = 1...
['Runtime Error', 'Accepted']
['s907114423', 's255761205']
[8788.0, 9184.0]
[21.0, 24.0]
[271, 278]
p02700
u556587877
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["hT, sT, hA, sA = map(int, input().split())\nwin = ''\nwhile True:\n hA = hA-sT\n if hA <= 0:\n win = 'yes'\n break\n hT = hT - sA\n if hT <= 0:\n win = 'no'\n break\nprint(win)", "hT, sT, hA, sA = map(int, input().split())\nwin = ''\nwhile True:\n hA = hA-sT\n if hA <= 0:...
['Wrong Answer', 'Accepted']
['s340366701', 's984001369']
[9088.0, 9088.0]
[23.0, 21.0]
[205, 205]
p02700
u556589653
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split())\nif c%b == 0:\n x = c//b\nelse:\n x = c//b+1\nif d%a == 0:\n y = d//a\nelse:\n y = d//a+1\nif x == y:\n print("Yes")\nelif x > y:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nfor i in range(10**3):\n c -= b\n if c <= 0:\n print("Yes")\n b...
['Wrong Answer', 'Accepted']
['s862853489', 's824658639']
[9128.0, 9076.0]
[30.0, 28.0]
[193, 154]
p02700
u556594202
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['print(C/B)\nprint(A/D)\nif (math.ceil(C/B)-math.ceil(A/D))<1:\n print("Yes")\nelse:\n print("No")', 'import math\nA,B,C,D = list(map(int,input().split()))\n\nif (math.ceil(C/B)-math.ceil(A/D))<1:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s705369173', 's169153537']
[9000.0, 9160.0]
[25.0, 27.0]
[98, 131]
p02700
u556610039
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import math\na, b, c, d = map(int, input().split())\nif math.ceil(a / d) <= math.ceil(c / b) : print("Yes")\nelse: print("No")', 'a, b, c, d = map(int, input().split())\nif a * b <= c * d : print("Yes")\nelse: print("No")', 'import math\na, b, c, d = map(int, input().split())\nif math.ceil(c / b) <= math.ceil(a / d)...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s170050994', 's609444998', 's768592170']
[9104.0, 9156.0, 9160.0]
[20.0, 23.0, 20.0]
[123, 89, 124]
p02700
u558717347
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["class monster:\n stamina = 0\n attack= 0\n def __init__(self,stamina,attack):\n self.stamina = stamina\n self.attack = attack\n\n\nabcd = input().split()\nabcd=[int(x) for x in abcd]\na = abcd[0]\nb = abcd[1]\nc = abcd[2]\nd = abcd[3]\n\n\n\ntaka = monster(a,b)\naoki = monster(c,d)\n\nwhile(1):...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s039822978', 's166035919', 's204481756', 's035794321']
[9220.0, 9204.0, 9116.0, 9080.0]
[26.0, 21.0, 23.0, 23.0]
[527, 535, 504, 543]
p02700
u558867581
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d=map(int,input().split())\nprint("Yes" if a/d<=c/b else "No")', "a,b,c,d=map(int,input().split())\nprint('Yes' if (a+d-1)//d >= (c+b-1)//b else 'No')"]
['Wrong Answer', 'Accepted']
['s012306241', 's054776200']
[9160.0, 9124.0]
[23.0, 21.0]
[67, 83]
p02700
u562015767
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['th,ta,ah,aa = map(int,input().split())\ncnt_t = 0\ncnt_a = 0\n\nwhile ah >= 0:\n ah = ah - ta\n cnt_t += 1\n\nwhile th >= 0:\n th = th - aa\n cnt_a += 1\n\nif cnt_t > cnt_a or cnt_t == cnt_a:\n print("Yes")\nelse:\n print("No")', 'th,ta,ah,aa = map(int,input().split())\ncnt_t = 0\ncnt_a = 0\n\nfor i...
['Wrong Answer', 'Accepted']
['s848339749', 's476414230']
[9176.0, 9168.0]
[23.0, 23.0]
[230, 241]
p02700
u562577097
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a, b, c, d = map(int, input().split(" "))\ni = 0\nwhile a > 0 or c > 0:\n if i%2 == 0:\n c -= b\n else:\n a -= d\n i += 1\nprint("YNeos"[i%2::2])', 'a, b, c, d = map(int, input().split(" "))\ni = 0\nwhile a > 0 or c > 0:\n if i%2 == 0:\n c -= b\n else:\n a -= d\n i += 1\nprint("YNeos"[i%2::2])...
['Runtime Error', 'Time Limit Exceeded', 'Accepted']
['s065169875', 's590407628', 's715509240']
[8968.0, 9068.0, 9392.0]
[20.0, 2206.0, 26.0]
[150, 148, 424]
p02700
u564837886
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a, b, c, d = map(int, input().split())\nwhile a >= 0 and c >= 0:\n c -= b\n a -= d\n \nif c <= 0:\n print('Yes')\nelse:\n print('No')", "a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n a -= d\n \nif c <= 0:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s631656164', 's563215842']
[9164.0, 9156.0]
[21.0, 21.0]
[130, 129]
p02700
u565761178
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['import math\nA,B,C,D = map(int,input().split())\nprint("Yes" if math.ceil(C/B) >= math.ceil(A/D) else "No")', 'import math\nA,B,C,D = map(int,input().split())\nprint("Yes" if math.ceil(C/B) <= math.ceil(A/D) else "No")']
['Wrong Answer', 'Accepted']
['s152697769', 's142213117']
[9144.0, 9148.0]
[21.0, 24.0]
[105, 105]
p02700
u567664824
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A,B,C,D = input().split(" ")\ncount = 0\nwhile (count!=0):\n C = int(C) - int(B)\n if int(C)<=0: \n print(Yes)\n count = count + 1\n else: \n continue\n A = int(A) - int(D)\n if int(A)<=0: \n print(No)\n count = count + 1\n else: \n continue', 'A, B, C, D = input().split(" ")\ncount = 0\nwhile...
['Wrong Answer', 'Accepted']
['s825245116', 's496725961']
[9068.0, 9196.0]
[24.0, 24.0]
[251, 344]
p02700
u568576853
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d=map(int,input().split())\nwhile a<=0 or c<=0:\n c-=b\n if c<=0:\n print('Yes')\n exit()\n a-=d\n if a<=0:\n print('No')\n exit()", "a,b,c,d=map(int,input().split())\nwhile a>0 or c>0:\n c-=b\n if c<=0:\n print('Yes')\n exit()\n a-=d\n if a<=0:\...
['Wrong Answer', 'Accepted']
['s856917254', 's317321985']
[9172.0, 9112.0]
[23.0, 23.0]
[167, 165]
p02700
u568789901
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['def fight(a,b):\n if b%a==0:\n return b//a\n else:\n return (b//a)+1\nA,B,C,D=map(int,input().split())\nif fight(A,C)>=fight(B,D):\n print("No")\nelse:\n print("Yes")\n', 'def fight(a,b):\n if b%a==0:\n return b//a\n else:\n return (b//a)+1\nA,B,C,D=map(int,input().split(...
['Wrong Answer', 'Accepted']
['s053024990', 's908171131']
[9156.0, 9156.0]
[22.0, 22.0]
[184, 183]
p02700
u569776981
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a, b, c, d = map(int,input().split())\nwhile a >= 0 or c >= 0:\n c -= b\n a -= d\nprint(c)\nprint(a)\nif c <= 0:\n print('Yes')\nelse:\n print('No')\n", "a, b, c, d = map(int,input().split())\nwhile a >= 0:\n c -= b\n a -= d\n\nif c <= 0:\n print('Yes')\nelse:\n print('No')", "a, b, c, d = map...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s302524001', 's515923549', 's629199307', 's126902544']
[9096.0, 9100.0, 9080.0, 9096.0]
[27.0, 26.0, 29.0, 29.0]
[152, 124, 134, 123]
p02700
u571647099
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['a,b,c,d = map(int,input().split())\nif a / d > c / d:\n print("Yes")\nelif a / d == c / d:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d == map(int,input().split())\nif a % d = 0:\n e = a / d\nelse:\n e = a / d + 1\n\nif c % d == 0:\n f = c / b\nelse:\n f = a / d + 1\n \nif e > f:\n print(...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s312238433', 's396806135', 's984421107']
[9148.0, 8868.0, 9024.0]
[21.0, 22.0, 19.0]
[129, 225, 171]
p02700
u573332356
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int, input().split())\ncount = 0\n\nwhile True:\n if(count % 2 == 0):\n C = C - B\n count = count + 1\n else:\n A = A - D\n count = count + 1\n print(C, A)\n if (A <= 0):\n print("No")\n break\n\n elif(C <= 0):\n print("Yes")\n br...
['Wrong Answer', 'Accepted']
['s327570104', 's914192166']
[9092.0, 9108.0]
[20.0, 24.0]
[305, 289]
p02700
u574565611
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A,B,C,D = map(int(input().split()))\nwhile A>0 and C>0:\n C-=B\n if C <= 0:\n print("Yes")\n else:\n A-=D\n if A <= 0:\n print("No")\n', 'A,B,C,D = map(int,input().split())\nwhile A > 0 and C > 0:\n C -= B\n if C <= 0:\n print("Yes")\n else:\n A -= D\n if A <= 0:\n ...
['Runtime Error', 'Accepted']
['s457365940', 's345790307']
[8880.0, 9076.0]
[24.0, 20.0]
[142, 172]
p02700
u578093902
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a_hp,a_at,b_hp,b_at = map(int,input().split())\nn = b_hp//a_at\nm = a_hp//b_at\nif n<=m+1:\n print('Yes')\nelse:\n print('No')\n", "a_hp,a_at,b_hp,b_at = map(int,input().split())\nAn = b_hp//a_at\nBlit = b_hp%a_at\nBn = a_hp//b_at\nAlit = a_hp%b_at\nif Blit != 0:\n An += 1\nif Alit != 0:\n Bn += 1\nprint(...
['Wrong Answer', 'Accepted']
['s239037280', 's217364481']
[9104.0, 9176.0]
[23.0, 22.0]
[127, 197]
p02700
u578441226
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d = map(int, input().split())\ncb = c // b\nad = a // d\nprint('No' if (cb < ad) else 'Yes')", "import math\na,b,c,d = map(int, input().split())\ncb = math.ceil(c / b)\nad = math.ceil(a / d)\nprint('Yes' if (cb <= ad) else 'No')"]
['Wrong Answer', 'Accepted']
['s816143700', 's302784953']
[9168.0, 9192.0]
[21.0, 21.0]
[96, 129]
p02700
u578647703
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
['A, B, C, D = map(int, input().split())\n\naoki_count = A//D\ntakahashi_count = C//B\n\nif aoki_count < takahashi_count:\n print("Yes")\nelif aoki_count == takahashi_count:\n if A%D >= 0:\n print("Yes")\n else:\n print("No")\nelif aoki_count > takahashi_count:\n print("No")', 'A, B, C, D = ma...
['Wrong Answer', 'Accepted']
['s021592716', 's907343473']
[9028.0, 9112.0]
[21.0, 21.0]
[286, 194]
p02700
u579015878
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A,B,C,D=map(int,input().split())\na=A//D\nb=C//B\nif a>b:\n print('Yes')\n \nif a==b:\n if A%D==0:\n print('No')\n else:\n print('Yes')\n \nif a==b-1:\n if C%B==0:\n print('Yes')\n else:\n print('No')\n \nelse:\n print('No')", "A,B,C,D=map(int,input().split())\na=A//D\nb=C//B\nif a>b:\n prin...
['Wrong Answer', 'Accepted']
['s750498953', 's424839775']
[9108.0, 9184.0]
[21.0, 20.0]
[230, 256]
p02700
u579746769
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["li=[input() for i in range(4)]\n\nwhile ((li[0]>0) and (li[2]>0)):\n li[2]=li[2]-li[1]\n if li[2]<=0:\n print('Yes')\n li[0]=li[0]-li[3]\n if li[0]<=0:\n print('No')\n", "li=list(map(int,input().split()))\n\nA=li[0]\nB=li[1]\nC=li[2]\nD=li[3]\n\nwhile ((A>0) and (C>0)) :\n C=C-B\n if C<=0:\n prin...
['Runtime Error', 'Accepted']
['s277703476', 's939777935']
[9032.0, 9212.0]
[21.0, 21.0]
[174, 185]
p02700
u583619578
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a,b,c,d = [int(i) for i in input().split()]\n\nwhile a > 0 and c > 0:\n c =- b\n a =- d\n\nif a <= 0:\n print('No')\nif c <= 0:\n print('Yes')\n \n", "a,b,c,d = [int(i) for i in input().split()]\n\nwhile a > 0 and c > 0:\n c =- b\n if c <= 0:\n print('Yes')\n a =- d\n if a <= 0:\n print('No')\n", "a,...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s131924233', 's888464102', 's954317276']
[9104.0, 9040.0, 9164.0]
[21.0, 27.0, 22.0]
[142, 146, 161]
p02700
u586857375
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["A,B,C,D = list(map(int, input().split()))\nE = A//C\nF = D//B\nif F >= E:\n print('Yes')\n\nelse:\n print('No')", "from math import inf\nA,B,C,D = map(int, input().split())\nfor i in range(inf):\n if i % 2 == 0:\n D -= A\n if D == 0:\n print('Yes')\n break\n else:\n ...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s056039257', 's204852530', 's244217703', 's260790994', 's387263027', 's588570250', 's883879645', 's286371265']
[9156.0, 9180.0, 9152.0, 9060.0, 9100.0, 9180.0, 9104.0, 9168.0]
[20.0, 21.0, 21.0, 20.0, 2205.0, 2206.0, 21.0, 22.0]
[110, 259, 142, 144, 269, 279, 142, 164]
p02700
u588048170
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and D, respectively. The two monsters will take turns attacking, in the order Takahashi's, Aoki's, Takahashi's, Aoki's, ... Here, an attack decreases ...
["a, b, c, d = map(int, input().split())\nwhile True:\n c-=b\n if c <= 0:\n print('No')\n break\n a-=d\n if a <= 0:\n print('Yes')\n break", "a, b, c, d = map(int, input().split())\nwhile True:\n c - = b\n if c <= 0:\n print('No')\n break\n a - = d\n if ...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s270507146', 's290658323', 's800519579', 's854816786', 's272997302']
[9156.0, 9012.0, 9164.0, 9040.0, 9164.0]
[20.0, 20.0, 22.0, 21.0, 19.0]
[167, 173, 167, 149, 168]