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
u588526762
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,W=map(int,input().split())\nif S<=W:\n print("unsafe")\nelse:\n print("safe")', 'a=list(map(int,input().split()))\ntakahashi=0\ntakahashicount=0\naoki=0\naokicount=0\n\nfor i in range(a[2]):\n aoki+=a[1]\n if (a[2]-aoki)>0:\n aokicount+=1\n elif (a[2]-aoki)==0:\n break\n else:\n ...
['Runtime Error', 'Accepted']
['s540381107', 's084508442']
[9140.0, 9144.0]
[20.0, 23.0]
[81, 538]
p02700
u588557741
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 ...
['# 164\n\n\n\n\n\n\n\n\nA,B,C,D = map(int,input().split())\n\nwhile A>0 and C>0:\n C = C-B\n A = A-D\n\nif C <= 0:\n print("YES")\nelse:\n print("NO")\n\n', '# 164\n\n\n\n\n\n\n\n\nA,B,C,D = map(int,input().split())\n\nwhile A>0 and C>0:\n C = C-B\n A = A-D\n\nif C <= 0:\n print("Yes")\nelse:\n ...
['Wrong Answer', 'Accepted']
['s219029197', 's962089258']
[9060.0, 9148.0]
[27.0, 31.0]
[596, 596]
p02700
u591224180
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 if A>0 and C>0:\n A-=D\n C-=B\nif C>0:\n print('No')\nelse:\n print('Yes')", "A,B,C,D=map(int,input().split())\nwhile A>0 and C>0:\n A-=D\n C-=B\nif C>0:\n print('No')\nelse:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s646174636', 's581358091']
[8948.0, 9064.0]
[20.0, 20.0]
[119, 116]
p02700
u593019570
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 a =< 0:\n c = c - b\n if c <= 0:\n print(\'Yes\')\n exit()\n a = a - d\n\nprint("no")', 'a,b,c,d = map(int,input().split())\n\nwhile a > 0:\n c = c - b\n if c <= 0:\n print(\'Yes\')\n exit()\n a = a - d\n\nprint("no")\n', 'a,b,c,d = map(int,input().split()...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s586212033', 's642179181', 's516401591']
[8940.0, 9028.0, 9076.0]
[24.0, 23.0, 23.0]
[127, 127, 127]
p02700
u596536048
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 C / B <= A / D + 1 else 'No')", 'health1, strength1, health2, strength2 = map(int, input().split())\nwhile health1 > 0 and health2 > 0:\n health2 -= strength1\n if health...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s873161801', 's875952285', 's021509975']
[8960.0, 8996.0, 9168.0]
[28.0, 28.0, 28.0]
[82, 83, 262]
p02700
u597622207
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\nt = a / d + 1\na = c / b\n\nif a >= t:\n print("No")\nelse:\n print("Yes")', 'a,b,c,d = map(int, input().split(\' \'))\n\nt,tmod = divmod(a, d)\na,amod = divmod(c , b)\n\nif tmod >0:\n t = t+1\nif amod >0:\n a = a+1\n\nif a > t:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s140800333', 's753475569']
[9164.0, 8988.0]
[21.0, 21.0]
[110, 175]
p02700
u598924163
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#print(a,b,c,d)\nwhile((a or c) > 0):\n c -= b\n a -= d\n #print(a,c)\n\nif(c <= 0):\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int,input().split())\n\n#print(a,b,c,d)\nisWin = True\n\nwhile(True):\n c -= b\n if(c <= 0):\n break\n a -= d\n...
['Wrong Answer', 'Accepted']
['s701967920', 's645034444']
[9136.0, 9176.0]
[22.0, 21.0]
[162, 238]
p02700
u599004729
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\nif A // D <= C // B:\n print('yes')\nelse:\n print('no')\n\n", "A, B, C, D = list(map(int, input().split()))\n\nif A // D <= C // B:\n print('Yes')\nelse:\n print('No')\n", "import math\nA, B, C, D = list(map(int, input().split()))\n\nif math.ceil(A / D) >= ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s399105302', 's957373797', 's528646992']
[9092.0, 9156.0, 9100.0]
[22.0, 25.0, 23.0]
[107, 106, 138]
p02700
u600261652
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*C > 0:\n C = C - B\n A = A - D\nprint("Yes" A>0 else "No")', 'A, B, C, D = map(int, input().split())\nTcount = 0\nAcount = 0\nwhile C > 0:\n C = C -B\n Acount = Acount + 1\nwhile A > 0:\n A = A - D\n Tcount = Tcount + 1\nprint("Yes" if Tcount >= Acount else "No")'...
['Runtime Error', 'Accepted']
['s645519726', 's197980372']
[9032.0, 9184.0]
[22.0, 22.0]
[104, 196]
p02700
u601235270
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 <= b:\n print("Yes")\n break\n a -=d\n if a <= d:\n print("No")\n break', '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']
['s293190877', 's684276319']
[9064.0, 9168.0]
[20.0, 19.0]
[165, 165]
p02700
u602128502
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 ...
['h1_init,a_t,h2_init,a_a = list(map(int, input().split()))\nh1=h1_init\nh2=h2_init\n\nwhile h1>=0 or h2>=0:\n h2=h2-a_t\n if h2<=0:\n print("yes")\n break\n \n h1=h1-a_a\n if h1<=0 :\n print("no")\n break', 'h1_init,a_t,h2_init,a_a = list(map(int, input().split()))\nh1=h1_init\nh2=h2_init\n\nwhile h...
['Wrong Answer', 'Accepted']
['s108722209', 's969285792']
[9184.0, 9180.0]
[23.0, 22.0]
[209, 209]
p02700
u602620094
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_hp_str,t_atack_str,a_hp_str,a_atack_str= input().split()\nt_hp = int(t_hp_str)\nt_atack = int(t_atack_str)\na_hp=int(a_hp_str)\na_atack = int(a_atack_str)\n\nwhile True:\n if num%2 == 0:\n a_hp = a_hp - t_atack\n if a_hp <= 0:\n print("Yes")\n break\n else:\n t_hp = t_hp - a_atack\n if t_hp ...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s062284017', 's066203428', 's904304809', 's183739106']
[9140.0, 9120.0, 9164.0, 9152.0]
[24.0, 25.0, 23.0, 23.0]
[341, 317, 340, 352]
p02700
u604269317
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 ...
['taka_life, taka_at, aoki_life, aoki_at = list(map(int, input().split())) \nnum=1\nfor i in range(10000):\n if num % 2 != 0:\n aoki_life -= taka_at\n elif num % 2 == 0:\n taka_life -= aoki_at\n \n if taka_life <= 0:\n print("No")\n break\n elif aoki_life <= 0:\n print("Yes")\n break', 'a, b, c...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s011934136', 's050345284', 's051055361', 's298351191', 's389682365', 's431370966', 's839879299', 's897598204', 's913838485', 's121209126']
[9064.0, 9116.0, 9100.0, 9208.0, 9160.0, 9148.0, 9188.0, 9176.0, 9168.0, 8996.0]
[22.0, 22.0, 20.0, 21.0, 20.0, 22.0, 22.0, 22.0, 20.0, 20.0]
[294, 105, 139, 284, 180, 127, 295, 289, 122, 117]
p02700
u606878291
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 def __init__(self, atk, hp):\n self.atk = atk\n self.hp = hp\n\n def atk_to(self, other):\n other.hp -= self.atk\n\n def is_dead(self):\n return self.hp <= 0\n\n\ndef main(a, b, c, d):\n tkhs = Monster(a, b)\n aok = Monster(c, d)\n monsters = (tkhs, aok)\...
['Wrong Answer', 'Accepted']
['s752899168', 's587784158']
[9220.0, 9188.0]
[21.0, 24.0]
[731, 266]
p02700
u607155447
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())\n\nE = math.ceil(A//D)\nF = math.ceil(C//B)\n\nif E >= F:\n print('Yes')\nelse:\n print('No')", "import math\nA, B, C, D = map(int, input().split())\n\nE = math.ceil(A/D)\nF = math.ceil(C/B)\n\nif E >= F:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s151019717', 's656160217']
[9008.0, 8956.0]
[25.0, 29.0]
[142, 141]
p02700
u608454345
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 -= D\n C -= B\n if A < 0:\n print("No"):\n break\n if C < 0:\n print("Yes")\n break', 'A,B,C,D = map(int,input().split())\nwhile True:\n print(A,C)\n C -= B\n if C <= 0:\n print("Yes")\n break\n A -= D\n if A <= 0:\n print("No")\n br...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s354512513', 's680235893', 's369188454']
[8964.0, 9148.0, 9140.0]
[20.0, 22.0, 23.0]
[142, 158, 145]
p02700
u608777907
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\ninput = sys.stdin.readline\n\n\ndef solve():\n t_stamina, t_attack, a_stamina, a_attack = map(int, input().split())\n t_num_attack_to_be_beaten = - (-t_stamina // a_attack)\n a_num_attack_to_be_beaten = - (-a_stamina // t_attack)\n\n if t_num_attack_to_be_beaten >= a_num_attack_to_be_beaten:...
['Wrong Answer', 'Accepted']
['s485373705', 's893283068']
[9148.0, 9172.0]
[22.0, 22.0]
[428, 428]
p02700
u609307781
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 ...
["inputs = input().split(' ')\n\nd = inputs[0:2]\ntakahashi = {'Name': 'Takahashi', 'Hp': int(d[0]), 'Power': d[1]}\nd = inputs[2:4]\naoki = {'Name': 'Aoki', 'Hp': int(d[0]), 'Power': d[1]}\n\nplayers = [aoki, takahashi]\nN =len(players)\nwhile True:\n for i in range(N):\n players[i-1]['HP'] -= players[i]['Po...
['Runtime Error', 'Runtime Error', 'Time Limit Exceeded', 'Time Limit Exceeded', 'Accepted']
['s072010045', 's422391218', 's491908917', 's708549796', 's829778549']
[9220.0, 9220.0, 11924.0, 15092.0, 9224.0]
[26.0, 25.0, 2215.0, 2218.0, 24.0]
[473, 478, 544, 488, 589]
p02700
u612635771
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 | C//B <= 1:\n\tprint("Yes")\nelse: \n\tprint("No")', 'A, B, C, D = map(int, input().split())\nprint("Yes" if (A+D)//D >= (C+B)//B else "No")', 'A, B, C, D = map(int, input().split())\nif C/B <= A/D || C/B <= 1:\n\tprint("Yes")\nelse: \n\tprint("No")', 'A,...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s407369592', 's738498794', 's816799097', 's899609531', 's621900972']
[9052.0, 9088.0, 8956.0, 8816.0, 9140.0]
[26.0, 27.0, 23.0, 22.0, 25.0]
[104, 85, 102, 102, 89]
p02700
u614181788
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())\n\nx = math.floor(a/c)\ny = math.floor(c/d)\nif x > y:\n print('No')\nelse:\n print('Yes')", "a,b,c,d = map(int,input().split())\nfor i in range(1000):\n \n c = c-b\n if c>0:\n pass\n else:\n print('Yes')\n break\n a = a-d\n ...
['Wrong Answer', 'Accepted']
['s118102891', 's141329322']
[9164.0, 9180.0]
[21.0, 23.0]
[136, 224]
p02700
u615647623
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 ...
["\nA, B, C, D = map(int, input().split())\n\nwhile A > 0 and C > 0:\n C = C - B\n A = A - D\n print(C, A)\n\nif A <= 0 and C <= 0:\n ans = 'Yes'\nelif C <= 0:\n ans = 'Yes'\nelse:\n ans = 'No'\nprint(ans)\n", "\nA, B, C, D = map(int, input().split())\n\nwhile A > 0 and C > 0:\n C = C - B\n A = ...
['Wrong Answer', 'Accepted']
['s636543363', 's928546718']
[9196.0, 9172.0]
[23.0, 24.0]
[208, 209]
p02700
u616117610
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):\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nif -(-c//b) <= -(-a//d):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s370607148', 's620190741', 's055651952']
[9164.0, 9136.0, 9084.0]
[22.0, 21.0, 21.0]
[94, 94, 95]
p02700
u616169109
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\ntakahashi = A // D\nif A % D != 0:\n takahashi += 1\naoki = C // B\nif C % B != 0:\n aoki += 1\n \nif takahashi <= aoki:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = map(int, input().split())\n\nbool = True\nwhile A > 0 and C > 0:\n C -= B\n if C <...
['Wrong Answer', 'Accepted']
['s421732494', 's948597948']
[9112.0, 9180.0]
[20.0, 22.0]
[201, 244]
p02700
u617298485
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 ...
["string = input()\narray = string.split()\nhp_t = int(array[0])\nattack_t = int(array[1])\nhp_a = int(array[2])\nattack_a = int(array[3])\n\nfor i in range(100):\n hp_a -= attack_t\n print(hp_a)\n if hp_a <= 0:\n print('Yes')\n break\n hp_t -= attack_a\n print(hp_t)\n if hp_t <= 0:\n ...
['Wrong Answer', 'Accepted']
['s233045191', 's815569152']
[9180.0, 9188.0]
[21.0, 24.0]
[337, 305]
p02700
u618251217
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 = C - B\na = A - D\nwhile True:\n t -= B\n if t <= 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())\n\nwhile True:\n c -= b\n if c <= 0:\n print('Yes')\n break...
['Wrong Answer', 'Accepted']
['s361679025', 's389465612']
[9176.0, 9096.0]
[23.0, 28.0]
[188, 178]
p02700
u618765431
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())\nif(A/D<C/B):\n print('No')\nelse:\n print('Yes')\n", "A,B,C,D=map(int,input().split())\natA=0\natC=0\nwhile(A>0):\n A-=D \n atA+=1 \nwhile(C>0):\n C-=B \n atC+=1\n#print(atA,atC)\nif(atA>=atC):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s989465259', 's456436895']
[9036.0, 9180.0]
[23.0, 24.0]
[73, 180]
p02700
u626228246
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#a = Takahashi\'s HP,b = T\'s ATK, c = Aoki\'s HP, d = A\'s ATK\n#T -> A -> T -> A...\nprint("Yes" if (a//d)+1 >= (c//b) else "No") ', 'a,b,c,d = map(int,input().split())\n#a = Takahashi\'s HP,b = T\'s ATK, c = Aoki\'s HP, d = A\'s ATK\n#T -> A -> T -> A...\nprint("Yes" if (a//d) <...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s177852784', 's383294129', 's736938075', 's303005431']
[9092.0, 9160.0, 9084.0, 9164.0]
[21.0, 21.0, 26.0, 19.0]
[161, 159, 157, 163]
p02700
u629350026
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())\nimport math\ntempt=math.floor(a/d)\ntempa=math.floor(c/b)\nif tempa>=tempt:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d=map(int,input().split())\nimport math\ntempt=math.ceil(a/d)\ntempa=math.ceil(c/b)\nif tempa<=tempt:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s901210529', 's005187925']
[9100.0, 9100.0]
[27.0, 32.0]
[140, 138]
p02700
u629709614
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\n\nwhile C-B<=0:\n C=C-B\n A=A-D\nelse:\n if A>=0:\n print("Yes")\n elif A<=0:\n print("No")', 'A, B, C, D =map(int, input().split())\n\n\n\nwhile C-B<0 or A-D<0:\n C=C-B\n A=A-D\n \nif C<=0:\n print("Yes")\n \nelif A<=0:\n print("No")', 'A, B, C, D = map(int,...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s247362835', 's280950263', 's389004470', 's119115128']
[9004.0, 9176.0, 8992.0, 9164.0]
[2205.0, 2205.0, 22.0, 21.0]
[248, 248, 133, 170]
p02700
u631299617
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<1:\n print('Yes')\n break\n a-=d\n if a<1:\n print('No')", "a,b,c,d=map(int,input().split())\nwhile True:\n c-=b\n if c<1:\n print('Yes')\n break\n a-=d\n if a<1:\n print('No')\n break"...
['Wrong Answer', 'Accepted']
['s515375201', 's642429732']
[9164.0, 9144.0]
[23.0, 25.0]
[141, 155]
p02700
u631579948
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 max(a,c)==a and max(b,d)==b:\n print('Yes')\nelif max(a,c)==c and max(b,d)==d:\n print('No')\ni=0\nj=0\nwhile True:\n if c-b>0:\n c=c-b\n i+=1\n else:\n break\nwhile True:\n if a-d>0:\n a-=d\n j+=1\n else:\n break\nif i<j:\n print('Yes')\nelse:\n print('N...
['Wrong Answer', 'Accepted']
['s160743573', 's074965660']
[9140.0, 9184.0]
[23.0, 20.0]
[315, 220]
p02700
u633284019
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()))\nturn = True\nwhile True:\n if turn:\n c -= b\n if c <= 0:\n print("Yes")\n else:\n a -= d\n if a <= 0:\n print("No")\n turn ^= True', 'a, b, c, d = list(map(int, input().split()))\nturn = True\nwhile True:\n if turn:\n c -= b\n if c <= 0:\n...
['Time Limit Exceeded', 'Accepted']
['s358257538', 's152447996']
[24776.0, 9136.0]
[2242.0, 29.0]
[191, 260]
p02700
u635995842
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 ...
["te, to, ae, ao = map(int, input().split())\n\nwhile te>0 and ae>0:\n ae -= to\n te -= ao\nif ae < 0:\n print('No')\nelse:\n print('Yes')", "te, to, ae, ao = map(int, input().split())\n\nwhile True:\n ae -= to\n if ae <= 0:\n break\n te -= ao\n if te <= 0:\n break\n \nif ae...
['Wrong Answer', 'Accepted']
['s878196953', 's479241813']
[9152.0, 9176.0]
[20.0, 20.0]
[140, 201]
p02700
u636256839
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 True:\n A -= D\n if A <= 0:\n print('Yes')\n break\n C -= B\n if C <= 0:\n print('No')\n break", "A, B, C, D = map(int, input().split())\n\nwhile True:\n C -= B\n if C <= 0:\n print('Yes')\n break\n A -= D\n...
['Wrong Answer', 'Accepted']
['s759339137', 's257270747']
[9164.0, 9168.0]
[19.0, 22.0]
[172, 172]
p02700
u638033979
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())\n\nif math.ceil(a/b) >= math.ceil(c/d):\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d =map(int,input().split())\n\nif math.ceil(c/b) <= math.ceil(a/d):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s698160006', 's507056393']
[9160.0, 9160.0]
[24.0, 24.0]
[122, 122]
p02700
u640123177
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:\n c -= b\n if c <= 0:\n print("Yes")\n break\n else:\n a -= d\n if a <= 0:\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 print("Yes")\n break\n a -= d\n if a <= 0:\n print...
['Wrong Answer', 'Accepted']
['s259069674', 's911621328']
[9168.0, 9172.0]
[23.0, 22.0]
[153, 160]
p02700
u640296846
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 - b) > 0:\n if (a - b) > 0:\n print('Yes')\n else:\n print('No')", "a, b, c, d = map(int, input().split())\nif (a - b) > 0:\n if (a - b) > 0:\n print('Yes')\n else:\n print('No')\nelse:\n print('No')", 'A, B, C, D = map(int, inpu...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s351730435', 's487187395', 's473291938']
[9040.0, 9148.0, 9100.0]
[20.0, 21.0, 22.0]
[125, 147, 117]
p02700
u641545507
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\na, b, c, d = map(int, input().slice())\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", "# -*- coding: utf-8 -*-\n \na, b, c, d = map(int, input().split())\n \nwhile True:\n c -= b\n if c <= 0:\n print('Yes')\n ...
['Runtime Error', 'Accepted']
['s637632410', 's325977467']
[8800.0, 9100.0]
[21.0, 23.0]
[172, 178]
p02700
u642591800
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 * c:\n\xa0 \xa0 c -= b\n\xa0 \xa0 a -= d\nprint('Yes' if a else 'No')", "a, b, c, d = map(int, input().split())\nprint('Yes' if (a - 1) // d >= (c - 1) // b else 'No')"]
['Runtime Error', 'Accepted']
['s423122680', 's646551231']
[9008.0, 9160.0]
[24.0, 30.0]
[105, 93]
p02700
u644546699
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 resolve():\n A, B, C, D = map(int, input().split()) \n\n if (A // D) <= (C // B):\n print("Yes")\n else:\n print("No")\n\nif __name__ == "__main__":\n resolve()', 'def resolve():\n A, B, C, D = map(int, input().split()) \n\n if (A // D) == (C // B): \n if (A % D) == 0 and (C...
['Wrong Answer', 'Accepted']
['s606954870', 's951360948']
[9112.0, 9136.0]
[22.0, 22.0]
[181, 416]
p02700
u646203242
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 a-=d\n c-=b\n if c<=0:\n print("Yes")\n elif a<=0:\n print("No")\n \n ', 'a,b,c,d=map(int,input().split())\nwhile a>0 and c>0:\n a-=d\n c-=b\n if c<=0:\n print("Yes")\n elif a<=0:\n print("No")\n \n \n']
['Wrong Answer', 'Accepted']
['s809957236', 's084273362']
[9056.0, 9068.0]
[20.0, 18.0]
[131, 131]
p02700
u649326276
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\nwhile a>0 and c>0 :\n a -= d;\n c -= b;\n\nif a < 0:\n print('No');\nelse :\n print('Yes');", "a,b,c,d = list(map(int,input().split()));\n\nif a//d <= c//b :\n print('Yes');\nelse :\n print('No');", "a,b,c,d = list(map(int,input().split()));\n\nwhile a>0 ...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s000917142', 's138376237', 's295081997', 's235398237']
[9120.0, 9160.0, 9172.0, 9048.0]
[23.0, 22.0, 22.0, 21.0]
[139, 102, 140, 113]
p02700
u651109406
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 int(c / b + 1) <= int(a / d + 1) else 'No')", "a, b, c, d = map(int, input().split())\nprint('Yes' if int(c / b + 0.9999) <= int(a / d + 0.9999) else 'No')"]
['Wrong Answer', 'Accepted']
['s631544251', 's483775801']
[9096.0, 9168.0]
[23.0, 21.0]
[97, 107]
p02700
u652569315
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)+1>math.ceil(a/d) else 'No') ", "import math\na,b,c,d=map(int,input().split())\nfor _ in range(100000):\n c-=b\n if c<=0:\n print('Yes')\n exit()\n a-=d\n if a<=0:\n print('No')\n exit()"]
['Wrong Answer', 'Accepted']
['s310469376', 's731614525']
[9104.0, 9176.0]
[21.0, 21.0]
[104, 159]
p02700
u652892331
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 ...
['ta, td, aa, ad = map(int, input().split())\n\nwhich = -1\nwhile td > 0 and ad > 0:\n if which == -1:\n ad -= ta\n else:\n td -= aa\n which *= -1\n\nif ad <= 0:\n print("Yes")\nelse:\n print("No")', 'td, ta, ad, aa = map(int, input().split())\n\nwhich = -1\nwhile td > 0 and ad > 0:\n if...
['Wrong Answer', 'Accepted']
['s088857001', 's630204726']
[9104.0, 9172.0]
[22.0, 24.0]
[211, 211]
p02700
u656377179
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())\nn=0\nif a%d==0:\n n==a//d\nelse:\n n==a//d+1\nif (a-n*d)<=(c-n*b):\n print("Yes")\nelse:\n print("No")', 'a,b,c,d=map(int,input().split())\nif (a+d-1)//d>=(c+b-1)//b:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s338800134', 's616018340']
[9168.0, 9104.0]
[28.0, 24.0]
[139, 98]
p02700
u656919695
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 x=c-b\n if x<=0:\n print('No')\n break\n y=a-d\n if y<=0:\n print('Yes')\n break", "a,b,c,d = map(int,input().split())\nx=c\ny=a\nwhile True: \n x=x-b\n \n if x<=0:\n print('Yes')\n break\n y=y-d\n...
['Wrong Answer', 'Accepted']
['s888303251', 's393109443']
[9072.0, 9100.0]
[2205.0, 19.0]
[165, 181]
p02700
u661647607
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())\nn = 1\nwhile A > 0 and C > 0:\n if n % 2 == 1:\n C = C - B\n ans = "Yes"\n n = n + 1\n else:\n A = A - D\n ans = "NO"\n n = n + 1\n \nprint(ans)', 'A, B, C, D = map(int, input().split())\nn = 1\nwhile A > 0 and C > 0:\n if n % 2 == 1:\n C = C - B\n ...
['Wrong Answer', 'Accepted']
['s699683937', 's785168644']
[9184.0, 9148.0]
[23.0, 22.0]
[195, 195]
p02700
u663234149
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())\n\nif math.ceil(c/b) <= math.ceil(a/d):\n print("YES")\nelse:\n print("NO")\n', 'import math\na,b,c,d = map(int,input().split())\n \nif math.ceil(c/b) <= math.ceil(a/d):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s629229222', 's487521982']
[9140.0, 9116.0]
[22.0, 21.0]
[120, 120]
p02700
u664015993
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\n\nwhile True:\n C -= B\n if C <= 0:\n print("Yes")\n A -= D\n if A <= 0:\n print("No")', 'from math import ceil\n\nA, B, C, D = list(map(int, input().split()))\n\ntak = ceil(C / B)\nao = ceil(A / D)\n\nif tak <= ao:\n print("Yes")\nelse:\n print("No")']
['Time Limit Exceeded', 'Accepted']
['s458857855', 's355158096']
[28092.0, 9164.0]
[2274.0, 23.0]
[135, 153]
p02700
u664512092
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_1 = a//d\nt_2 = a%d\na_1 = c//b\na_2 = c%b\nprint(t_1,t_2,a_1,a_2)\nif t_1>a_1:\n print('No')\n sys.exit()\nelif t_1<a_1:\n print('Yes')\n sys.exit()\nelif t_2 < a_2:\n print('No')\n sys.exit()\nelif t_2 > a_2:\n print('Yes')\n sys.exit()\nelse:\n print('Yes...
['Wrong Answer', 'Accepted']
['s082861903', 's324890673']
[9204.0, 9200.0]
[21.0, 21.0]
[300, 310]
p02700
u665224938
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 break\n a -= d\n if a <= 0:\n print("No")\n \tbreak', '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 print("No")\n break']
['Runtime Error', 'Accepted']
['s404788388', 's780308012']
[9020.0, 9104.0]
[20.0, 22.0]
[146, 147]
p02700
u665852386
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 ...
['46 4 40 5', "a, b, c, d = map(int, input().split())\n\nfor i in range(1000):\n c = c - b\n if c <= 0:\n print('Yes')\n break\n a = a - d\n if a <= 0:\n print('No')\n break"]
['Runtime Error', 'Accepted']
['s300292832', 's364080839']
[9028.0, 9176.0]
[23.0, 24.0]
[9, 188]
p02700
u666476759
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 takahashi_attack = C // B\nelse:\n takahashi_attack = C // B + 1\n\nif A % D == 0:\n aoki_attack = A // D\nelse:\n aoki_attack = A // D + 1\n\nprint('takahashi:',takahashi_attack)\nprint('aoki:',aoki_attack)\n\nif takahashi_attack > aoki_attack:\n...
['Wrong Answer', 'Accepted']
['s989399138', 's196524835']
[9184.0, 9168.0]
[21.0, 20.0]
[341, 276]
p02700
u666961261
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())\nif(HT>=HA or ST>=SA):\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\na=0\nc=0\nwhile C-B>0:\n C-=B\n a+=1\nwhile A-D>0:\n A-=D\n c+=1\nprint("Yes") if c>=a else print("No")']
['Wrong Answer', 'Accepted']
['s231199911', 's649099150']
[9156.0, 9064.0]
[23.0, 23.0]
[99, 146]
p02700
u669432519
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 ceiling(a, b):\n return (a + b - 1) / a\n\na, b, c, d = map(int, input().split())\nif(ceiling(c, b) <= ceiling(a, d)): print('Yes')\nelse: print('No')\n", "def ceiling(a, b):\n return int((a + b - 1) / b)\n\n\na, b, c, d = map(int, input().split())\nif(ceiling(c, b) <= ceiling(a, d)): print('Yes')\nelse: pr...
['Wrong Answer', 'Accepted']
['s653054665', 's248862658']
[9080.0, 9052.0]
[22.0, 21.0]
[153, 159]
p02700
u670724685
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 ...
['#ABC164 B\np = [int(x) for x in input().split()]\n\ntakahashi_turn = True\nwhile (p[0]<=0) or (p[2]<=0):\n if takahashi_turn:\n p[2] = p[2] - p[1]\n else:\n p[0] = p[0] - p[3]\n takahashi_turn = ! takahashi_turn\n\nif p[0] > 0:\n print("Yes")\nelse:\n print("No")', '#ABC164 B\np = [int(x)...
['Runtime Error', 'Runtime Error', 'Accepted']
['s055980022', 's434632851', 's785737071']
[8924.0, 8804.0, 9188.0]
[19.0, 21.0, 23.0]
[278, 278, 279]
p02700
u671446913
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\nis_tkhs = True\nfor _ in range(100000):\n if is_tkhs:\n C -= B\n else:\n A -= D\n \n is_tkhs *= -1\n \n \n if C <= 0 or A <= 0:\n break\n \nprint('No' if A <= 0 else 'Yes')", "A, B, C, D = map(int, input().split())\n\nif C//B >= A//D:\n print('Yes'...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s320135568', 's373864620', 's091697770']
[9144.0, 9164.0, 9160.0]
[24.0, 21.0, 24.0]
[226, 91, 231]
p02700
u671861352
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 ...
['#!python3\n\n# input\nA, B, C, D = list(map(int, input().split()))\n\n\ndef main():\n a = A // D if A % D == 0 else A // D + 1\n b = C // B if C % B == 0 else C // B + 1\n ans = "No" if a < b else "Yes"\n print(a, b)\n print(ans)\n \n\nif __name__ == "__main__":\n main()\n', '#!python3\n\n# input...
['Wrong Answer', 'Accepted']
['s100897913', 's057465409']
[9184.0, 9180.0]
[27.0, 19.0]
[278, 262]
p02700
u672370694
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 ...
['k = list(map(int, input().split() ) )\nt = 1\nwhile k[0] <=0 or k[2] <=0:\n if t == 1:\n k[2] -= k[1]\n t=2\n else:\n k[0] -= k[3]\n t=1\nif t==1:\n print("Yes")\nelse:\n print("No")', 'k = list(map(int,input().split()))\nt = k[0] // k[3]\na = k[2] // k[1]\nif t >= k:\n print("Yes")\nelse:\n print("...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s205255644', 's234379127', 's386226796', 's766790636']
[9184.0, 9164.0, 9028.0, 9188.0]
[19.0, 23.0, 20.0, 21.0]
[186, 114, 110, 187]
p02700
u674588203
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\nHP_T=A\nHP_A=C\n\nfor i in range(1,102):\n if i%2==1:\n HP_A -= B\n else:\n HP_T -= D\n\n if HP_A<=0:\n print('No')\n exit()\n elif HP_T<=0:\n print('Yes')\n exit()\n else:\n pass", "A,B,C,D=map(int,input().split())\n\...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s731253701', 's995433785', 's859325966']
[9088.0, 9144.0, 9168.0]
[20.0, 20.0, 22.0]
[261, 200, 262]
p02700
u678505520
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())\ncount1 = 0\ncount2 = 0\n\nwhile c>0:\n c=c-b\n count1+=1\nprint(c,count1)\n\nwhile a>0:\n a=a-d\n count2+=1\nprint(a,count2)\n\nif count1>count2:\n print('No')\nelse:\n print('Yes')", "a,b,c,d = map(int,input().split())\ncount1 = 0\ncount2 = 0\n\nwhile c>0:\n ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s821600682', 's905623141', 's142619854']
[9188.0, 9176.0, 9180.0]
[22.0, 21.0, 21.0]
[219, 189, 187]
p02700
u681323954
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())\ncntT = 0\ncntA = 0\nwhile c<=0:\n cntT += 1\n c -= b\nwhile a <= 0:\n cntA += 1\n a -= d\nif cntT <= cntA:\n print("Yes")\nelse:\n print("No")', 'a, b, c, d ...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s027849590', 's370310930', 's434037142']
[9160.0, 9180.0, 9180.0]
[24.0, 22.0, 24.0]
[95, 188, 186]
p02700
u681390786
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())\ndef func(a,b,c,d):\n numb=a/d\n numbs=c/b\n if type(numb)==int:\n pass\n if type(numb)==float:\n numb=a//d+1\n if type(numbs)==int:\n pass\n if type(numbs)==float:\n numbs=c//b+1\n return "Yes" if numbs<= numb else "No"\nprint(func(a,...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s202936150', 's212418802', 's397507398', 's808449981', 's813534643', 's897899651']
[9184.0, 9116.0, 9116.0, 9032.0, 8976.0, 9180.0]
[19.0, 19.0, 23.0, 21.0, 24.0, 23.0]
[312, 204, 312, 316, 156, 206]
p02700
u684267998
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\ncd = c // b +1\n\nad = a // d +1\nif ad < cd :\n print('No')\n\nelif ad < cd:\n print('Yes')\nelse:\n print('Yes')", "import math\na,b,c,d = map(int,input().split())\n\ncb = math.ceil(c/d)\n\nad = math.ceil(a/d)\nif ad < cb :\n print('No')\n\nelif ad < cb:\n prin...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s058528646', 's102601908', 's135089604', 's185457430', 's207595174', 's295390912', 's383252002', 's460409220', 's627278816']
[9164.0, 9108.0, 9164.0, 9168.0, 9020.0, 9168.0, 9148.0, 9112.0, 9140.0]
[20.0, 21.0, 21.0, 24.0, 25.0, 21.0, 24.0, 23.0, 24.0]
[151, 173, 141, 151, 190, 140, 123, 123, 127]
p02700
u685244071
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_T = (a-1)//b + 1\ncount_A = (c-1)//d + 1\n\nif count_T <= count_A:\n print("Yes")\nelse:\n print("No")', 'a, b, c, d = map(int, input().split())\ncount_T = (c-1)//b + 1\ncount_A = (a-1)//d + 1\n\nif count_T > count_A:\n print("Yes")\nelse:\n print("No")\n', 'a, b, c, d ...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s143004364', 's529200052', 's864561785', 's094984160']
[9060.0, 9152.0, 9104.0, 9160.0]
[21.0, 24.0, 21.0, 24.0]
[141, 143, 143, 143]
p02700
u688587139
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 and C > 0:\n C = C - A\n if C <= 0:\n print ("Yes")\n else:\n A = A - D\n if A <= 0:\n print ("No")\n else:\n continue', 'A, B, C, D = (int(x) for x in input().split())\n\nwhile A > 0 and C > 0:\n ...
['Wrong Answer', 'Accepted']
['s007609089', 's714812903']
[9176.0, 9172.0]
[23.0, 21.0]
[228, 228]
p02700
u689890477
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\nans1 = 0\nwhile a>=0:\n a -= d\n ans1 += 1\n\nans2 = 0\nwhile c >= 0:\n c -= b\n ans2 += 1\n\nif ans1 >= ans2:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\n\nwhile(True):\n c -= b\n a -= d\n if c<= 0:\n print("Yes")\...
['Wrong Answer', 'Accepted']
['s325989438', 's112452024']
[9184.0, 9036.0]
[22.0, 20.0]
[187, 170]
p02700
u692054751
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()]\n\ntakahashi_attacks = A // D if A % D == 0 else A // D + 1\naoki_attacks = C // B if C % B == 0 else C // B + 1\n\nprint('Yes') if takahashi_attacks <= aoki_attacks else print('No')\n", "A, B, C, D = [int(s) for s in input().split()]\n\naoki_attacks = A // D if A % D ==...
['Wrong Answer', 'Accepted']
['s729903019', 's714228191']
[9160.0, 9172.0]
[23.0, 23.0]
[225, 224]
p02700
u693529954
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\nwhile(True):\n if C-B <= 0:\n print("yes")\n break\n C -= B\n if A-D <= 0:\n print("no")\n break\n A -= D\n', 'A, B, C, D = map(int, input().split())\n\n# h, p\n# A, B\n# C, D\n\nwhile(True):\n if C-B <= 0:\n print("Yes")\n ...
['Wrong Answer', 'Accepted']
['s740302380', 's260186199']
[9168.0, 9176.0]
[19.0, 23.0]
[179, 200]
p02700
u695199406
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 ...
["f = True\nwhile True:\n if f:\n C = C - B\n f = False\n else:\n A = A - D\n f = True\n if A <= 0:\n print('No')\n break\n elif C <= 0:\n print('Yes')\n break\n else:\n continue\n\n", "A,B,C,D = (int(x) for x in input().split())\nf = True\nw...
['Runtime Error', 'Accepted']
['s571293557', 's970052031']
[9048.0, 9172.0]
[24.0, 21.0]
[241, 284]
p02700
u695261159
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 = int(c/b)\nif c % b != 0:\n aoki += 1\n\ntaka = int(a/d)\nif a % d != 0:\n taka += 1\n\nif aoki <= taka+1:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c,d=map(int, input().split())\n\naoki = int(c/b)\nif c % b != 0:\n aoki += 1\n\ntaka = int(a/d)\nif a % d !=...
['Wrong Answer', 'Accepted']
['s989067759', 's131478697']
[9116.0, 9116.0]
[20.0, 24.0]
[185, 183]
p02700
u696499790
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 A < 0 or C < 0:\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())\n\nwhile A > 0 and C > 0:\n C -= B\n if C <= 0:\n print('Yes')\n break\n A -= D\n if A <= 0:\n print('No')\n...
['Wrong Answer', 'Accepted']
['s645083831', 's511881259']
[9096.0, 9088.0]
[22.0, 21.0]
[150, 153]
p02700
u697422981
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())\nM = min([divmod(A,D)[0],divmod(C,B)[0]])\nif divmod(C,B)==0:\n print("Yes")\nelif divmod(A,D)==0:\n print("No")\nelse:\n C_1 = C-B*M\n A_1 = A-D*M\n if C_1 - B <= 0:\n print("Yes")\n else:\n print("No")\n', 'A,B,C,D=map(int,input().split())\nTattack=...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s238177437', 's431543390', 's599833981']
[9124.0, 9108.0, 9104.0]
[22.0, 23.0, 20.0]
[259, 124, 147]
p02700
u697634943
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 ...
['\nclass Main:\n\n t1, a1, t2, a2= map(int,input().split());\n\n while(t1 <= t2 or t1 >= t2):\n if t2 <= 0:\n break;\n t2 -= a2;\n if t1 <= 0:\n break;\n t1 -= a1;\n \n if t1 >= t2:\n print("Yes");\n else:\n print("No")\n\n', '\nclass M...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s120306010', 's190051080', 's736012938', 's983615113', 's213533474']
[9152.0, 9172.0, 9156.0, 9032.0, 8996.0]
[22.0, 24.0, 20.0, 22.0, 23.0]
[287, 282, 279, 277, 339]
p02700
u698737869
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 ...
['TaHP,TaAP,AoHP,AoAP = map(int, input().split())\n\nFlag_Ta = True\n\nwhile( TaHP > 0 or AoHP > 0):\n\tprint(TaHP)\n\tprint(AoHP)\n\tif\tFlag_Ta:\n\t\tAoHP = AoHP - TaAP\n\t\tFlag_Ta = False\n\telse:\n\t\tTaHP = TaHP - AoAP\n\t\tFlag_Ta = True\nif TaHP > 0:\n\tprint("Yes")\nelse:\n print("No")', 'TaHP,TaAP,AoHP,AoA...
['Wrong Answer', 'Accepted']
['s513641098', 's545905460']
[9188.0, 9080.0]
[23.0, 21.0]
[266, 281]
p02700
u698849142
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())\nx = a/d\ny = c/b\nif 1 <= x and 1 <= y:\n print('Yes')\nelse:\n print('Yes' if x <= y else 'No')\n", "a,b,c,d=map(int,input().split())\nfor i in range(1000):\n if i%2 == 0:\n c = c-b\n if c <= 0:\n print('Yes')\n break\n else:\n ...
['Wrong Answer', 'Accepted']
['s250121660', 's373131165']
[9068.0, 9176.0]
[22.0, 21.0]
[131, 237]
p02700
u699252226
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 retm(a,b):\n if a%b>0:\n return 1\n else:\n return 0\n\nta,th,aa,ah=map(int,input().split())\nif int(ah/ta)+retm(ah,ta)<=int(th/aa)+retm(th,aa):\n print("Yes")\nelse:\n print("No")', 'def retm(a,b):\n if a%b>0:\n return 1\n else:\n return 0\n\nth,ta,ah,aa=map(int,input().split())\nif int(ah/ta)+...
['Wrong Answer', 'Accepted']
['s775180949', 's608654489']
[9184.0, 9180.0]
[21.0, 23.0]
[184, 184]
p02700
u700929101
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 ...
['mport math\na,b,c,d = map(int,input().split(" "))\ntaka = math.ceil(c/b)\naoki = math.ceil(a/d)\n\nif taka <= aoki:\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d = map(int,input().split(" "))\ntaka = math.ceil(c/b)\naoki = math.ceil(a/d)\n\nif taka <= aoki:\n print("Yes")\nelse:\n print("No"...
['Runtime Error', 'Accepted']
['s578281893', 's362769046']
[8812.0, 9108.0]
[24.0, 27.0]
[149, 150]
p02700
u701318346
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\nans = 'Yes'\nwhile True:\n \n D -= A\n if D <= 0:\n break\n\n \n B -= C\n if B <= 0:\n ans = 'No'\n break\n\nprint(ans)\n", "A, B, C, D = map(int, input().split())\n\nans = 'Yes'\nwhile True:\n \n C -= B\n if C <= 0:\n br...
['Wrong Answer', 'Accepted']
['s762053301', 's451123580']
[9168.0, 9192.0]
[23.0, 24.0]
[238, 238]
p02700
u705252278
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 ...
["F = list(map(int,input().split()))\n\nA = F[0]\nB = F[1]\nC = F[2]\nD = F[3]\n\ncount = 0\nwhile(1):\n if count%2==0:\n C -= B\n else:\n A -= D\n \n count += 1\n if C<=0 and A<=0:\n if C <= 0:\n print('Yes')\n break\n else:\n print('No')\n ...
['Wrong Answer', 'Accepted']
['s284595085', 's689108201']
[9184.0, 9188.0]
[20.0, 23.0]
[313, 312]
p02700
u705418271
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 a-=d\n if a<=0:\n print('No')", "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 print('No')\n break"]
['Time Limit Exceeded', 'Accepted']
['s990259782', 's961531493']
[29868.0, 9160.0]
[2235.0, 27.0]
[113, 133]
p02700
u707030679
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 1:\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())\n\nwhile 1:\n c-=b\n if c<=0 :\n print("Yes")\n break\n a-=d\n if a<=0 :\n pr...
['Wrong Answer', 'Accepted']
['s072464152', 's905550299']
[9076.0, 9108.0]
[27.0, 27.0]
[159, 159]
p02700
u707712609
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\ntakahashi_count = (int)(C/B)\naoki_count = (int)(A/D)\n\nif C % B != 0 :\n takahashi_count += 1\nif A % D != 0:\n aoki_count += 1\n\nif takahashi_count >= aoki_count:\n print("Yes")\nelse:\n print("No") ', 'A, B, C, D = map(int, input().split())\n\ntakahashi_count = (int)...
['Wrong Answer', 'Accepted']
['s582803909', 's496331349']
[9004.0, 9208.0]
[20.0, 23.0]
[236, 236]
p02700
u711295009
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 + 1 >= c/b:\n print("Yes")\nelse:\n print("No")', 'a, b, c, d = map(int, input().split())\nif c% b == 0:\n aoMake = (c//b)*2-1\nelse:\n aoMake = ((c//b)+1)*2-1\n\nif a%d == 0:\n takaMake = (a//d)*2\nelse:\n takaMake = ((a//d)+1)*2\n\nif takaMake > aoMak...
['Wrong Answer', 'Accepted']
['s451956455', 's758884821']
[9156.0, 9168.0]
[21.0, 22.0]
[96, 245]
p02700
u712239107
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 a>0:\n c-=b\n if c<=0:\n print("Yes")\n exit()\na-=d\nprint("No")\n\n', 'a,b,c,d=map(int,input().split())\n\nwhile a>0:\n c-=b\n if c<=0:\n print("Yes")\n exit()\n a-=d\n if a<=0:\n print("No") \n \n']
['Wrong Answer', 'Accepted']
['s666384487', 's195370574']
[9160.0, 9156.0]
[22.0, 23.0]
[121, 155]
p02700
u716777673
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=c-b\n a=a-d\nif a <= 0:\n print("no")\nelse:\n print("Yes")', 'a, b, c, d = map(int, input().split())\nwhile a>0 and c>0:\n c=c-b\n if c<=0:\n print("Yes")\n break\n a=a-d\n if a<=0:\n print("No")\n break']
['Wrong Answer', 'Accepted']
['s453447668', 's057487634']
[9140.0, 9100.0]
[20.0, 22.0]
[123, 148]
p02700
u718401738
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\nx=c//b\ny=a//d\n\nif x>y:\n print('No')\nelse:\n print('Yes')\n", "a,b,c,d=map(int,input().split())\n\nx=-(-c//b)\ny=-(-a//d)\n\nif x>y:\n print('No')\nelse:\n print('Yes')\n"]
['Wrong Answer', 'Accepted']
['s303224502', 's732478330']
[9048.0, 9156.0]
[24.0, 22.0]
[96, 104]
p02700
u718765445
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())\nSTOP = ""\na = 0\nwhile STOP != "STOP":\n A = A - B\n D = D - C\n if A <= 0:\n a = 1\n if D <= 0:\n a = 2\n else:\n continue\nif a == 1:\n print("Yes")\nelse:\n print("No")', 'A,B,C,D = map(int, input().split())\nwhile A != 0 or B != 0 or ...
['Time Limit Exceeded', 'Time Limit Exceeded', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s069399256', 's212348233', 's379268747', 's380510428', 's443677499', 's836481065', 's906946121', 's946122218']
[9092.0, 9088.0, 9180.0, 9100.0, 9176.0, 9176.0, 9176.0, 9176.0]
[2205.0, 2205.0, 22.0, 21.0, 24.0, 22.0, 22.0, 21.0]
[236, 243, 205, 100, 211, 203, 211, 211]
p02700
u720124072
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 True:\n c -= b\n if c <= 0:\n print("Yes")\n a -= d\n if a <= 0:\n print("No")', 'a, b, c, d = map(int, input().split())\n\nwhile True:\n c -= b\n if c <= 0:\n print("Yes")\n exit(0)\n a -= d\n if a <= 0:\n print("No")\n exit(0)']
['Time Limit Exceeded', 'Accepted']
['s233428253', 's365357549']
[28464.0, 8956.0]
[2267.0, 30.0]
[128, 152]
p02700
u721407235
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:\n print("Yes")\n \nelse:\n print("No")\n ', 'A,B,C,D=map(int,input().split())\n\nfor i in range(max(C//B+1,A//D+1)):\n C=C-B\n if C<=0:\n print("Yes")\n break\n \n A=A-D\n if A<=0:\n print("No")\n break\n ']
['Wrong Answer', 'Accepted']
['s565740420', 's042304205']
[9096.0, 9072.0]
[22.0, 23.0]
[91, 168]
p02700
u722875240
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']
['s320724507', 's793763768']
[8968.0, 9160.0]
[22.0, 21.0]
[81, 101]
p02700
u723065526
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())\nans = "Yes"\ncurB = B\ncurD = D\nfor i in range(max(B,D)):\n curD = curD-A\n if(curD<=0):\n ans = "Yes"\n break\n curB = curB-C\n if(curB<=0):\n ans = "No"\n break\nprint(ans)', 'A, B, C, D = map(int,input().split())\nans = "Yes"\ncurA = A\ncurC = C\nfor i in ran...
['Wrong Answer', 'Accepted']
['s500054883', 's718440125']
[9128.0, 9192.0]
[23.0, 22.0]
[217, 218]
p02700
u727072969
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 A >= 0:\n A = A - D\n C = C - B\n if C <= 0:\n print("Yes")\n break\nelse:\n print("No")', 'A,B,C,D = map(int, input().split())\n\nwhile A > 0:\n A = A - D\n C = C - B\n if C <= 0:\n print("Yes")\n break\nelse:\n print("N...
['Wrong Answer', 'Accepted']
['s005798553', 's168128286']
[9168.0, 9164.0]
[24.0, 21.0]
[150, 149]
p02700
u727683577
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())\nx = a + d - 1 / d\ny = b + c - 1 / b\nif x >= y:\n print("YES")\nelse:\n print("NO") ', 'a, b, c, d = map(int, input().split())\nx = a / d\ny = c / b\nif x >= y:\n print("YES")\nelse:\n print("NO") ', 'a, b, c, d = map(int, input().split())\nwhile True:\n c = c - b\n if c...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s271616208', 's316885256', 's708847069', 's753047851', 's856243681', 's778720048']
[9164.0, 9048.0, 9172.0, 9156.0, 9112.0, 9176.0]
[21.0, 23.0, 22.0, 23.0, 20.0, 20.0]
[121, 105, 170, 105, 127, 127]
p02700
u727787724
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:\n c-=b\n else:\n a-=d\n if a<=0:\n print('No')\n break\n if c<=0:\n print('Yes')\n break", "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 #print(a,c)\n i+=1\n if a<=...
['Wrong Answer', 'Accepted']
['s542306049', 's205187179']
[9176.0, 9172.0]
[20.0, 20.0]
[169, 191]
p02700
u731368968
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 True:\n A -= B\n if A <= 0:\n print('No')\n break\n C -= D\n if C <= 0:\n print('Yes')\n break\n", "A, B, C, D = map(int, input().split())\n\nwhile True:\n C -= B\n if C <= 0:\n print('Yes')\n break\n A -= D...
['Wrong Answer', 'Accepted']
['s712629089', 's084341218']
[9160.0, 9092.0]
[20.0, 22.0]
[173, 173]
p02700
u733167185
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')", 'import math\na, b, c, d = map(int,input().split())\nm = math.ceil(a/d)\nn = math.ceil(c/b)\nif m < n:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s702155736', 's916681168']
[9060.0, 9076.0]
[20.0, 20.0]
[98, 136]
p02700
u733465500
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\nList = input().split()\nHP_T = int(List[0])\nAT_T = int(List[1])\nHP_A = int(List[2])\nAT_A = int(List[3])\nresult = 0\n\nTurn_T = math.ceil(HP_A/AT_T)\nTurn_A = math.ceil(HP_T/AT_A)\nprint(Turn_T, Turn_A)\nif Turn_T - Turn_A == 0:\n result = "Yes" \nif Turn_T - Turn_A < 0:\n result = "Yes"\nif Turn_T...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s222540401', 's613584379', 's703536835', 's731790120', 's863443964', 's809880987']
[9192.0, 9168.0, 9200.0, 9200.0, 9212.0, 9176.0]
[22.0, 24.0, 21.0, 20.0, 22.0, 21.0]
[348, 256, 310, 255, 311, 326]
p02700
u734169929
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 A > 0 and C > 0:\n C = C - B\n if C <= 0:\n break\n print("Yes")\n A = A - D\n if A <= 0:\n break\n print("No")', 'A,B,C,D = map(int, input().split())\n\nwhile A > 0 and C > 0:\n C = C - B\n if C <= 0:\n break\n print...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s849221138', 's880887000', 's074038290']
[9156.0, 9168.0, 9180.0]
[24.0, 21.0, 22.0]
[186, 178, 186]