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
u059487235
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = map(int, input().split())\n\nwhile True:\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 break\n', 'a, b, c, d = map(int, input().split())\n\nwhile True:\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 break\n']
['Wrong Answer', 'Accepted']
['s480115425', 's078534828']
[9072.0, 9168.0]
[22.0, 23.0]
[208, 208]
p02700
u066109980
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['TH, TS, AH, AS = [int(s) for s in input().split(" ")]\nturn = True\nwhile True:\n if turn:\n AH -= TS\n if AH <= 0:\n print(\'Yes\')\n break\n turn = not turn\n else:\n TH -= AS\n if TH <= 0:\n print(\'No\')\n break\n turn = not turn', 'TH, TS, AH, AS = [int(s) for s in input().split(" ")]\nturn = True\nwhile True:\n if turn:\n AH -= TS\n if AH <= 0:\n print(\'Yes\')\n break\n turn = not turn\n else:\n TH -= AS\n if TH <= 0:\n print(\'No\')\n break\n turn = not turn']
['Wrong Answer', 'Accepted']
['s572223982', 's457554387']
[9084.0, 9144.0]
[21.0, 21.0]
[259, 255]
p02700
u067694718
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = [int(i) for i in input().split()]\nwhile True:\n c -= b\n if c <= 0:\n print("Yes")\n exit()\n a -= d\n if d <= 0:\n print("No")\n exit()', 'a,b,c,d = [int(i) for i in 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 exit()']
['Wrong Answer', 'Accepted']
['s892782858', 's965386100']
[9176.0, 9172.0]
[22.0, 22.0]
[178, 178]
p02700
u076363290
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["N = list(map(int,input().split()))\ns = N[1]\nr = N[3]\nwhile s or r >= 0:\n s -= N[1]\n r -= N[0]\n if s <= 0:\n print('Yes')\n break\n if s > 0 and r <= 0:\n print('-1')\n break", "A, B, C, D = map(int,input().split())\n\nwhile C or A >= 0:\n C -= B\n A -= D\n if C <= 0:\n print('Yes')\n break\n if A <= 0:\n print('No')\n break"]
['Wrong Answer', 'Accepted']
['s895532715', 's740320363']
[9128.0, 8992.0]
[27.0, 26.0]
[208, 179]
p02700
u078181689
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d=list(map(int,input().split()))\nprint("Yes" if c//b <= a//d else "No")', 'a,b,c,d=list(map(int,input().split()))\nprint("Yes" if (c-1)//b+1 <= (a-1)//d+1 else "No")']
['Wrong Answer', 'Accepted']
['s683604915', 's745372096']
[9040.0, 9068.0]
[21.0, 21.0]
[77, 89]
p02700
u078577969
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['import time\nA,B,C,D = map(int,input().split())\n\n\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end', 'A,B,C,D = map(int,input().split())\n\nfor i in C,A:\n if C-B <=0 :\n print("Yes")\n elif C-B >0:\n C = C-B\n elif D-A <=0 :\n print("No")\n else: \n D = D-A\n', 'import time\nA,B,C,D = map(int,input().split())\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n', 'import time\nA,B,C,D = 3,3,10,1\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n\nif C-B <=0 :\n print("Yes")\nelif A-D <=0:\n print("No")\nelse:\n C = C-B\n D = A-D\n', 'import time\nA,B,C,D = map(int,input().split())\n\n\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\n\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\nif C-B <=0 :\n print("Yes")\nelif C-B >0:\n C = C-B\nelse:\n end \n\nif A-D <=0:\n print("No")\nelif A-D>0:\n D = A-D\nelse:\n end\n\n', 'import time\nA,B,C,D = map(int,input().split())\n\nfor i in range(101):\n if C-B <=0 :\n print("Yes")\n break\n elif A-D <=0:\n print("No")\n break\n else:\n C = C-B\n A = A-D\n \n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s200865139', 's226025957', 's465306957', 's468315195', 's722931600', 's589187698']
[9092.0, 9168.0, 9320.0, 9160.0, 9324.0, 9164.0]
[25.0, 22.0, 21.0, 20.0, 24.0, 23.0]
[459, 187, 949, 668, 873, 218]
p02700
u078960732
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['import sys \nimport math\ntry:\n\tsys.stdin = open(\'input.txt\', \'r\') \n\tsys.stdout = open(\'output.txt\', \'w\')\nexcept:\n\tpass\ninput = sys.stdin.readline\nfor tt in range(1):\n\ta,b,c,d = map(int,input().split())\n\telif math.ceil(c/b) - math.ceil(a/d)<= 0:\n\t\tprint ("Yes")\n\telse:\n\t\tprint("No")\n\t', 'import sys \nimport math\ntry:\n\tsys.stdin = open(\'input.txt\', \'r\') \n\tsys.stdout = open(\'output.txt\', \'w\')\nexcept:\n\tpass\ninput = sys.stdin.readline\nfor tt in range(1):\n\ta,b,c,d = map(int,input().split())\n\tif math.ceil(c/b) - math.ceil(a/d)<= 0:\n\t\tprint ("Yes")\n\telse:\n\t\tprint("No")\n\t']
['Runtime Error', 'Accepted']
['s480876929', 's120042408']
[9032.0, 9180.0]
[21.0, 24.0]
[282, 280]
p02700
u080364835
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = map(int, input().split())\nprint('Yes' if a//d <= c//b else 'No')\n", "a, b, c, d = map(int, input().split())\nfor i in range(200):\n if i % 2 == 0:\n c -= b\n else:\n a -= d\n if a <= 0:\n print('No')\n break\n elif c <= 0:\n print('Yes')\n break"]
['Wrong Answer', 'Accepted']
['s896622276', 's476011305']
[9152.0, 9172.0]
[22.0, 23.0]
[78, 219]
p02700
u080685822
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = map(int, input().split())\naok = 0\nwhile c > 0:\n c = c - b\n aok += 1\n \nif ((aok - 1) * d - a) => 0:\n print("No")\nelse:\n print("Yes")\n', 'a, b, c, d = map(int, input().split())\naok = 0\nwhile c > 0:\n c = c - b\n aok += 1\n \nif (aok - 1) * d - a => 0:\n print("NO")\nelse:\n print("Yes")\n', 'a, b, c, d = map(int, input().split())\naok = 0\nwhile c > 0:\n c = c - b\n aok += 1\n \nif (int(aok) - 1) * d - a => 0:\n print("NO")\nelse:\n print("Yes")', 'a, b, c, d = map(int, input().split())\naok = 0\nwhile c > 0:\n c = c - b\n aok += 1\n \nif (aok - 1) * d - a => 0:\n print("No")\nelse:\n print("Yes")\n', 'a, b, c, d = map(int, input().split())\naok = 0\nwhile c > 0:\n c = c - b\n aok += 1\n \nif ((aok - 1) * d - a) > 0:\n print("No")\nelse:\n print("Yes")\n', 'a, b, c, d = map(int, input().split())\naok = 0\nwhile c > 0:\n c = c - b\n aok += 1\n \nif ((aok - 1) * d - a) >= 0:\n print("No")\nelse:\n print("Yes")\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s258522135', 's449923736', 's477656854', 's514310133', 's940140331', 's872281618']
[8976.0, 8944.0, 8892.0, 9024.0, 8944.0, 9024.0]
[24.0, 23.0, 20.0, 21.0, 21.0, 23.0]
[150, 148, 152, 148, 149, 150]
p02700
u081594474
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = map(int, input().split())\nturn = 0\n\nwhile a > 0 and c > 0:\n print('a', a, 'c', c)\n if turn == 0:\n c -= b\n turn = 1\n elif turn == 1:\n a -= d\n turn = 0\n else:\n raise RuntimeError('not supported turn')\n\nprint('Yes' if a > 0 else 'No')\n", "a, b, c, d = map(int, input().split())\nturn = 0\n\nwhile a > 0 and c > 0:\n if turn == 0:\n c -= b\n turn = 1\n elif turn == 1:\n a -= d\n turn = 0\n else:\n raise RuntimeError('not supported turn')\n\nprint('Yes' if a > 0 else 'No')\n"]
['Wrong Answer', 'Accepted']
['s352121083', 's396930973']
[9184.0, 9168.0]
[22.0, 23.0]
[292, 266]
p02700
u083646648
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["def main():\n A, B, C, D = map(int, input().split())\n print(A, C)\n while 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\n\nif __name__ == '__main__':\n main()\n", "def main():\n A, B, C, D = map(int, input().split())\n print(A, C)\n while 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\n\nif __name__ == '__main__':\n main()\n", "def main():\n A, B, C, D = map(int, input().split())\n while 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\n\nif __name__ == '__main__':\n main()\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s300278526', 's502831473', 's690851874']
[9152.0, 9168.0, 9164.0]
[21.0, 19.0, 27.0]
[231, 227, 217]
p02700
u083874202
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['\nA, B, C, D = map(int, input().split())\n\nThit = A\nTatk = B\nAhit = C\nAatk = D\nWin = False\n\nwhile Thit < 0 or Ahit < 0:\n Ahit = Ahit - Tatk\n if Ahit < 0:\n win = True\n break\n Thit = Thit - Aatk\n if Thit < 0:\n break\n\nif win:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\n\n\n\nThit = A\nTatk = B\nAhit = C\nAatk = D\nwin = False\n\nwhile :\n Ahit = Ahit - Tatk\n if Ahit <= 0:\n win = True\n break\n Thit = Thit - Aatk\n if Thit <= 0:\n break\n\nif win:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\n\nThit = A\nTatk = B\nAhit = C\nAatk = D\nwin = False\n\nwhile True:\n Ahit = Ahit - Tatk\n if Ahit <= 0:\n win = True\n break\n Thit = Thit - Aatk\n if Thit <= 0:\n win = False\n break\n\nif win:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s694975883', 's720799680', 's720487769']
[9188.0, 8968.0, 9188.0]
[22.0, 23.0, 22.0]
[292, 275, 297]
p02700
u085530099
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["x = input().split()\na = int(x[0])\nb = int(x[1])\nc = int(x[2])\nd = int(x[3])\nwhile a > 0 or c > 0:\n c = c - b\n a = a - d\nif c <= 0:\n print('Yes')\nelse:\n print('No')", "x = input().split()\na = int(x[0])\nb = int(x[1])\nc = int(x[2])\nd = int(x[3])\nwhile a > 0 and c > 0:\n c = c - b\n a = a - d\nif c <= 0:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s397763305', 's484113388']
[9188.0, 9176.0]
[22.0, 23.0]
[167, 168]
p02700
u086438369
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = map(int, input().split())\n\nwhile True:\n d = d-a\n if d <= 0:\n print('Yes')\n exit()\n b = b-c\n if b <= 0:\n print('No')\n exit()", "a, b, c, d = map(int, input().split())\n\nwhile True:\n c = c-b\n if c <= 0:\n print('Yes')\n exit()\n a = a-d\n if a <= 0:\n print('No')\n exit()"]
['Wrong Answer', 'Accepted']
['s299591863', 's978247173']
[9176.0, 9176.0]
[25.0, 21.0]
[176, 176]
p02700
u088115428
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int, input().split())\nif a%d<c%b:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c,d = map(int, input().split())\nfor i in range(1,1000):\n if i%2 ==1:\n c =c-b\n if c <=0:\n print("Yes")\n exit()\n else:\n a = a-d\n if a <=0:\n print("No")\n exit()']
['Wrong Answer', 'Accepted']
['s216850936', 's476219014']
[9084.0, 9120.0]
[20.0, 20.0]
[84, 239]
p02700
u090406054
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = map(int, input().split())\n\nwhile a>0 and c>0:\n c -= b\n a -= d\n \n \n\nif a>o:\n print("Yes")\n \nelse:\n print("No")\n \n \n', 'a, b, c, d = map(int, input().split())\n\nwhile a>0 and c>0:\n a -= d\n c -= b\n \n\nif a>o:\n print("Yes")\n \nelse:\n print("No")\n \n ', 'a, b, c, d = map(int, input().split())\n\nwhile a>0 and c>0:\n c -= b\n a -= d\n \n \n\nif a>>o:\n print("Yes")\n \nelse:\n print("No")\n \n \n', 'a, b, c, d = map(int, input().split())\n\nwhile a>0 and c>0:\n c -= b\n a -= d\n \n \nif c<=0:\n print("Yes")\n \nelse:\n print("No")\n \n \n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s453962754', 's758793612', 's949484319', 's528022424']
[9156.0, 9100.0, 9140.0, 9160.0]
[21.0, 22.0, 23.0, 20.0]
[136, 132, 137, 136]
p02700
u090729464
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A, B, C, D = map(int, input().split())\nwhile B or D <= 0:\n if C - B <= 0:\n print("YES")\n break\n else:\n C -= B\n if A - D <= 0:\n print("NO")\n break\n else:\n A -=D\n', 'A, B, C, D = map(int, input().split())\nwhile B or D <= 0:\n if C - B <= 0:\n print("Yes")\n break\n else:\n C -= B\n if A - D <= 0:\n print("No")\n break\n else:\n A -=D\n']
['Wrong Answer', 'Accepted']
['s251344764', 's080125036']
[9080.0, 9004.0]
[23.0, 24.0]
[234, 234]
p02700
u091412190
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D = map(int, input().split())\nX = C // B\nY = A // D\nif X <= Y:\n print('Yes')\nelse:\n print('No')", "A,B,C,D = map(int, input().split())\n\nX = C // B\nY = A // D\nif X <= Y:\n print('Yes')\nelse:\n print('No')", "A,B,C,D = map(int, input().split())\n\nX = C // B\nY = A // D\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')\n "]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s683112604', 's777638146', 's966751478', 's115759043']
[9168.0, 9112.0, 9160.0, 9172.0]
[24.0, 23.0, 21.0, 20.0]
[107, 108, 108, 109]
p02700
u095384238
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A, B, C, D = list(map(int, input().split()))\nwhile A>0 and B>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 = list(map(int, input().split()))\nwhile A>0 and B>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']
['Wrong Answer', 'Accepted']
['s383148439', 's375492135']
[9180.0, 9104.0]
[23.0, 21.0]
[182, 184]
p02700
u095844416
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a,b,c,d=map(int,input().split())\ncount=0\nfor i in range(100):\n turn1=c-b\n c=turn1\n count+=1\n if c<=0:\n break\n\nnewcount=0\nfor i in range(100):\n turn2=a-d\n a=turn2\n newcount+=1\n if a<=0:\n break\n\nif count>=newcount:\n print('Yes')\nelse:\n print('No')", "a,b,c,d=map(int,input().split())\ncount=0\nfor i in range(100):\n turn1=c-b\n c=turn1\n count+=1\n if c<=0:\n break\n\nnewcount=0\nfor i in range(100):\n turn2=a-d\n a=turn2\n newcount+=1\n if a<=0:\n break\n\nif count<=newcount:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s248969511', 's351851315']
[9136.0, 9180.0]
[23.0, 20.0]
[261, 261]
p02700
u096294926
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A,B,C,D = list(map(int,input().split()))\n\ncount1 = 0\ncount2 = 0\nwhile A > 0:\n A -= D\n count1 += 1\nwhile C > 0:\n C -= B\n count2 += 1\n\nif count1 < count2:\n print("NO")\nelse:\n print("Yes")', 'A,B,C,D = list(map(int,input().split()))\n\ncount1 = 0\ncount2 = 0\nwhile A > 0:\n A -= D\n count1 += 1\nwhile C > 0:\n C -= B\n count2 += 1\n\nif count1 < count2:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s810196672', 's417944648']
[9116.0, 9116.0]
[20.0, 22.0]
[203, 203]
p02700
u096446417
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A,B,C,D = map(int, input().split())\nif ((A and B and C and D) >=1) and ((A and B and C and D) <=100):\n AOKI = C-B\n TAKA = A-D\n if AOKI>=0:\n print("Yes")\n else:\n print("NO")', 'A,B,C,D = map(int, input().split())\nif (A and B and C and D) <=100 and (A and B and C and D) >=1:\n AOKI = C-B\n TAKA = A-D\n print(AOKI,TAKA)\n if AOKI>=0:\n print("Yes")\n else:\n print("NO")', 'A,B,C,D = map(int, input().split())\nif (A and B and C and D) <=100 and (A and B and C and D) >=1:\n AOKI = C-B\n TAKA = A-D\n if AOKI>=0:\n print("Yes")\n elif TAKA>=0:\n print("NO")\n', 'A,B,C,D = map(int, input().split())\nif (A and B and C and D) <=100 and (A and B and C and D) >=1:\n AOKI = C-B\n TAKA = A-D\n if TAKA > AOKI:\n print("Yes")\n else:\n print("NO")\n', 'A,B,C,D = map(int, input().split())\nAka = A+B\nAOKI = C+D\nif Aka > AOKI:\n print("Yes")\nelse:\n print("NO")\n', 'A,B,C,D = map(int, input().split())\nif (A and B and C and D) <=100 and (A and B and C and D) >=1:\n Aka = A+B\n AOKI = C+D\n if Aka > AOKI:\n print("Yes")\n else:\n print("NO")\n', 'A,B,C,D = map(int, input().split())\nwhile A>0 and C>0:\n C-=B\n A-=D\nif C<=0:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s072391566', 's093007893', 's177724535', 's338841070', 's469647475', 's729196705', 's084188945']
[9024.0, 9176.0, 9168.0, 9140.0, 9100.0, 9164.0, 9156.0]
[22.0, 19.0, 21.0, 21.0, 20.0, 22.0, 21.0]
[222, 215, 203, 199, 111, 197, 121]
p02700
u101350975
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["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 ans = 'No'\nelse:\n ans = 'Yes'\nprint(ans)\n", "A, B, C, D = map(int, input().split())\nwhile A > 0 and C > 0:\n C = C - B\n if C <= 0:\n break\n else:\n A = A - D\nif A <= 0:\n ans = 'No'\nelse:\n ans = 'Yes'\nprint(ans)\n"]
['Runtime Error', 'Accepted']
['s774189057', 's939447444']
[9020.0, 9048.0]
[23.0, 22.0]
[150, 192]
p02700
u101513660
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['def inputlist():\n return [int(i) for i in input().split()]\n\n\ndef main():\n A, B, C, D = inputlist()\n boolTurnTaka = True\n while B > 0 and D > 0:\n if boolTurnTaka:\n D -= A\n boolTurnTaka = False\n else:\n B -= C\n boolTurnTaka = True\n\n if B <= 0:\n print("No")\n else:\n print("Yes")\n\n\nif __name__ == \'__main__\':\n main()\n', 'def inputlist():\n return [int(i) for i in input().split()]\n\n\ndef main():\n A, B, C, D = inputlist()\n boolTurnTaka = True\n while B > 0 and D > 0:\n if boolTurnTaka:\n D -= A\n boolTurnTaka = False\n else:\n B -= C\n boolTurnTaka = True\n if B <= 0:\n print("No")\n else:\n print("Yes")\n\n\nif __name__ == \'__main__\':\n main()\n', 'def inputlist():\n return [int(i) for i in input().split()]\n\n\ndef main():\n A, B, C, D = inputlist()\n boolTurnTaka = True\n while A > 0 and C > 0:\n if boolTurnTaka:\n C -= B\n boolTurnTaka = False\n else:\n A -= D\n boolTurnTaka = True\n\n if A <= 0:\n print("No")\n else:\n print("Yes")\n\n\nif __name__ == \'__main__\':\n main()\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s171354934', 's391668799', 's968896322']
[9172.0, 9124.0, 9188.0]
[26.0, 23.0, 21.0]
[405, 404, 405]
p02700
u106284621
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["while True:\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", "A, B, C, D = map(int, input().split())\nwhile True:\n C = C - B\n if C <= 0:\n print('Yes')\n exit()\n A = A - D\n if A <= 0:\n print('No')\n exit()"]
['Runtime Error', 'Accepted']
['s120217750', 's890164061']
[9040.0, 9000.0]
[20.0, 21.0]
[138, 179]
p02700
u106778233
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a,b,c,d=map(int,input().split())\nimport math\n\nif math.ceil(c/b)>=math.ceil(a/d):\n print('Yes')\nelse:\n print('No')", "a,b,c,d=map(int,input().split())\nimport math\n\nif math.ceil(c/b)<=math.ceil(a/d):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s797068571', 's292101269']
[9156.0, 9164.0]
[22.0, 22.0]
[119, 119]
p02700
u106816675
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D = map(int, input().split())\n\nwhile True:\n C = C-B\n print('C:',C)\n if C<=0:\n print('Yes')\n exit()\n A = A-D\n print('A:',A)\n if A <= 0:\n print('No')\n exit()", "A,B,C,D = map(int, input().split())\n\nwhile True:\n C = C-B\n print('C:',C)\n if C<=0:\n print('Yes')\n exit()\n A = A-D\n print('A:',A)\n if A <= 0:\n print('No')\n exit()", "A,B,C,D = map(int, input().split())\n\nwhile True:\n C = C-B\n print('C:',C)\n if C<=0:\n print('Yes')\n break\n A = A-D\n print('A:',A)\n if A <= 0:\n print('No')\n break", "A,B,C,D = map(int, input().split())\n\nwhile True:\n C = C-B\n print('C:',C)\n if C<=0:\n print('No')\n exit()\n A = A-D\n print('A:',A)\n if A <= 0:\n print('Yes')\n exit()", "A,B,C,D = map(int, input().split())\n\nwhile True:\n C = C-B\n if C<=0:\n print('Yes')\n exit()\n A = A-D\n if A <= 0:\n print('No')\n exit()"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s156483365', 's524031387', 's547679049', 's858694621', 's014167437']
[9120.0, 9188.0, 9176.0, 9180.0, 9172.0]
[23.0, 22.0, 25.0, 23.0, 24.0]
[207, 207, 205, 207, 171]
p02700
u106985169
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int,input().split())\n\nif c//b >= a//d:\n print("Yes")\nelse:\n print("No")', 'import math\n\na,b,c,d = map(int,input().split())\n\nif math.ceil(c//b) > math.ceil(a//d):\n print("No")\nelse:\n print("Yes")', 'import math\n\na,b,c,d = map(int,input().split())\n\nif math.ceil(c/b) > math.ceil(a/d):\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s709067091', 's952879400', 's149938168']
[9164.0, 9152.0, 9108.0]
[22.0, 20.0, 22.0]
[91, 125, 123]
p02700
u111282258
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = [int(s) for s in 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 c <= 0:\n print("No")\n break', 'a, b, c, d = [int(s) for s in input().split(" ")]\nwhile(True):\n c -= b\n if c <= 0:\n print("Yes")\n break\n a -= d\n if c <= 0:\n print("No")\n break', 'a, b, c, d = [int(s) for s in 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']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s393509312', 's480902681', 's969967829']
[9100.0, 9180.0, 9124.0]
[23.0, 23.0, 21.0]
[170, 159, 159]
p02700
u112007848
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['import math\ntl, ta, al, aa = map(int, input().split(" ")\nprint("Yes" if math.ceil(al/ta) < math.ceil(tl / aa) else "No")', 'import math\ntl, ta, al, aa = map(int, input().split(" "))\nprint("Yes" if math.ceil(al/ta) - 1 < math.ceil(tl / aa) else "No")']
['Runtime Error', 'Accepted']
['s013793242', 's655292414']
[9020.0, 9168.0]
[20.0, 20.0]
[120, 125]
p02700
u112364985
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['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")\n ', 'a,b,c,d = map(int,input().split())\ncounter_1=0\ncounter_2=0\nwhile c>0:\n c=c-b\n counter_1=counter_1+1 \nwhile a>0:\n a=a-d\n counter_2=counter_2+1 \nif counter_2>=counter_1:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s960376679', 's555390934']
[9024.0, 9180.0]
[22.0, 23.0]
[115, 274]
p02700
u112629957
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A,B,C,D = map(int, input().split())\nprint("Yes"if (C//B)<=(A//D)else"No")', 'A,B,C,D = map(int, input().split())\nprint("Yes"if ((C-1)//B+1)<=((A-1)//D+1)else"No")']
['Wrong Answer', 'Accepted']
['s308842532', 's538675098']
[9156.0, 9144.0]
[21.0, 23.0]
[73, 85]
p02700
u115110170
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b, c, d = map(int,input().split())\n\nt = 0\nwhile a>0 and c>0:\n if t%2==0:\n c-=b\n else:\n a-=d\nprint("Yes" if c<=0 else "No")', 'a,b, c, d = map(int,input().split())\n\nt = 0\nwhile a>0 and c>0:\n if t%2==0:\n c-=b\n else:\n a-=d\n t+=1\nprint("Yes" if c<=0 else "No")\n\n']
['Wrong Answer', 'Accepted']
['s042868601', 's978159496']
[9176.0, 9188.0]
[23.0, 23.0]
[132, 141]
p02700
u115877451
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a,b,c,d=map(int,input().split())\nc-b\ne=0\nf=0\nwhile a-d>0:\n g=a-d\n e+=1\n a=g\nwhile c-b>0:\n h=c-b\n f+=1\n c=h\nif e<f:\n print('Yes')\nelif f==0:\n print('Yes')\nelif e==f:\n print('No')\nelse:\n print('No')", "a,b,c,d=map(int,input().split())\nd=-(-c//b)\ne=-(-a//d)\nif e>d:\n print('Yes')\nelif e==d:\n print('Yes')\nelse:\n print('No')", "a,b,c,d=map(int,input().split())\ne=[]\nf=[]\ng=c-b\nh=a-d\nwhile c>0:\n g=c-b\n e.append(g)\n c=g\n h=a-d\n f.append(h)\n a=h\nif len(e)!=1:\n if e[len(e)-1]<f[len(f)-2]:\n print('Yes')\n else:\n print('No')\nelif len(e)==1:\n print('Yes')\n", "import math\na,b,c,d=map(int,input().split())\ne=math.ceil(c/b)\nf=math.ceil(a/d)\nif e>f:\n print('Yes')\nelif e==f:\n print('Yes')\nelse:\n print('No')", "a,b,c,d=map(int,input().split())\ne=[]\nf=[]\ng=c-b\nh=a-d\nwhile c>0:\n g=c-b\n e.append(g)\n c=g\n h=a-d\n f.append(h)\n a=h\nif e[len(e)-1]>f[len(f)-2]:\n print('Yes')\nelif e[len(e)-1]<0:\n print('Yes')\nelse:\n print('No')\n", "a,b,c,d=map(int,input().split())\ne=[]\nf=[]\ng=c-b\nh=a-d\nwhile c>0:\n g=c-b\n e.append(g)\n c=g\n h=a-d\n f.append(h)\n a=h\nif len(e)!=1:\n if e[len(e)-1]<f[len(f)-2]:\n print('Yes')\n elif e[len(e)-1]==f[len(f)-2]:\n print('No')\n else:\n print('No')\nelif len(e)==1:\n print('Yes')\n", "a,b,c,d=map(int,input().split())\ne=[]\nf=[]\ng=c-b\nh=a-d\nwhile c>0:\n g=c-b\n e.append(g)\n c=g\n h=a-d\n f.append(h)\n a=h\nif len(e)!=1:\n if e[len(e)-1]<f[len(f)-2]:\n print('Yes')\n elif e[len(e)-1]==f[len(f)-2]:\n print('No')\n else:\n print('No')\nelif len(e)==1:\n print('Yes')\n", "a,b,c,d=map(int,input().split())\ne=[]\nf=[]\ng=c-b\nh=a-d\nwhile c>0:\n g=c-b\n e.append(g)\n c=g\n h=a-d\n f.append(h)\n a=h\nprint(e,f)\nif e[len(e)-1]>f[len(f)-2]:\n print('Yes')\nelif e[len(e)-1]<0:\n print('Yes')\nelse:\n print('No')\n", "a,b,c,d=map(int,input().split())\ne=0\nf=0\nwhile a-d>=0:\n g=a-d\n e+=1\n a=g\nwhile c-b>=0:\n h=c-b\n f+=1\n c=h\nif g<h:\n print('Yes')\nelif f==0:\n print('Yes')\nelif e==f:\n print('No')\nelse:\n print('No')\n \n", "import math\na,b,c,d=map(int,input().split())\ne=math.ceil(c/b)\nf=math.ceil(a/d)\nif e>f:\n print('No')\nelif e==f:\n print('Yes')\nelse:\n print('Yes')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s119435554', 's145194601', 's250694384', 's652884670', 's762832094', 's828094791', 's839196805', 's876347001', 's964994433', 's262401980']
[9136.0, 9172.0, 9204.0, 9172.0, 8872.0, 9196.0, 9212.0, 9132.0, 9124.0, 9176.0]
[21.0, 26.0, 23.0, 23.0, 23.0, 25.0, 22.0, 22.0, 17.0, 23.0]
[226, 123, 264, 147, 238, 319, 319, 249, 230, 147]
p02700
u122111917
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A, B, C, D = map(int, input().split())\n\nT_kougeki = C / B \nA_kougeki = A / D \n\nif T_kougeki >= A_kougeki:\n print('Yes')\n\nelse:\n print('No')", "import math\n\nA, B, C, D = map(int, input().split())\n\nT_kougeki = C / B \nA_kougeki = A / D \n\nif math.ceil(T_kougeki) <= math.ceil(A_kougeki): \n print('Yes')\n\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s291327961', 's141678415']
[9112.0, 9164.0]
[25.0, 30.0]
[312, 429]
p02700
u123872895
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = list(map(int, input().split()))\n\nif (a-1)//d < (c-1)//b:\n print("Yes")\nelse:\n print("No")', 'a, b, c, d = list(map(int, input().split()))\n\nif (a-1)//d < (c-1)//b:\n\tprint("No")\nelse:\n\tprint("Yes")']
['Wrong Answer', 'Accepted']
['s662711156', 's718439845']
[9164.0, 9160.0]
[21.0, 23.0]
[105, 103]
p02700
u125348436
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d=map(int,input().split())\ncntt=0\ncnta=0\nwhile a<=0:\n a-=d\n cntt+=1\nwhile c<=0:\n c-=b\n cnta+=1\nif cntt>=cnta:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d=map(int,input().split())\ncntt=0\ncnta=0\nwhile a>0:\n a-=d\n cntt+=1\nwhile c>0:\n c=c-b\n cnta+=1\n\nif cntt>=cnta:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s945029852', 's428473993']
[9116.0, 9116.0]
[29.0, 30.0]
[166, 166]
p02700
u126844573
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = map(int, input().split())\n\nwhile a > 0 or c > 0:\n c -= b\n a -= d\nprint("Yes" if c <= 0 else "No")', 'a, b, c, d = map(int, input().split())\n\nwhile a > 0 and c > 0:\n c -= b\n a -= d\nprint("Yes" if c <= 0 else "No")']
['Wrong Answer', 'Accepted']
['s666569284', 's310183549']
[9068.0, 9168.0]
[20.0, 23.0]
[116, 117]
p02700
u129749062
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D = map(int,input().split())\nwhile True:\n C = C - B\n if C <= 0:\n print('C:',C)\n break\n A = A - D\n if A <= 0:\n print('A:',A)\n break\nprint('Yes' if A >= C else 'no')", "A,B,C,D = map(int,input().split())\nwhile A <= 0 or C <= 0:\n A = A - D\n C = C - B\nprint('Yes' if A > C else 'no')", "A,B,C,D = map(int,input().split())\nwhile A <= 0 or C <= 0:\n A = A - D\n C = C - B\nprint('Yes' if A >= C else 'no')", "A,B,C,D = map(int,input().split())\nwhile True:\n C = C - B\n if C <= 0:\n break\n A = A - D\n if A <= 0:\n break\nprint('Yes' if A > 0 else 'no')", "import sys\nA,B,C,D = map(int,input().split())\nwhile True:\n C -= B\n if C <= 0:\n print('Yes')\n sys.exit()\n A -= D\n if A <= 0:\n print('No')\n sys.exit()"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s318850871', 's357458246', 's529692867', 's898875797', 's624732228']
[9200.0, 9168.0, 9188.0, 9164.0, 9164.0]
[23.0, 21.0, 20.0, 23.0, 33.0]
[185, 114, 115, 148, 164]
p02700
u129798154
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["arg = input()\na = (int)(arg.split())[0]\nb = (int)(arg.split())[1]\nc = (int)(arg.split())[2]\nd = (int)(arg.split())[3]\n\nwhile true:\n a = a - d\n if a <= 0:\n print('No')\n break\n c = c - b\n if c <= 0:\n\tprint('yes')\n\tbreak", "arg = input()\na = int((arg.split())[0])\nb = int((arg.split())[1])\nc = int((arg.split())[2])\nd = int((arg.split())[3])\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"]
['Runtime Error', 'Accepted']
['s131004353', 's692073107']
[9000.0, 9128.0]
[22.0, 23.0]
[227, 251]
p02700
u131411061
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D = map(int,input().split())\n\n\n\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())\n\n\n\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\n"]
['Wrong Answer', 'Accepted']
['s917889791', 's200297444']
[9168.0, 9156.0]
[23.0, 24.0]
[195, 196]
p02700
u131464432
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int,input().split())\nans = "No"\nwhile True:\n c -= b if c <= 0\n ans = "Yes" break\n a -= d if a <= 0 break\nprint(ans)', 'a,b,c,d = map(int,input().split())\nans = "No"\nwhile True:\n c -= b \n if c <= 0:\n ans = "Yes"\n break\n a -= d \n if a <= 0:\n break\nprint(ans)']
['Runtime Error', 'Accepted']
['s033231687', 's763355766']
[8960.0, 8984.0]
[23.0, 25.0]
[134, 150]
p02700
u131666536
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["# -*- coding: utf-8 -*-\n\n\nstrT, pwT, strA, pwA = map(int, input().split())\n\nwhile strT > 0 or strA > 0:\n strA -= pwT\n if strA <= 0:\n break\n strT -= pwA\n print(strT, strA)\n\nif strT > 0:\n print('Yes')\nelse:\n print('No')", "# -*- coding: utf-8 -*-\n\n\nstrT, pwT, strA, pwA = map(int, input().split())\n\nwhile strT > 0 or strA > 0:\n strA -= pwT\n if strA <= 0:\n break\n strT -= pwA\n\nif strT > 0:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s902255906', 's035159868']
[8964.0, 9108.0]
[22.0, 22.0]
[324, 302]
p02700
u132878037
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['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=>a/d or c//b=a//d:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c,d=map(int,input().split())\nif c%b==0:\n c=c-1\nif a%d==0:\n a=a-1\nif c//b==a//d:\n print("Yes")\nelif c/b<a/d:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s111866911', 's220046843', 's776798543']
[9132.0, 8960.0, 9108.0]
[21.0, 23.0, 23.0]
[84, 99, 161]
p02700
u135116520
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A,B,C,D=map(int,input().split())\ns=0\nt=0\nwhile A>0:\n A-=D\n s+=1\nwhile C>0:\n C-=B\n t+=1\nif s<=t:\n print("Yes")\nelse:\n print("No")\n \n', 'A,B,C,D=map(int,input().split())\ns=0\nt=0\nwhile A>0:\n A-=D\n s+=1\n if A<=0:\n break\nwhile C>0:\n C-=B\n t+=1\n if C<=0:\n break\nif s>=t:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s850355046', 's007027169']
[9168.0, 9184.0]
[22.0, 22.0]
[138, 176]
p02700
u135197221
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = map(int, input().split(" "))\n\n\nx = a//d\ny = c//d\n\nprint("Yes" if x>=y else "No")', 'a, b, c, d = map(int, input().split(" "))\n\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']
['Wrong Answer', 'Accepted']
['s750131428', 's185823004']
[9160.0, 9172.0]
[30.0, 25.0]
[93, 176]
p02700
u136719195
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['numbers = input().split(" ")\nhealthOfT = int(numbers[0])\nstrengthOfT = int(numbers[1])\nhealthOfA = int(numbers[2])\nstrengthOfA = int(numbers[3])\nfor i in(0,100):\n\thealthOfA=healthOfA-strengthOfT\n\tif healthOfA<0:\n\t\ta=i\n\t\tbreak\nfor p in(0,100):\n\thealthOfT=healthOfT-strengthOfA\n\tif healthOfT<0:\n\t\tbreak\nif p<i:\n\tprint("No")\nelse:\n\tprint("Yes")', 'numbers = input().split(" ")\nhealthOfT = int(numbers[0])\nstrengthOfT = int(numbers[1])\nhealthOfA = int(numbers[2])\nstrengthOfA = int(numbers[3])\ntimes_T_win = healthOfA//strengthOfT + 1\ntimes_A_win = healthOfT//strengthOfA + 1\nif times_T_win >= times_A_win:\n\tprint("Yes")\nelse:\n\tprint("No")\n\n', 'numbers = ["0"]*4\nnumbers = input().split(" ")\nhealthOfT = int(numbers[0])\nstrengthOfT = int(numbers[1])\nhealthOfA = int(numbers[2])\nstrengthOfA = int(numbers[3])\ntimes_T_win = healthOfA//strengthOfT + 1\ntimes_A_win = healthOfT//strengthOfA + 1\nif times_T_win <= times_A_win:\n\tprint("Yes")\nelse:\n\tprint("No")', 'numbers = input().split(" ")\nhealthOfT = int(numbers[0])\nstrengthOfT = int(numbers[1])\nhealthOfA = int(numbers[2])\nstrengthOfA = int(numbers[3])\ntimes_T_win = healthOfA//strengthOfT + 1\ntimes_A_win = healthOfT//strengthOfA + 1\nif times_T_win <= times_A_win:\n\tprint("Yes")\nelse:\n\tprint("No")\n ', 'import math\n\nnumbers = ["0"]*4\nnumbers = input().split(" ")\nhealthOfT = int(numbers[0])\nstrengthOfT = int(numbers[1])\nhealthOfA = int(numbers[2])\nstrengthOfA = int(numbers[3])\ntimes_T_win = math.ceil(healthOfA/strengthOfT)\ntimes_A_win = math.ceil(healthOfT/strengthOfA)\nif times_T_win <= times_A_win:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s022682528', 's035209956', 's562973386', 's746347037', 's212850950']
[9208.0, 9180.0, 9064.0, 9168.0, 9128.0]
[22.0, 22.0, 21.0, 20.0, 21.0]
[341, 292, 308, 292, 333]
p02700
u139216357
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A, B, C, D = map(int, input().split())\nx = 0\nwhile A > 0 or C > 0:\n if x % 2 == 0:\n C -= B\n x += 1\n else:\n A -= D\n x += 1\nif C <= 0:\n print('Yes')\nelse:\n print('No')\n", "A, B, C, D = map(int, input().split())\nx = 0\nwhile A > 0 or C > 0:\n if x % 2 == 0:\n C -= A\n x += 1\n else:\n A -= D\n x += 1\nif C <= 0:\n print('Yes')\nelse:\n print('No')\n", "A, B, C, D = map(int, input().split())\nx = 0\nwhile A > 0 and C > 0:\n if x % 2 == 0:\n C -= B\n x += 1\n else:\n A -= D\n x += 1\nif C <= 0:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s150531772', 's887086768', 's503668134']
[9168.0, 9172.0, 9108.0]
[22.0, 2205.0, 23.0]
[206, 206, 207]
p02700
u140168076
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, 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(a,c)\nprint("Yes") if c>=a else 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']
['s726595814', 's849884844']
[9172.0, 9116.0]
[23.0, 22.0]
[157, 146]
p02700
u143212659
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\n\ndef main():\n A, B, C, D = map(int, input().split())\n while True:\n A -= D\n if A <= 0:\n result = "Yes"\n break\n C -= B\n if C <= 0:\n result = "No"\n break\n print(result)\n\n\nif __name__ == "__main__":\n main()\n', '#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\n\ndef main():\n A, B, C, D = map(int, input().split())\n while True:\n C -= B\n if C <= 0:\n result = "No"\n break\n A -= D\n if A <= 0:\n result = "Yes"\n break\n\n print(result)\n\n\nif __name__ == "__main__":\n main()\n', '#!/usr/bin/env python\n# -*- coding: utf-8 -*-\n\n\ndef main():\n A, B, C, D = map(int, input().split())\n while True:\n C -= B\n if C <= 0:\n result = "Yes"\n break\n A -= D\n if A <= 0:\n result = "No"\n break\n\n print(result)\n\n\nif __name__ == "__main__":\n main()\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s635850918', 's782853005', 's471223771']
[9100.0, 9164.0, 9104.0]
[24.0, 19.0, 20.0]
[334, 335, 335]
p02700
u144072139
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A, B, C, D = map(int,input().split())\nfor i in 100:\n C-=B\n A-=D\n if C<=0 and A<=0:\n print("Yes")\n elif C>0 and A<=0:\n print("No")\n else:\n continue', 'A, B, C, D = map(int,input().split())\nfor i in range(100):\n C-=B\n A-=D\n if C<=0 and A<=0:\n print("Yes")\n break\n elif C>0 and A<=0:\n print("No")\n break\n else:\n continue']
['Runtime Error', 'Accepted']
['s918135695', 's673800066']
[9176.0, 9080.0]
[25.0, 20.0]
[182, 217]
p02700
u150788544
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D = input().split()\n\nif int(A) + 1//(int(D)*2) >= int(C) + 1//(int(B)**2):\n print('Yes')\n\nelse:\n print('No') ", "A,B,C,D = input().split()\n\nif (int(A) - 1)//(int(D)) >= (int(C) - 1)//(int(B)):\n print('Yes')\n\nelse:\n print('No') "]
['Wrong Answer', 'Accepted']
['s098174221', 's813952548']
[9164.0, 9164.0]
[23.0, 22.0]
[124, 123]
p02700
u151182614
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int, input().split())\nturn = 0\nwhile a>0 and c>0:\n if not turn:\n c=c-b\n turn = 1\n else:\n a=a-d\n turn = 0\n\nif turn:\n print("No")\nelse:\n print("Yes")', 'a,b,c,d = map(int, input().split())\nturn = 0\nwhile a>0 and c>0:\n if not turn:\n c=c-b\n turn = 1\n else:\n a=a-d\n turn = 0\n\nif not turn:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s134526361', 's176235797']
[9056.0, 9176.0]
[22.0, 24.0]
[201, 205]
p02700
u152252650
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['MON = list(map(int,input().split()))\n\nWhile True:\n \n MON[2] = MON[2] - MON[1]\n if(MON[2] <= 0):\n print("Yes")\n break\n\n MON[0] = MON[0] - MON[3]\n if (MON[0] <= 0 ):\n print("No")\n break\n ', 'MON = list(map(int,input().split()))\n \nwhile 1:\n \n MON[2] = MON[2] - MON[1]\n if(MON[2] <= 0):\n print("Yes")\n break\n \n MON[0] = MON[0] - MON[3]\n if (MON[0] <= 0 ):\n print("No")\n break']
['Runtime Error', 'Accepted']
['s760372169', 's378900419']
[8748.0, 8964.0]
[24.0, 26.0]
[203, 199]
p02700
u152334204
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["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 if <=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 if A<=0:\n print('No')\n break"]
['Runtime Error', 'Accepted']
['s595787282', 's518123700']
[8928.0, 9172.0]
[26.0, 21.0]
[139, 140]
p02700
u152402277
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a = list(map(int,input().split()))\n \nA = a[0]\nB = a[1]\nC = a[2]\nD = a[3]\n \nwhile B>0 and D>0:\n D = D - A\n if D <= 0:\n print("Yes")\n break\n B = B - C\n if B <= 0:\n print("No")\n break', 'a = list(map(int,input().split()))\n \nA = a[0]\nB = a[1]\nC = a[2]\nD = a[3]\n \nwhile B>0 and D>0:\n B = B - D\n if B <= 0:\n print("Yes")\n break\n D = D - A\n if D <= 0:\n print("No")\n break\n\n', 'a = list(map(int,input().split()))\n\nA = a[0]\nB = a[1]\nC = a[2]\nD = a[3]\n\nwhile A>0 and B>0:\n B = B - D\n if B <= 0:\n print("Yes")\n break\n A = A - C\n if B <= 0:\n print("No")\n break', 'a = list(map(int,input().split()))\n \nA = a[0]\nB = a[1]\nC = a[2]\nD = a[3]\n \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', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s354983205', 's850872887', 's945704702', 's823048312']
[9164.0, 9120.0, 9204.0, 9124.0]
[22.0, 22.0, 21.0, 21.0]
[196, 198, 194, 196]
p02700
u153823221
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c, d = map(int, input().split())\n\naoki = c\ntakahashi = a\n\nfor i in range(101):\n if takahashi - d > 0: \n if aoki - b =< 0: \n print("Yes")\n break\n else: \n takahashi = takahashi - d\n aoki = aoki - c\n continue\n else: \n print("No")\n break', 'a, b, c, d = map(int, input().split())\n\naoki = c\ntakahashi = a\n\nfor i in range(101):\n if aoki - b > 0: \n if takahashi - d <= 0: \n print("No")\n break\n else: \n takahashi = takahashi - d\n aoki = aoki - b\n continue\n else: \n print("Yes")\n break']
['Runtime Error', 'Accepted']
['s232409464', 's805615263']
[8920.0, 9176.0]
[23.0, 21.0]
[317, 351]
p02700
u159335277
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = list(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 pinrt('No')\n break\n", "a, b, c, d = list(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\n"]
['Runtime Error', 'Accepted']
['s514589609', 's956479547']
[9084.0, 9032.0]
[25.0, 21.0]
[154, 154]
p02700
u160265910
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["def battle(player1, player2):\n while player1.hp <= 0:\n attack(player2, player1)\n if player1.hp <= 0:\n return 'No'\n attack(player1, player2)\n if player2.hp <= 0:\n return 'Yes'\n return 'No'", "a, b, c, d = map(int,input().split())\n\ntakahashi_hp = (a + d - 1) // d\naoki_hp = (b + c - 1) // c\n\nif takahashi_hp >= aoki_hp:\n print('Yes')\nelse:\n print('No')", "\nt_hp, t_ap, a_hp, a_ap = map(int,input().split())\n\nwhile t_hp == 0 or a_hp == 0:\n a_hp -= t_ap\n if a_hp <= 0:\n return 'Yes'\n break\n\n t_hp -= a_ap\n if t_hp <= 0:\n return 'No'\n break", "t_hp, t_ap, a_hp, a_ap = map(int,input().split())\n\nwhile t_hp > 0 or a_hp > 0:\n a_hp -= t_ap\n if a_hp <= 0:\n return 'Yes'\n break\n\n t_hp -= a_ap\n if t_hp <= 0:\n return 'No'\n break", "class monster:\n\n def __init__(self, hp, ap):\n self.hp = hp\n self.ap = ap\n\n \ndef battle(player1, player2):\n for i in range(1 + player2.hp // player1.ap):\n attack(player1, player2)\n if player2.hp <= 0:\n return 'Yes'\n attack(player2, player1)\n return 'No'\n\ndef attack(attacker, receiver):\n receiver.hp -= attacker.ap\n\na, b, c, d = map(int, input().split())\ntakahashi = monster(a, b)\naoki = monster(c,d)\n\nprint(battle(takahashi, aoki))\n", "\na, b, c, d = map(int,input().split())\n\ntakahashi_hp = a / d\naoki_hp = b / c\n\nif takahashi_hp >= aoki_hp:\n print('Yes')\nelse:\n print('No')", "a, b, c, d = map(int,input().split())\n\ntakahashi_hp = a // d\naoki_hp = b // c\n\nif takahashi_hp >= aoki_hp:\n print('Yes')\nelse:\n print('No')", "t_hp, t_ap, a_hp, a_ap = map(int,input().split())\n\nwhile t_hp > 0 or a_hp > 0:\n a_hp -= t_ap\n if a_hp <= 0:\n print('Yes')\n break\n\n t_hp -= a_ap\n if t_hp <= 0:\n print('No')\n break"]
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s340418010', 's387495733', 's692833883', 's837593228', 's841492217', 's852734709', 's886686648', 's595216827']
[8964.0, 8932.0, 9080.0, 9052.0, 9132.0, 9028.0, 9088.0, 9148.0]
[23.0, 20.0, 21.0, 20.0, 22.0, 20.0, 20.0, 22.0]
[243, 165, 221, 218, 497, 144, 145, 218]
p02700
u161155417
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int,input().split())\nx=(c+b-1)/b\ny=(a+d-1)/d\nprint(x,y)\nif x<=y:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nx=(c+b-1)/b\ny=(a+d-1)/d\nprint(x,y)\nif x<=y:\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d = map(int,input().split())\nx=c/b\ny=a/d\nmath.ceil(x)\nmath.ceil(y)\nprint(x,y)\nif x<=y:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nx=c//b\ny=a//d\nif x==y:\n print("Yes")\nelif x>y:\n print("No")\nelse:\n print("Yes")', 'a,b,c,d = map(int,input().split())\nx=(c+b-1)/b\ny=(a+d-1)/d\nprint(x,y)\nif x<=y:\n print("Yes")\nelse:\n print("No")', ' a,b,c,d = map(int,input().split())\nwhile(a>0 or c>0):\n c-=b\n a-=d\nif a<=0 and c>0:\n print("No")\nelif c<=0 and a>0: \n print("Yes")\nelif a<=0 and c<=0:\n print("Yes")', 'a,b,c,d = map(int,input().split())\nwhile(a>0 and c>0):\n c-=b\n a-=d\nif a<=0 and c>0:\n print("No")\nelif c<=0 and a>0: \n print("Yes")\nelif a<=0 and c<=0:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s049745855', 's098290528', 's122025455', 's230616508', 's581334244', 's769203430', 's170862910']
[8972.0, 9088.0, 9064.0, 9056.0, 9116.0, 8916.0, 9104.0]
[22.0, 20.0, 21.0, 22.0, 21.0, 21.0, 21.0]
[113, 113, 139, 117, 113, 169, 169]
p02700
u161432819
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A, B, C, D = [int(i) for i in input().split()]\n \nwhile A and C > 0:\n A -= D\n C -= B\n \nif A >= 0:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = [int(i) for i in input().split()]\n \nwhile A or C > 0:\n A -= D\n C -= B\n \nif A > 0:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = [int(i) for i in input().split()]\n \na = A/D\nb = C/B\n \nif a >= 0:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = [int(i) for i in input().split()]\n \nwhile A or C > 0:\n A -= D\n C -= B\n \nif A >= C:\n print('Yes')\nelse:\n print('No')\n", "A, B, C, D = [int(i) for i in input().split()]\n \nwhile A 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\n\n \n\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Time Limit Exceeded', 'Accepted']
['s285351336', 's729998845', 's778184641', 's961182140', 's597256422']
[9168.0, 9096.0, 9172.0, 9140.0, 9152.0]
[23.0, 2206.0, 21.0, 2206.0, 21.0]
[133, 131, 112, 133, 165]
p02700
u162893962
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["import math\na, b, c, d = map(int, input().split())\n\ntaka = math.ceil(c/b)\nao = math.ceil(a/d)\n\nprint(taka, ao)\nis_true = True\nif taka < ao:\n is_true = True\nelif taka > ao:\n is_true = False\nelse:\n if b > d:\n is_true = False\n\nif is_true:\n print('Yes')\nelse:\n print('No')\n", "\na, b, c, d = map(int, input().split())\n\n\nturn = 0\n\nwhile a >= 1 and c >= 1:\n if turn % 2 == 0:\n c -= b\n else:\n a -= d\n turn += 1\n\n\nif turn % 2 != 0:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s401813240', 's552168583']
[9152.0, 9112.0]
[24.0, 21.0]
[291, 398]
p02700
u163903855
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d=(int(x) for x in input().split())\nif (c+1)//b < (a+1)//d:\n print("No")\nelse:\n print("Yes")', 'a,b,c,d=[int(x) for x in input().split()]\nprint((c-1)//b , (a-1)//d)\nif (c-1)//b > (a-1)//d:\n print("No")\nelse:\n print("Yes")', 'a,b,c,d=[int(x) for x in input().split()]\nif (c-1)//b < (a-1)//d:\n print("No")\nelse:\n print("Yes")', 'a,b,c,d=[int(x) for x in input().split()]\nif (c-1)//b > (a-1)//d:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s015762015', 's098908745', 's728361809', 's232058562']
[9100.0, 9172.0, 9164.0, 9164.0]
[22.0, 20.0, 20.0, 22.0]
[100, 127, 100, 100]
p02700
u166340293
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A,B,C,D=map(int,input().split())\nflag=0\nwhile A>0 or C>0:\n if flag==0:\n C-=B\n flag=1\n else:\n A-=D\n flag=0\nif A<=0:\n print("Yes")\nelse:\n print("No")', 'A,B,C,D=map(int,input().split())\nflag=0\nwhile A>0 and C>0:\n if flag==0:\n C-=B\n flag=1\n else:\n A-=D\n flag=0\nif C<=0:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s604558294', 's779322936']
[9116.0, 9172.0]
[22.0, 21.0]
[163, 164]
p02700
u166849422
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['h1, a1, h2, a2 = map(int,input().split())\nx = h2 // a1\ny = h1 // a2\nprint("Yes" if x >= y else "No")', 'import math\nh1, a1, h2, a2 = map(int,input().split())\nx = math.ceil(h2/a1)\ny = math.ceil(h1/a2)\nprint("Yes" if x <= y else "No")']
['Wrong Answer', 'Accepted']
['s276813043', 's004675442']
[9036.0, 9172.0]
[22.0, 20.0]
[100, 128]
p02700
u169702930
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int, input().split())\nwhile True:\n a -= d\n if a <= 0:break\n c -= b\n if c <= 0:break\nif a <= 0:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int, input().split())\nwhile True:\n c -= b\n if c <= 0:break\n a -= d\n if a <= 0:break\nif a <= 0:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s179736266', 's835711143']
[9176.0, 9176.0]
[22.0, 24.0]
[159, 159]
p02700
u181159654
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['input_list = map(int, input().split())\n\nflag = False\nfor idx in input_list:\n if idx>=1 and idx<=100:\n flag = True\n if flag is False:\n break\n \nturn = 0\nif flag:\n A, B, C, D = input_list\n continue_flag = True\n while continue_flag:\n if turn%2==0:\n C -= B\n if C<=0:\n print("Yes")\n continue_flag = False\n turn += 1\n else:\n A -= D\n if A<=0:\n print("No")\n continue_flag = False\n turn += 1\n \n ', 'input_list = list(map(int, input().split()))\n\nflag = False\nfor idx in input_list:\n if idx>=1 and idx<=100:\n flag = True\n if flag is False:\n break\n \nturn = 0\nif flag:\n A, B, C, D = input_list\n continue_flag = True\n while continue_flag:\n if turn%2==0:\n C -= B\n if C<=0:\n print("Yes")\n continue_flag = False\n turn += 1\n else:\n A -= D\n if A<=0:\n print("No")\n continue_flag = False\n turn += 1\n ']
['Runtime Error', 'Accepted']
['s170486106', 's354496288']
[9188.0, 9192.0]
[21.0, 21.0]
[471, 536]
p02700
u181195295
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = map(int, input().split())\n\nwhile (a>0) & (c>0):\n tmp1 = c-b\n tmp2 = a-d\n if temp1<=0: print('Yes')\n elif temp2<=0: print('No')", "a, b, c, d = map(int, input().split())\n\nnum1 = a//d\nnum2 = c//d\n\nif num1>=num2:\n print('Yes')\nelse:\n print('No')\n", "a, b, c, d = map(int, input().split())\n\nnum1 = a//d\nnum2 = c//b\n\nprint('Yes' if num1>=num2 else'No')", "a, b, c, d = map(int, input().split())\n\nnum1 = a//d\nnum2 = c//d\n\nif num1>=num2:\n print('Yes')\nelse:\n print('No')\n", "a, b, c, d = map(int, input().split())\n\nnum1 = (a-1)//d\nnum2 = (c-1)//b\n\nprint('Yes' if num1>=num2 else'No')"]
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s010439767', 's367290112', 's377198245', 's678048397', 's213995553']
[9120.0, 9152.0, 9160.0, 9100.0, 9164.0]
[21.0, 19.0, 23.0, 22.0, 22.0]
[143, 115, 100, 115, 108]
p02700
u184902932
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['import math\na,b,c,d = map(int,input().split())\nprint("Yes" if math.ceil(c/b) >= math.ceil(d/a) else "No")\n', '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']
['s362974727', 's677238874']
[8988.0, 9104.0]
[24.0, 22.0]
[106, 105]
p02700
u186121428
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A, B, C, D = map(int, input().split())\nt = C // B + 1\na = A // D + 1\nif t <= a:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = map(int, input().split())\nt = C // B\na = A // D + 1\nif t <= a:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = map(int, input().split())\nt_eq = -(-C//B)\na_eq = -(-A//D)\nif t_eq <= a_eq:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s506768120', 's660413827', 's624503731']
[9148.0, 9172.0, 9164.0]
[23.0, 23.0, 20.0]
[118, 114, 126]
p02700
u189479417
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["from math import ceil\nA, B, C, D = map(int,input().split())\nt = ceil(C / A)\na = ceil(A / D)\nif t <= a:\n print('Yes')\nelse:\n print('No')", "from math import ceil\nA, B, C, D = map(int,input().split())\nt = ceil(C / B)\na = ceil(A / D)\nif t <= a:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s677404917', 's342162634']
[9168.0, 9100.0]
[23.0, 23.0]
[141, 141]
p02700
u189513668
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['while True:\n C -= B\n if C <= 0:\n print("Yes")\n break\n A -= D\n if D <= 0:\n print("No")\n break', 'A, B, C, D = map(int, input().split())\n\nwhile True:\n C -= B\n #print(C)\n if C <= 0:\n print("Yes")\n break\n A -= D\n #print(A)\n if A <= 0:\n print("No")\n break']
['Runtime Error', 'Accepted']
['s141118827', 's765953571']
[8856.0, 9108.0]
[20.0, 20.0]
[132, 200]
p02700
u193524519
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['# encoding="UTF-8"\n\nA,B,C,D = map(int,input().split())\ni=0\nwhile i == 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', '# encoding="UTF-8"\n\nA,B,C,D = map(int,input().split())\ni=0\nwhile i == 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']
['Wrong Answer', 'Accepted']
['s972100409', 's605416402']
[9156.0, 9172.0]
[22.0, 22.0]
[193, 193]
p02700
u195355592
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())\n\nTakahashi = [T_HP,T_Atk]\nAsakura = [A_HP,A_Atk]\n\n \nwhile True: \n Asakura[0] -= Takahashi[1]\n if Asakura[0] < 0:\n print("Yes")\n exit()\n \n \n Takahashi[0] -= Asakura[1]\n if Takahashi[0] < 0:\n print("No")\n exit()\n', 'T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())\n\n\n\nwhile True:\n \n A_HP -= T_Atk\n if A_HP > 0:\n T_HP -= A_Atk\n if T_HP > 0:\n pass\n else:\n exit()\n else:\n print("Yes")\n exit()', 'T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())\n\nTakahashi = [T_HP,T_Atk]\nAsakura = [A_HP,A_Atk]\n\n \nwhile True: \n Asakura[0] - Takahashi[1]\n if Asakura[0] < 0:\n print("Yes")\n exit()\n \n \n Takahashi[0] - Asakura[1]\n if Takahashi[0] < 0:\n print("No")\n exit()\n', 'T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())\n\n\n\nwhile True:\n \n A_HP -= T_Atk\n print(A_HP,T_Atk)\n if A_HP > 0:\n T_HP -= A_Atk\n if T_HP > 0:\n pass\n else:\n exit()\n else:\n print("Yes")\n exit()', 'T_HP,T_Atk,A_HP,A_Atk = map(int,input().split())\n\nTakahashi = [T_HP,T_Atk]\nAsakura = [A_HP,A_Atk]\n\n \nwhile True: \n Asakura[0] -= Takahashi[1]\n if Asakura[0] < 1:\n print("Yes")\n exit()\n \n \n Takahashi[0] -= Asakura[1]\n if Takahashi[0] < 1:\n print("No")\n exit()\n']
['Wrong Answer', 'Wrong Answer', 'Time Limit Exceeded', 'Wrong Answer', 'Accepted']
['s051375593', 's266016639', 's306664030', 's385730391', 's831515786']
[9180.0, 9172.0, 8920.0, 9172.0, 9176.0]
[22.0, 23.0, 2205.0, 22.0, 23.0]
[311, 242, 309, 264, 311]
p02700
u195396655
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = map(int, input().split())\n\nwhile:\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", 'a, b, c, d = map(int, input().split())\n\nwhile:\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', 'a, b, c, d = map(int, input().split())\n\nwhile:\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', 'a, b, c, d = map(int, input().split())\n\nwhile True:\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', 'Runtime Error', 'Runtime Error', 'Accepted']
['s258342412', 's536719105', 's550914180', 's406673382']
[8948.0, 8992.0, 8880.0, 9164.0]
[22.0, 19.0, 22.0, 21.0]
[149, 149, 149, 154]
p02700
u196507615
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['n,a,b=[int(x) for x in input().split()]\n\nprint((n//(a+b))*a + (n%(a+b)))\n', 'import math\na,b,c,d=[int(x) for x in input().split()]\nprint("{} {}".format(math.ceil(c/b),math.ceil(a/d)))\nif math.ceil(c/b)<=math.ceil(a/d):\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d=[int(x) for x in input().split()]\nif math.ceil(c/b)<=math.ceil(a/d):\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s106210715', 's885801386', 's116211505']
[9156.0, 9188.0, 9092.0]
[21.0, 24.0, 20.0]
[73, 180, 127]
p02700
u196746947
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d=map(int,input().split())\ni=0\nwhile a*c>0:\n if i%2==0:\n c+=(-b)\n else:\n a+=(-d)\n \nif a>0:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d=map(int,input().split())\ni=0\nwhile a*c>0:\n if i%2==0:\n c+=(-b)\n else:\n a+=(-d)\n i+=1\n \nif a>0:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s322971339', 's707762232']
[9096.0, 8964.0]
[22.0, 20.0]
[158, 167]
p02700
u202577948
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D=input().split()\nA = int(A)\nB = int(B)\nC = int (C)\nD = int(D)\nif A >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and C+D < A+B:\n print ('No')\nelse:\n print ('Yes')", "A,B,C,D = (map(int,input().split()))\nwhile True:\n C = C - D\n if C <= 0:\n print('Yes')\n break\n A = A-D\n if A<=0:\n print ('No')\n break", "A,B,C,D = input().split()\nA = int(A)\nB = int(B)\nC = int(C)\nD = int(D)\nif A-D > C-B or A - D ==0:\n print ('Yes')\nelse:\n print ('No')", "a,b,c,d = (map(int,input().split()))\nwhile True:\n c = c - d\n if c <= 0:\n print('Yes')\n break\n a = a-d\n if a<=0:\n print ('No')\n break\n ", "A,B,C,D = input().split()\nA = int(A)\nB = int(B)\nC = int(C)\nD = int(D)\nif A>=1 and A<=100 and B>=1 and B<=100 and C>=1 and C<=100 and D>=1 and D<=100:\n if A-D > C-B or A - D ==0:\n print ('Yes')\n else:\n print ('No')", "A,B,C,D=input().split()\nA = int(A)\nB = int(B)\nC = int (C)\nD = int(D)\nif A >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and A-B > C - D:\n print ('Yes')\nelse:\n print ('No')", "A,B,C,D=input().split()\nA = int(A)\nB = int(B)\nC = int (C)\nD = int(D)\nE = A - D\nF = C - B\nif E < F or A - B ==0:\n print ('Yes')\nelse:\n print ('No')", "A,B,C,D=input().split()\nA = int(A)\nB = int(B)\nC = int (C)\nD = int(D)\nif A >=1 and A <=100 and B >=1 and B <=100 and C >=1 and C <=100 and D >=1 and D <=100 and A - B < C:\n print ('Yes')\nelse:\n print ('No')", "A, B, C, D = (map(int, input().split()))\nwhile True:\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', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s133601228', 's224790466', 's230606952', 's529544256', 's561816884', 's672503201', 's861330813', 's899211521', 's037104483']
[9196.0, 9124.0, 9172.0, 9164.0, 9100.0, 9128.0, 9088.0, 9120.0, 9172.0]
[20.0, 20.0, 20.0, 21.0, 22.0, 22.0, 22.0, 22.0, 20.0]
[212, 172, 137, 177, 233, 214, 152, 212, 179]
p02700
u203471639
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['n, m, c, d = map(int, input().split())\nif (n - m) < (c -d) or (n - m) == 0:\n print("No")\nelse:\n print("Yes")', "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", 'n, m, c, d = map(int, input().split())\nif (n - m) < (c -d):\n print("No")\nelse:\n print("Yes")', "a, b, c, d = map(int, input().split())\nwhile True:\n\tc -= b\n\ta -= d\n if c <= 0:\n print('Yes')\n break\n if a <= 0:\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 print('No')\n break"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s729516860', 's766139333', 's784684827', 's965960084', 's914440336']
[9168.0, 9176.0, 9104.0, 9020.0, 9168.0]
[24.0, 22.0, 23.0, 23.0, 23.0]
[114, 171, 98, 165, 171]
p02700
u204800924
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['46 4 40 5', 'a, b, c, d = map(int, input().split())\n\nwhile True:\n c -= b\n if c<=0:\n print("Yes")\n exit()\n \n a -= d\n if a<=0:\n print("No")\n exit()']
['Runtime Error', 'Accepted']
['s279464722', 's773025944']
[9012.0, 9152.0]
[29.0, 27.0]
[9, 179]
p02700
u211236379
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['while 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()', 'A, B, C, D= map(int, input().split())\n\n\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()']
['Runtime Error', 'Accepted']
['s297951402', 's563809962']
[9036.0, 9108.0]
[21.0, 21.0]
[145, 185]
p02700
u211805975
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["# B Battle\n\na,b,c,d = map(int,input().split())\nans = 1\nwhile ans:\n a = a - d\n c = c - b\n if a <= 0 or c <= 0:\n break\nprint(a,c) \nif a >= c:\n print('Yes')\nelif c < a:\n print('No')", "# B Battle\n\na,b,c,d = map(int,input().split())\n\nwhile True:\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']
['s437870535', 's320070456']
[8928.0, 9132.0]
[23.0, 23.0]
[207, 182]
p02700
u213314609
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d = map(int, input()split())\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, B, C, D = map(int, input().split())\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")']
['Runtime Error', 'Accepted']
['s571936595', 's561116243']
[8860.0, 9160.0]
[25.0, 21.0]
[136, 149]
p02700
u213485233
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a,b,c,d=map(int,input().split())\na,b=max(a,b),min(a,b)\nc,d=max(c,d),min(c,d)\nd=d-a\nflag='NO'\nif d<=0:\n flag='YES'\nelse:\n b=b-c\n if b<=0:\n \tflag='NO'\n else:\n c=c-a\n if c<=0:\n flag='YES'\nprint(flag)\n \n \n\t\n\n", "a,b,c,d=map(int,input().split())\na,b=max(a,b),min(a,b)\nc,d=max(c,d),min(c,d)\nd=d-a\nflag='No'\nif d<=0:\n flag='Yes'\nelse:\n b=b-c\n if b<=0:\n \tflag='No'\n else:\n c=c-a\n if c<=0:\n flag='Yes'\nprint(flag)", "a,b,c,d=map(int,input().split())\na=max(a,b)\nc=max(c,d)\nif a>=c:\n print('YES')\nelse:\n print('NO')", "a,b,c,d=map(int,input().split())\na,b=max(a,b),min(a,b)\nc,d=max(c,d),min(c,d)\nif a>=d:\n print('Yes')\nelse:\n print('No')", "from sys import stdin\ninput=lambda : stdin.readline().strip()\nfrom math import ceil,sqrt,factorial,gcd\n# for _ in range(int(input())):\na,b,c,d=map(int,input().split())\nwhile 1:\n\tif c<=b:\n\t\tprint('Yes')\n\t\tbreak\n\telse:\n\t\tc=c-b\n\t\tif a<=d:\n\t\t\tprint('No')\n\t\t\tbreak\n\t\telse:\n\t\t\ta=a-d\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s036752812', 's268946772', 's299445417', 's616301802', 's635063879']
[9188.0, 9200.0, 9168.0, 9128.0, 9172.0]
[24.0, 24.0, 23.0, 22.0, 21.0]
[224, 212, 98, 120, 277]
p02700
u217303170
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a, b, c, d = map(int, input().split())\nx = c // b\ny = a // d\nif x <= y:\n print('Yes')\nelse:\n print('No')\n", "a, b, c, d = map(int, input().split())\nx = c % b\ny = a % d\nif x >= y:\n print('Yes')\nelse:\n print('No')\n", "a, b, c, d = map(int, input().split())\nx = (a+d-1)//d\ny = (c+b-1)//b\nif x >= y:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s097531469', 's754458572', 's381184710']
[9140.0, 8964.0, 8876.0]
[21.0, 21.0, 20.0]
[111, 109, 119]
p02700
u217836256
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['K = input().split(" ")\nk = [int(n) for n in K]\nt =k[0]//k[3]\na = k[2]//k[1]\nt1 = k[0]%k[3]\na1 = k[2]%k[1]\nif t > a:\n print(\'Yes\')\nelif t == a and a1 /= 0:\n print(\'Yes\')\nelif t == a and t1 /= 0:\n print(\'No\')\nelse:\n print(\'No\')\n', 'K = input().split(" ")\nk = [int(n) for n in K]\nt =k[0]//k[3]\na = k[2]//k[1]\nt1 = k[0]%k[3]\na1 = k[2]%k[1]\nif t+1 > a:\n print(\'Yes\')\nelif t+1 == a and t1 != 0:\n print(\'Yes\')\nelse:\n print(\'No\')\n', 'K = input().split(" ")\nk = [int(n) for n in K]\nt =k[0]//k[3]\na = k[2]//k[1]\nt1 = k[0]%k[3]\na1 = k[2]%k[1]\nif t1 != 0:\n t = t+1\nif a1 != 0:\n a = a+1\nif t>=a:\n print(\'Yes\')\nelse:\n print(\'No\')\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s119496537', 's186446476', 's584000057']
[8932.0, 9204.0, 9080.0]
[19.0, 20.0, 25.0]
[238, 201, 202]
p02700
u218506594
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d=map(int,input().split())\nwhile True:\n c = c - b\n if c <= 0:\n print("Yes")\n break\n a = a-d\n if a <= 0:\n print("No")', 'a,b,c,d=map(int,input().split())\nwhile True:\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']
['s841237682', 's608886218']
[9108.0, 9076.0]
[19.0, 24.0]
[155, 169]
p02700
u218757284
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, 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")', 'a, b, c, d = map(int, input().split())\nif (a % d == 0):\n th = a // d\nelse:\n th = a // d + 1\nif b * th >= c:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s637412848', 's325852787']
[9164.0, 9168.0]
[21.0, 23.0]
[123, 144]
p02700
u220874655
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a,b,c,d=map(int,input().split())\nif a%d ==0:\n if c%d==0:\n if a/d >= c/d:\n print("Yes")\n else:\n print("No")\n else:\n if a/d >= (c//d+1) :\n print("Yes")\n else:\n print("No")\n\nelse:\n if c%d==0:\n if (a//d+1) >= c/d:\n print("Yes")\n else:\n print("No")\n else:\n if (a//d+1) >= (c//d+1) :\n print("Yes")\n else:\n print("No")\n\n \n', 'a,b,c,d=map(int,input().split())\nif a%d ==0:\n if c%b==0:\n if a/d >= c/b:\n print("Yes")\n else:\n print("No")\n else:\n if a/d >= (c//b+1) :\n print("Yes")\n else:\n print("No")\n\nelse:\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+1) >= (c//b+1) :\n print("Yes")\n else:\n print("No")\n\n \n']
['Wrong Answer', 'Accepted']
['s819037117', 's552968411']
[9196.0, 9200.0]
[22.0, 21.0]
[473, 473]
p02700
u225003503
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b ,c, d = map(int, input().split())\n\nwhile (a > 0) and (c > 0):\n a = a - d\n c = c - b\n \nif c <= 0:\n print("yes")\nelif a <= 0:\n print("no")', 'a, b ,c, d = map(int, input().split())\n\nwhile (a > 0) and (c > 0):\n a = a - d\n c = c - b\n \nif c <= 0:\n print("Yes")\nelif a <= 0:\n print("No")']
['Wrong Answer', 'Accepted']
['s394394506', 's584652497']
[9172.0, 9176.0]
[20.0, 22.0]
[145, 145]
p02700
u227279746
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A, B, C, D = map(int,input().split())\n\nwhile C - B > 0:\n x = C - B\n if C <= 0:\n print('Yes')\n\nwhile A - D > 0:\n y = A - D\n if A <= 0:\n print('No')", "A, B, C, D = map(int,input().split())\n\nwhile C > 0:\n C = C - B\n if C <= 0:\n print('Yes')\n break\n\nwhile A > 0:\n A = 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\n A -= D\n if A <= 0:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s205201727', 's847611532', 's387344795']
[9028.0, 9168.0, 9040.0]
[2205.0, 29.0, 28.0]
[172, 192, 169]
p02700
u228232845
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['t_hp, t_atk, a_hp, a_atk = map(int, input().split())\nwhile (1):\n t_hp -= a_atk\n if t_hp <= 0:\n ans = "Yes"\n break\n a_hp -= t_atk\n if a_hp <= 0:\n ans = "No"\n break\n \nprint(ans)', 't_hp, t_atk, a_hp, a_atk = map(int, input().split())\nwhile (1):\n a_hp -= t_atk\n if a_hp <= 0:\n ans = "Yes"\n break\n t_hp -= a_atk\n if t_hp <= 0:\n ans = "No"\n break\n \nprint(ans)']
['Wrong Answer', 'Accepted']
['s005959842', 's441714599']
[9132.0, 9176.0]
[21.0, 24.0]
[218, 218]
p02700
u228976998
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
[' vals = [int(i) for i in input().split()]\n a = vals[0]\n b = vals[1]\n c = vals[2]\n d = vals[3]\n res2 = a//d + (1 if(a % d > 0) else 0)\n res1 = c//b + (1 if(c % b) > 0 else 0)\n res = "Yes" if(res1 <= res2) else "No"\n print(res)', ' vals = [int(i) for i in input().split()]\n a = vals[0]\n b = vals[1]\n c = vals[2]\n d = vals[3]\n res2 = a//d + (1 if(a % d > 0) else 0)\n res1 = c//b + (1 if(c % b > 0) else 0)\n res = "Yes" if(res1 <= res2) else "No"\n print(res)', 'def Bfun():\n vals = [int(i) for i in input().split()]\n a = vals[0]\n b = vals[1]\n c = vals[2]\n d = vals[3]\n res2 = a//d + (1 if(a % d > 0) else 0)\n res1 = c//b + (1 if(c % b > 0) else 0)\n res = "Yes" if(res1 <= res2) else "No"\n print(res)\nBfun()']
['Runtime Error', 'Runtime Error', 'Accepted']
['s058829953', 's795013176', 's430765622']
[9008.0, 8680.0, 9184.0]
[28.0, 28.0, 28.0]
[252, 252, 271]
p02700
u230621983
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a,b,c,d = map(int, input().split())\n\nif a//c > b//d + 1:\n print('No')\nelse:\n print('Yes')", "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 if a <= 0:\n print('No')\n break"]
['Wrong Answer', 'Accepted']
['s804284592', 's343316021']
[9108.0, 9108.0]
[23.0, 22.0]
[95, 169]
p02700
u237327356
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['A,B,C,D = map(int,input().split())\nwhile A>0 && C>0:\n C=C-B\n A=A-D\n\nif C<0:\n print("Yes")\nelse:\n print("No")\n', 'A,B,C,D = map(int,input().split())\nwhile True:\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']
['Runtime Error', 'Accepted']
['s063656457', 's988118606']
[8960.0, 9120.0]
[21.0, 20.0]
[121, 163]
p02700
u239048001
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["a,b,c,d=map(int,input().split())\nwhile a,b>0:\n c-=b\n a-=d\nif a<=0,b>0:\n print('No')\nelif b<=0:\n print('Yes')", "a,b,c,d=map(int,input().split())\nwhile a>0 and b>0:\n c-=b\n a-=d\nif a<=0 and c>0:\n print('No')\nelif c<=0:\n print('Yes')"]
['Runtime Error', 'Accepted']
['s636144595', 's555807765']
[9024.0, 9172.0]
[24.0, 20.0]
[112, 122]
p02700
u240608977
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['th,td,ah,ad = map(int,input().split())\nx,y = (td+ah-1)//ah,(ad+th-1)//th\nif(x<=y):print("Yes")\nelse:print("No")\n', 'th,td,ah,ad = map(int,input().split())\nx,y = (td+ah-1)//td,(ad+th-1)//ad\nif(x<=y):print("Yes")\nelse:print("No")\n']
['Wrong Answer', 'Accepted']
['s211079746', 's005735525']
[9164.0, 9156.0]
[23.0, 23.0]
[112, 112]
p02700
u241544828
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
['a, b, c,d = map(int, input().split())\naa=a\ncc=c\nfor i in range(a//d+1):\n cc = cc - b\n print(cc)\n if cc<1:\n print("Yes")\n break;\n aa = aa - d\n print(aa)\n if aa <1:\n print("No")\n break;', 'a, b, c d = map(int, input().split())\naa=a\ncc=c\nfor i in range(a//d+1):\n cc = cc - b\n print(cc)\n if cc<1:\n print("Yes")\n break;\n aa = aa - d\n print(aa)\n if aa <1:\n print("No")\n break;', 'a, b, c,d = map(int, input().split())\naa=a\ncc=c\nfor i in range(a//d+1):\n cc = cc - b\n\n if cc<1:\n print("Yes")\n break;\n aa = aa - d\n\n if aa <1:\n print("No")\n break;']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s251434841', 's746037085', 's444479739']
[9172.0, 8952.0, 9208.0]
[20.0, 26.0, 21.0]
[221, 221, 195]
p02700
u242890210
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["[A, B, C, D] = list(map(int, input().split()))\nX = A / D\nY = B / C\nif X >= Y:\n print('Yes')\nelse:\n print('No')", "[A, B, C, D] = list(map(int, input().split()))\nX = A / D\nY = C / B\nif (Y - X) > 1 or (X < 0 and Y < 0):\n print('No')\nelse:\n print('Yes')", "[A, B, C, D] = list(map(int, input().split()))\nX = int(A / D)\nY = int(C / B)\nif X >= Y:\n print('Yes')\nelse:\n print('No')", "[S, W] = list(map(int, input().split()))\nif W >= S:\n print('unsafe')\nelse:\n print('safe')", "[A, B, C, D] = list(map(int, input().split()))\nX = A / D\nY = C / B\nif (X - Y) > 1 \n print('Yes')\nelse:\n if Y > X:\n print('No')\n else:\n print('Yes')", "[A, B, C, D] = list(map(int, input().split()))\nX = A / D\nY = C / B\nif X <= Y:\n print('Yes')\nelse:\n print('No')", "[A, B, C, D] = list(map(int, input().split()))\nX = A / D\nY = B / C\nif X >= Y:\n prinT('Yes')\nelse:\n print('No')", "import math\n[A, B, C, D] = list(map(int, input().split()))\nX = math.ceil(A / D)\nY = math.ceil(C / B)\nif Y > X:\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s004297503', 's275617732', 's356405283', 's467546672', 's621242405', 's638869299', 's920924404', 's858026146']
[9164.0, 9172.0, 9172.0, 9160.0, 8860.0, 9164.0, 9132.0, 9172.0]
[21.0, 24.0, 20.0, 19.0, 20.0, 20.0, 21.0, 20.0]
[116, 142, 126, 95, 170, 116, 116, 149]
p02700
u244434589
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 the opponent's health by the value equal to the attacker's strength. The monsters keep attacking until the health of one monster becomes 0 or below. The person with the monster whose health becomes 0 or below loses, and the other person wins. If Takahashi will win, print `Yes`; if he will lose, print `No`.
["A,B,C,D =map(int,input().split())\n\nwhile True:\n \n C -=B\n \n if C<=0:\n print('Yes')\n break\n D-=A\n if B<=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 break\n A-=D\n if A<=0:\n print('No')\n break\n"]
['Wrong Answer', 'Accepted']
['s781085054', 's110969364']
[9148.0, 8976.0]
[29.0, 27.0]
[156, 161]