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
u734252743
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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(a,b,c,d)\n if (c <= 0):\n print("Yes")\n break\n a = a-d\n print(a,b,c,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 print(a,b,c,d)\n if (c <= 0):\n print("Yes")\n break\n a = a-d\n print(a,b,c,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 a = a-d\n if (a <= 0):\n print("No")\n break']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s612832186', 's945058243', 's352503055']
[9076.0, 9172.0, 9172.0]
[23.0, 21.0, 23.0]
[217, 217, 178]
p02700
u734524514
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 b > 0:\n c -= b\n if c>0:\n a -=d\n else:\n print("yes")\n if a<0:\n print("no")\n', 'a, b, c, d = map(int, input().split())\nm1 = a//d\nm2 = c//b\nif m1 < m2-1:\n print("No")\nelse:\n print("Yes")', 'a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n if c>0:\n a -= d\n else:\n print("yes")\n if a<0:\n print("no")\n', 'a, b, c, d = map(int, input().split())\nwhile a > 0 and b > 0:\n c -= b\n if c>0:\n a -=d\n else:\n print("yes")\n if a<=0:\n print("no")\n', 'a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n if c>0:\n a -=d\n else:\n print("yes")\n if a<=0:\n print("no")\n', 'a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n if c>0:\n a -=d\n if a<=0:\n print("no")\n else:\n print("Yes")\n \n', 'try:\n a, b, c, d = map(int, input().split())\n while a > 0 and c > 0:\n c -= b\n if c>0:\n a -=d\n if a<=0:\n \tprint("No")\n else:\n print("Yes")\n \nexcept:\n pass']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s178370628', 's197627102', 's336862155', 's486169570', 's656934924', 's910758088', 's532972095']
[26548.0, 9040.0, 9176.0, 26640.0, 9060.0, 8928.0, 9060.0]
[2237.0, 20.0, 21.0, 2231.0, 22.0, 22.0, 23.0]
[162, 107, 163, 163, 163, 172, 210]
p02700
u736564905
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['num=list(map(int,input().split()))\nwhile 1:\n num[2]=num[2]-num[1]\n if num[2]<=0:\n print("Yes")\n break\n num[0]=num[0]-num[3]\n if num[3]<=0:\n print("No")\n break', 'num=list(map(int,input().split()))\nwhile 1:\n num[2]=num[2]-num[1]\n if num[2]<=0:\n print("Yes")\n break\n num[0]=num[0]-num[3]\n if num[0]<=0:\n print("No")\n break']
['Wrong Answer', 'Accepted']
['s181338178', 's534162561']
[9176.0, 9176.0]
[18.0, 20.0]
[174, 174]
p02700
u739360929
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 solve():\n A, B, C, D = map(int, input().split())\n print('NYoe s'[C//B > A//D::2])\n\n\nif __name__ == '__main__':\n solve()\n", "def solve():\n A, B, C, D = map(int, input().split())\n print('NYoe s'[-(-C//B) > -(-A//D)::2])\n\n\nif __name__ == '__main__':\n solve()\n", "def solve():\n A, B, C, D = map(int, input().split())\n print('YNeos'[-(-C//B) > -(-A//D)::2])\n\n\nif __name__ == '__main__':\n solve()\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s220252143', 's625089927', 's385655102']
[9156.0, 9160.0, 9164.0]
[23.0, 25.0, 23.0]
[133, 141, 140]
p02700
u740284863
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 - 1 < a / d :\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nif -(-c/b) > -(-a//d):\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nif -(-c/b) <= -(-a//d):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s025153455', 's747823400', 's731625355']
[9144.0, 9144.0, 9100.0]
[22.0, 20.0, 21.0]
[96, 96, 97]
p02700
u741579801
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['THP, TAT, AHP, AAT = map(int, input().split())\n\nturn = 0\nwhile True:\n if turn % 2 == 0:\n AHP -= TAT\n if AHP <= 0:\n print("Yes")\n break\n else:\n THP -= AAT\n if THP <= 0:\n print("No")\n break', 'THP, TAT, AHP, AAT = map(int, input().split())\n\nturn = 0\nwhile True:\n if turn % 2 == 0:\n AHP -= TAT\n if AHP <= 0:\n print("Yes")\n break\n else:\n THP -= AAT\n if THP <= 0:\n print("No")\n break\n turn += 1']
['Wrong Answer', 'Accepted']
['s444552347', 's271297637']
[9080.0, 9076.0]
[20.0, 21.0]
[221, 233]
p02700
u741612283
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\ntaka = (int(c/b)) + (1 if c%b != 0 else 0)\naoki = (int(a/d)) + (1 if a%d != 0 else 0)\n\nif taka >= aoki:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int,input().split())\n\ntaka = (int(b/c)) + (1 if b%c != 0 else 0)\naoki = (int(d/a)) + (1 if d%a != 0 else 0)\n\nif taka >= aoki:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int,input().split())\n\ntaka = (int(c/b)) + (1 if c%b != 0 else 0)\naoki = (int(a/d)) + (1 if a%d != 0 else 0)\n\nif taka <= aoki:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s073552773', 's499311149', 's516091749']
[9180.0, 9144.0, 9180.0]
[24.0, 24.0, 24.0]
[174, 174, 174]
p02700
u745554846
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\nkillcount_a = -(-C//B)\nkillcount_b = -(-A//D)\n\nif a <= b:\n print("Yes")\nelse:\n print("No")', 'a, b, c, d = map(int, input().split())\n \nkillcount_a = -(-c//b)\nkillcount_b = -(-a//d)\n \nif killcount_a <= killcount_b:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s975734162', 's176774640']
[9200.0, 9172.0]
[19.0, 20.0]
[132, 154]
p02700
u749742659
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 a -= d\n if(a <= 0):\n print('No')", "a,b,c,d = map(int, input().split())\n\nwhile True:\n c -= b\n if(c <= 0):\n print('Yes')\n break\n a -= d\n if(a <= 0):\n print('No')\n break"]
['Time Limit Exceeded', 'Accepted']
['s771029059', 's720318508']
[27796.0, 9172.0]
[2279.0, 20.0]
[143, 171]
p02700
u752500421
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n\ninput_str = input()\n\na, b, c, d = map(int, input_str.split())\n\nprint("yes" if math.ceil(c/b) <= math.ceil(a/d) else "no")\n', 'import math\n\ninput_str = input()\n\na, b, c, d = map(int, input_str.split())\n\nprint("Yes" if math.ceil(c/b) <= math.ceil(a/d) else "No")\n']
['Wrong Answer', 'Accepted']
['s744265663', 's601562304']
[9156.0, 9152.0]
[21.0, 20.0]
[135, 135]
p02700
u755180064
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 t, t_a, a, a_a = list(map(int, input().split()))\n while True:\n a = a - t_a\n if a <= 0:\n print('No')\n exit()\n t = t - a_a\n if t <= 0:\n print('Yes')\n exit()\n\n\n\n\nif __name__ == '__main__':\n main()", "def main():\n t, t_a, a, a_a = list(map(int, input().split()))\n while True:\n a = a - t_a\n if a <= 0:\n print('Yes')\n exit()\n t = t - a_a\n if t <= 0:\n print('No')\n exit()\n\n\n\n\nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Accepted']
['s548729934', 's013867017']
[9176.0, 9176.0]
[22.0, 21.0]
[287, 287]
p02700
u755545520
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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//a) >= (d//b):\n print("yes")\nelse:\n print("no")', 'a,b,c,d = map(int,input().split())\nif (c//a) <= (d//b):\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\nif (c//a) <= (d//b):\n print("yes")\nelse:\n print("no")', 'a,b,c,d = map(int,input().split())\nif ((c-1)//b) <= ((a-1)//d):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s206280029', 's780374915', 's843317717', 's412890480']
[9164.0, 9164.0, 9168.0, 9160.0]
[23.0, 21.0, 20.0, 24.0]
[88, 88, 88, 96]
p02700
u757030836
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\nT =math.ceil(C/B)\nK =math.ceil(A/D)\nif T <= K:\n print("Yes")\nelse:\n print("NO")\n\n', 'import math\nA,B,C,D =map(int,input().split())\n\nT =math.ceil(C/B)\nK =math.ceil(A/D)\nif T <= K:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s939147609', 's160105283']
[9096.0, 9144.0]
[23.0, 21.0]
[130, 128]
p02700
u757274384
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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//d >= b//c:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c,d = map(int, input().split())\n\nif a//d > b//c:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int, input().split())\n\nif a//d >= c//b:\n print("Yes")\nelse:\n print("No")\n', 'a,b,c,d = map(int, input().split())\n\nwhile True:\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', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s005832867', 's414147878', 's492289898', 's082482834']
[9092.0, 9168.0, 9036.0, 9072.0]
[22.0, 20.0, 22.0, 20.0]
[89, 87, 89, 165]
p02700
u758973277
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nif -(-A//D) >= -(-C//B) :\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s899081677', 's001847063']
[9116.0, 9032.0]
[23.0, 22.0]
[91, 97]
p02700
u759651152
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\ndef main():\n a, b, c, d = map(int, input().split())\n aoki = c // b\n takahashi = (a // d)\n if aoki > takahashi:\n print("yes")\n else: \n print("no")\n\n \nif __name__ == \'__main__\':\n main()', '#-*-coding:utf-8-*-\n\ndef main():\n a, b, c, d = map(int, input().split())\n e = -(-c // b)\n f = -(-a // d)\n if e > f:\n print("No")\n else: \n print("Yes")\n \nif __name__ == \'__main__\':\n main()']
['Wrong Answer', 'Accepted']
['s161004993', 's643505070']
[9196.0, 9116.0]
[20.0, 23.0]
[239, 226]
p02700
u760446276
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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=int(input())#takahashi\nb=int(input())\nc=int(input())#aoki\nd=int(input())\nflag=True\nwhile flag:\n c-=b\n if(c<=0):\n flag=False\n print("Yes")\n break\n \n a-=d\n if(a<=0):\n falg=False\n print("No")\n break', 'a,b,c,d=map(int,input().split())\nflag=True\nwhile flag:\n c-=b\n if(c<=0):\n flag=False\n print("Yes")\n break\n \n a-=d\n if(a<=0):\n falg=False\n print("No")\n break']
['Runtime Error', 'Accepted']
['s307976462', 's399143380']
[9184.0, 9184.0]
[21.0, 19.0]
[258, 216]
p02700
u760961723
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['Thp,Tatk,Ahp,Aatk = map(int,input().split())\n\nimport math\n\nTa = math.ceil(Thp/Aatk)\nAo = math.ceil(Ahp/Tatk)\n\nprint(Ta,Ao)\n\nif Ta >= Ao:\n print("Yes")\nelse:\n print("No")', 'Thp,Tatk,Ahp,Aatk = map(int,input().split())\n \nimport math\n \nTa = math.ceil(Thp/Aatk)\nAo = math.ceil(Ahp/Tatk)\n\nif Ta >= Ao:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s870635021', 's607846794']
[9172.0, 9108.0]
[21.0, 23.0]
[175, 163]
p02700
u761638117
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['hp_a,at_a,hp_b,at_b = map(int, input().split())\n\n\nb_death = ((hp_b-0.01) // at_a) + 1\na_death = ((hp_a-0.01) // at_b) + 1\n\n\nprint(b_death,a_death)\nif b_death > a_death:\n print("No")\nelse:\n print("Yes")', 'hp_a,at_a,hp_b,at_b = map(int, input().split())\n\n\nb_death = ((hp_b-0.01) // at_a) + 1\na_death = ((hp_a-0.01) // at_b) + 1\n\n\nif b_death > a_death:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s139387776', 's898989080']
[9112.0, 9172.0]
[21.0, 23.0]
[203, 180]
p02700
u764000168
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 * b + b * d > c * d:\n print("Yes")\nelse:\n print("No")\n', 'a, b, c, d = map(int, input().split())\nif a * b + b * d >= c * d:\n print("Yes")\nelse:\n print("No")\n', 'a, b, c, d = map(int, input().split())\ntaka = -(-a // d) + 1\naoki = -(-c // b)\nif taka > aoki:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s019672263', 's415851403', 's572911124']
[9152.0, 9148.0, 8936.0]
[19.0, 22.0, 21.0]
[104, 105, 134]
p02700
u764401543
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\naoD = C // B\naoR = C % B\ntakD = A // D\ntakR = A % B\n\nif aoD == takD:\n print('Yes') if takR >= aoR else print('No')\nelif takD < aoD:\n print('Yes')\nelse:\n print('No')", "import math\n\nA, B, C, D = map(int, input().split())\n\ntak = math.ceil(C / B)\nao = math.ceil(A / D)\n\nif tak <= ao:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s751642330', 's524618472']
[9176.0, 9168.0]
[22.0, 21.0]
[213, 151]
p02700
u764604930
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['items=list(input().split())\n T_health=int(items[0])\n T_strength=int(items[1])\n A_health=int(items[2])\n A_strength=int(items[3])\n while(T_health>0 and A_health>0):\n A_health-=T_strength\n if(A_health>0):\n T_health-=A_strength\n if(T_health<=0):\n print("No")\n if(A_health<=0):\n print("Yes")', 'items=list(input.split())\n T_health=int(items[0])\n T_strength=int(items[1])\n A_health=int(items[2])\n A_strength=int(items[3])\n while(T_health>0 and A_health>0):\n A_health-=T_strength\n if(A_health>0):\n T_health-=A_strength\n if(T_health<=0):\n print("No")\n if(A_health<=0):\n print("Yes")', 'def solve():\n items=list(input().split())\n T_health=int(items[0])\n T_strength=int(items[1])\n A_health=int(items[2])\n A_strength=int(items[3])\n while(T_health>0 and A_health>0):\n A_health-=T_strength\n if(A_health>0):\n T_health-=A_strength\n if(T_health<=0):\n print("No")\n if(A_health<=0):\n print("Yes")\n return\nsolve()']
['Runtime Error', 'Runtime Error', 'Accepted']
['s648043255', 's903065155', 's498143447']
[9008.0, 9004.0, 9124.0]
[22.0, 23.0, 21.0]
[346, 344, 382]
p02700
u768256617
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ncnt=0\nwhile True:\n cnt+=1\n if cnt%2==0:\n s=a-(cnt/2)*d\n if s<=0:\n print('No')\n \n else:\n s=c-(cnt+1)/2*b\n if s<=0:\n print('Yes')", "a,b,c,d=map(int,input().split())\ncnt=0\nwhile True:\n cnt+=1\n if cnt%2==0:\n s=a-(cnt/2)*d\n if s<=0:\n print('No')\n break\n \n else:\n s=c-(cnt+1)/2*b\n if s<=0:\n print('Yes')\n break"]
['Time Limit Exceeded', 'Accepted']
['s273487340', 's023238611']
[19148.0, 9084.0]
[2223.0, 21.0]
[190, 214]
p02700
u771156630
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\nprint(a,b,c,d)\n\nx = c/b\ny = a/d\n\nif x > int(x):\n x+=1\n x=int(x)\nif y > int(y):\n y+=1\n y=int(y)\nprint(x)\nprint(y)\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\n\nif x > int(x):\n x+=1\n x=int(x)\nif y > int(y):\n y+=1\n y=int(y)\n\nif x <= y:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s386559064', 's210289402']
[9200.0, 9188.0]
[23.0, 21.0]
[208, 175]
p02700
u771538568
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ne=a//d\nf=c//b\nif a%d!=0:\n e+=1\nif c%b!=0:\n f+=1\nif e<=f:\n print("Yes")\nelse:\n print("No")\n \n', 'a,b,c,d= map(int, input().split())\ne=a//d\nf=c//b\nif a%d!=0:\n e+=1\nif c%b!=0:\n f+=1\nif f<=e:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s573343923', 's607241495']
[9168.0, 9176.0]
[24.0, 22.0]
[132, 128]
p02700
u772371451
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nif (math.ceil(C/B) =< math.ceil(A/D)):\n print('Yes')\nelse:\n print('No')", "import math\nA,B,C,D = map(int,input().split())\nif (math.ceil(C/B) <= math.ceil(A/D)):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s532014221', 's811159057']
[8900.0, 9052.0]
[22.0, 26.0]
[124, 124]
p02700
u773440446
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 - b\ntakahasi = a - d\n\nfor i in range(100):\n if i % 2 == 0:\n c -= b\n if c < 0:\n print('Yes')\n exit()\n elif i % 2 == 1:\n a -= d\n if a < 0:\n print('No')\n exit()\n\n \n ", "a,b,c,d = map(int,input().split())\n\naoki = c - b\ntakahasi = a - d\n\nfor i in range(10000):\n if i % 2 == 0:\n c -= b\n if c <= 0:\n print('Yes')\n exit()\n elif i % 2 == 1:\n a -= d\n if a <= 0:\n print('No')\n exit()\n\n \n \n"]
['Wrong Answer', 'Accepted']
['s819451079', 's095929170']
[9120.0, 9192.0]
[21.0, 19.0]
[243, 248]
p02700
u773686010
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nsenkou = C//B\nkoukou = A//D\n\nif senkou >= koukou:\n print("Yes")\nelse:\n print("No")', '\nA,B,C,D = map(int,input().split())\nsenkou = C//B\nkoukou = A//D\nif senkou <= koukou:\n print("Yes")\nelse:\n print("No")', '\nA,B,C,D = map(int,input().split())\nSenkou_N,Senkou_Amari = divmod(C,B)\nif Senkou_Amari != 0:\n Senkou_N += 1\nKoukou_N,Koukou_Amari = divmod(A,D)\nif Koukou_Amari != 0:\n Koukou_N += 1\n\nif Senkou_N <= Koukou_N:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s350744047', 's713569100', 's353062508']
[9072.0, 9028.0, 9012.0]
[27.0, 26.0, 24.0]
[174, 173, 302]
p02700
u775826510
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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().rstrip().split()))\nA = a[0]\nB = a[1]\nC = a[2]\nD = a[3]\n\nwhile True:\n C -= B\n if C <= 0:\n print('yes')\n break\n \n A -= D\n if A <= 0:\n print('no')\n break", "a = list(map(int, input().rstrip().split()))\nA = a[0]\nB = a[1]\nC = a[2]\nD = a[3]\n\nwhile True:\n C -= B\n if C <= 0:\n print('Yes')\n break\n\n A -= D\n if A <= 0:\n print('No')\n break"]
['Wrong Answer', 'Accepted']
['s778193789', 's839141349']
[9116.0, 9124.0]
[21.0, 19.0]
[219, 215]
p02700
u776237437
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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:\n c = c-b\n print(c)\n if c < 0:\n print('Yes')\n exit()\n a = a-d\nprint('No')", "a,b,c,d=map(int,input().split())\n\nwhile a > 0:\n c = c-b\n if c <= 0:\n print('Yes')\n exit()\n a = a-d\nprint('No')"]
['Wrong Answer', 'Accepted']
['s498234428', 's448225427']
[9064.0, 9152.0]
[22.0, 22.0]
[145, 133]
p02700
u779508975
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 A-=D\n if C<=0:\n result="YES"\n break\n if A<=0:\n result="NO"\n break\n\nprint(result)', 'A=input()\nB=input()\nC=input()\nD=input()\n\nint_A=int(A)\nint_B=int(B)\nint_C=int(C)\nint_D=int(D)\n\nwhile True:\n int_C-=int_B\n int_A-=int_D\n if int_C<=0:\n result="Yes"\n break\n if int_A<=0:\n result="No"\n break\n\nprint(result)', 'A=input("高橋君のHP:")\nB=input("高橋君のATK:")\nC=input("青木君のHP:")\nD=input("青木君のATK:")\n\nint_A=int(A)\nint_B=int(B)\nint_C=int(C)\nint_D=int(D)\n\nwhile True:\n int_C-=int_B\n int_A-=int_D\n if int_C<=0:\n result="Yes"\n break\n if int_A<=0:\n result="No"\n break\n\nprint(result)', 'A=input()\nB=input()\nC=input()\nD=input()\n\nint_A=int(A)\nint_B=int(B)\nint_C=int(C)\nint_D=int(D)\n\nwhile True:\n int_C-=int_B\n int_A-=int_D\n if int_C<=0:\n result="YES"\n break\n if int_A<=0:\n result="NO"\n break\n\nprint(result)\n', 'A=input("高橋君のHP:")\nB=input("高橋君のATK:")\nC=input("青木君のHP:")\nD=input("青木君のATK:")\n\nint_A=int(A)\nint_B=int(B)\nint_C=int(C)\nint_D=int(D)\n\nwhile True:\n int_C-=int_B\n int_A-=int_D\n if int_C<=0:\n result="YES"\n break\n if int_A<=0:\n result="NO"\n break\n\nprint(result)\n', 'A,B,C,D = map(int,input().split())\n\nwhile True:\n C -= B\n A -= D\n \n if C <= 0:\n result = "YES"\n break\n if A <= 0:\n result = "NO"\n break\n\nprint(result)\n', 'A,B,C,D = map(int,input().split())\n\nwhile True:\n C -= B\n A -= D\n if C <=0:\n result = "YES"\n break\n if A<=0:\n result = "NO"\n break\n\nprint(result)', 'A=input()\nB=input()\nC=input()\nD=input()\n\nint_A=int(A)\nint_B=int(B)\nint_C=int(C)\nint_D=int(D)\n\nwhile True:\n int_C-=int_B\n int_A-=int_D\n if int_C<=0:\n result="YES"\n break\n if int_A<=0:\n result="NO"\n break\n\nprint(result)\n', 'A, B, C, D = map(int, input().split())\n\nwhile True:\n C-=B\n A-=D\n if C<=0:\n result="YES"\n break\n if A<=0:\n result="NO"\n break\n\nprint(result)', 'A,B,C,D = map(int,input().split())\n\nwhile True:\n C -= B\n A -= D\n\n if C <= 0:\n result = "Yes"\n break\n if A <= 0:\n result = "No"\n break\n\nprint(result)']
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s014859930', 's111248774', 's134487796', 's162240194', 's399388532', 's530092223', 's640165088', 's815529625', 's846903704', 's048167303']
[9080.0, 8936.0, 9132.0, 9048.0, 9120.0, 9124.0, 9172.0, 9048.0, 9124.0, 9048.0]
[25.0, 22.0, 28.0, 26.0, 24.0, 27.0, 27.0, 26.0, 28.0, 26.0]
[175, 257, 327, 258, 328, 193, 184, 258, 179, 188]
p02700
u779728630
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n\nwhile True:\n if t = 0:\n C = C - B\n t = 1\n if C <= 0:\n print('Yes')\n break\n else:\n A = A - D\n t = 0\n if A <= 0:\n print('No')\n break", "A, B, C, D = map(int, input().split())\n\nt = 0\n\nwhile True:\n if t == 0:\n C = C - B\n t = 1\n if C <= 0:\n print('Yes')\n break\n else:\n A = A - D\n t = 0\n if A <= 0:\n print('No')\n break\n"]
['Runtime Error', 'Accepted']
['s121170815', 's398020265']
[8952.0, 9172.0]
[22.0, 23.0]
[217, 219]
p02700
u781027071
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 -= b\n if c > 0:\n a -= d\n else:\n print('Yes')\n if a <= 0\n print('No')\n", "a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n if c > 0:\n a -= d\n else:\n print('No')\n if a > 0:\n break\n else:\n print('Yes')", "a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n if c > 0:\n a -= d\n if a <= 0:\n print('No')\n else:\n print('Yes')\n \n", "a, b, c, d = map(int, input().split())\nwhile a > 0 and c > 0:\n c -= b\n if c > 0:\n a -= d\n if a <= 0:\n print('No')\n else:\n print('Yes')\n \n"]
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s064922406', 's425027912', 's661243163', 's783304906']
[8916.0, 9180.0, 8984.0, 9156.0]
[25.0, 20.0, 23.0, 20.0]
[147, 164, 153, 155]
p02700
u785066634
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\ny=0\nx = int(-(-a//d))\ny = int(-(-c//b))\nprint(x,y)\nif x < y :\n print('No')\nelse:\n print('Yes')\n\n\n", "a,b,c,d= map(int,input().split())\nx=0\ny=0\nx = int(-(-a//d))\ny = int(-(-c//b))\nif x <= y :\n print('Yes')\nelse:\n print('No')\n\n\n", "a,b,c,d= map(int,input().split())\nx=0\ny=0\nx = int(-(-a//d))\ny = int(-(-c//b))\n\nif x < y :\n print('No')\nelse:\n print('Yes')\n\n\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s138607454', 's211435621', 's585237306']
[9072.0, 9088.0, 9164.0]
[25.0, 22.0, 21.0]
[141, 131, 131]
p02700
u790768332
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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-=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())\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']
['s996815273', 's851342816']
[9164.0, 9164.0]
[24.0, 24.0]
[157, 157]
p02700
u790812284
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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")', 'a,b,c,d = map(int,input().split())\nif c%b =< a%d:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\n\ntakahashi = c//b\nif c%b!=0:\n takahashi += 1\n \naoki = a//d\nif a%d!=0:\n aoki += 1\n\nif takahashi <= aoki:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s276208148', 's994305386', 's099751289']
[9160.0, 9008.0, 9176.0]
[20.0, 22.0, 21.0]
[90, 88, 186]
p02700
u791070772
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\ncnt = 0\nwhile (a >= 0 and c >= 0):\n if cnt % 2 == 0:\n c = c - b\n else:\n a = a - d\n cnt += 1\n\nif c <= 0:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\n\ncnt = 0\nwhile (a > 0 and c > 0):\n if cnt % 2 == 0:\n c = c - b\n else:\n a = a - d\n cnt += 1\n\nif c <= 0:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s959758795', 's225378998']
[9180.0, 9180.0]
[23.0, 22.0]
[201, 199]
p02700
u796044734
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\na = math.ceil(a//d)\nb = math.ceil(b//c)\nif = a<=b:\n print('Yes')\nelse:\n print('No')", "import math\na,b,c,d = map(int,input().split())\n\na = math.ceil(a/d)\nb = math.ceil(b/c)\nif a<b:\n print('No')\nelse:\n print('Yes')\n\n", "import math\na,b,c,d = map(int,input().split())\n\na = math.ceil(a/d)\nb = math.ceil(c/b)\nif a<b:\n print('No')\nelse:\n print('Yes')\n\n"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s053278019', 's918910705', 's891478076']
[8876.0, 9132.0, 9144.0]
[23.0, 20.0, 20.0]
[133, 130, 130]
p02700
u797798569
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nfl=0\nwhile(a>0 and c>0):\n a-=d\n c-=b\n if(a-d<=0 and c-b>0):\n fl=1\n break\n elif(a-d>0 and c-b<=0):\n fl=2\n break\nif(fl==1):\n print("No")\nelse:\n print("Yes")', 'a,b,c,d=map(int,input().split())\nif(a//b > c//d):\n print("yes")\nelse:\n print("no")', 'a,b,c,d=map(int,input().split())\nfl=0\nc-=b\na-=d\nif(a<=0 and c>0):\n fl=1\nelif(c<=0 and a>0):\n fl=2\nwhile(a>0 and c>0):\n c-=b\n a-=d\n if(a-d<=0 and c-b>0):\n fl=1\n break\n elif(a-d>0 and c-b<=0):\n fl=2\n break\nif(fl==1):\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s051205074', 's181210790', 's681769638']
[8996.0, 9160.0, 9216.0]
[23.0, 22.0, 22.0]
[233, 88, 299]
p02700
u798260206
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 if c>0:\n c += -b\n \n if c<=0:\n break\n print("Yes")\n \n if a>0:\n a += -d\n \n if a<=0:\n break\n print("No")\n \n ', 'a,b,c,d = map(int,input().split())\n\nwhile (a<=0) or (c<=0):\n if c>0:\n c -= b\n if c<=0:\n print("Yes")\n else:\n pass\n \n elif a>0:\n a -= d\n if a<=0:\n print("No")\n else:\n pass', 'a,b,c,d = map(int,input().split())\n\nwhile (a<=0) or (c<=0):\n c -= b \n if c <= 0:\n break\n print("Yes")\n \n a -= d\n if a<= 0:\n break\n print("No")', 'a,b,c,d = map(int,input().split())\n\nwhile (b<=0) or (d<=0):\n if d>0:\n d -= a\n if d<=0:\n print("Yes")\n else:\n pass\n \n elif b>0:\n b -= c\n if b<=0:\n print("No")\n else:\n pass', 'a,b,c,d = map(int,input().split())\n\nwhile (a<=0) or (c<=0):\n if c>0:\n c -= b\n if c<=0:\n print("Yes")\n else:\n pass\n \n if a>0:\n a -= d\n if a<=0:\n print("No")\n else:\n pass', 'a = int(input())\nb = int(input())\nc = int(input())\nd = int(input())\n\nwhile a>0 and c>0:\n if c>0:\n c += -b\n \n if c<=0:\n break\n print("Yes")\n \n if a>0:\n a += -d\n \n if a<=0:\n break\n print("No")', 'a,b,c,d = map(int,input().split())\n\nwhile (a<=0) or (c<=0):\n c -= b \n if c <= 0:\n break\n print("Yes")\n else:\n pass\n \n a -= d\n if a<= 0:\n break\n print("No")\n else:\n pass', 'a,b,c,d = map(int,input().split())\n\nwhile (a<=0) or (c<=0):\n if c>0:\n c -= b\n else:\n break\n \n if a>0: \n a -= d\n else:\n break\n \nelse:\n break\n\nif a>=0:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\n\nwhile True:\n if c>0:\n c -= b\n if c<=0:\n break\n print("Yes")\n \n if a>0:\n a -= d\n if a<=0:\n break \n print("No")', 'a,b,c,d = map(int,input().split())\n\nwhile a>0 and c>0:\n if c>0:\n c -= b\n if c<=0:\n break\n print("Yes")\n else:\n pass\n else:\n break\n \n if a>0:\n a -= d\n if a<=0:\n break\n print("No")\n else:\n pass\n \n ', 'a,b,c,d = map(int,input().split())\n\nwhile a>0 and c>0:\n if c>0:\n c -= b\n \n if c<=0:\n break\n print("Yes")\n \n if a>0:\n a -= d\n \n if a<=0:\n break\n print("No")\n\n ', 'a,b,c,d = map(int,input().split())\n\nwhile True:\n if a>0 and c>0: \n if c>0:\n c -= b\n if c<=0:\n break\n print("Yes")\n \n if a>0:\n a -= d\n if a<=0:\n break \n print("No")\n else:\n break\n', 'a,b,c,d = map(int,input().split())\n\nwhile True:\nif a>0 and c>0:\n c -= b\n if a>0 and c>0:\n a -= d\n \nelse:\n break\n \nif a>c:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int,input().split())\n\nwhile (a<=0) or (c<=0):\n if c <= 0:\n c -= b\n if c <= 0:\n break\n print("Yes")\n else:\n pass\n \n if a <= 0:\n a -= d\n if a<= 0:\n break\n Print("No")\n else:\n pass', 'a,b,c,d = map(int,input().split())\n \nwhile a>0 and c>0:\n if c>0:\n c += -b\n \n if c<=0:\n print("Yes")\n break\n \n \n if a>0:\n a += -d\n \n if a<=0:\n print("No")\n break\n ']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s094118574', 's235024353', 's256995021', 's312689903', 's364299358', 's495119193', 's538546210', 's715944193', 's733262454', 's750064512', 's808028291', 's824841022', 's888031086', 's943277942', 's361111265']
[9060.0, 9180.0, 9176.0, 9176.0, 9180.0, 9184.0, 9180.0, 9048.0, 9156.0, 9172.0, 9168.0, 9080.0, 8964.0, 9188.0, 9036.0]
[23.0, 21.0, 21.0, 24.0, 21.0, 19.0, 19.0, 22.0, 22.0, 23.0, 23.0, 20.0, 23.0, 22.0, 23.0]
[196, 213, 172, 213, 211, 221, 210, 205, 184, 260, 192, 242, 174, 308, 199]
p02700
u801864207
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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')", "import math\na,b,c,d = map(int,input().split())\nif c/b <= math.ceil(a/d):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s522585956', 's356477070']
[9124.0, 9008.0]
[21.0, 21.0]
[86, 107]
p02700
u806392288
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\nd1 = math.ceil(C / B)\nd2 = math.ceil(A / D)\n\nif d1 <= d2:\n print("Yes")\nelse:\n print("No")', 'import math\na,b,c,d = map(int,input().split())\n\nd1 = math.ceil(c / b)\nd2 = math.ceil(a/ d)\n\nif d1 <= d2:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s736170293', 's915354725']
[9172.0, 9092.0]
[21.0, 21.0]
[140, 140]
p02700
u806779442
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n\na,b,c,d = map(int,input().split())\nif (math.ceil(a/c)) < (math.ceil(b/d)):\n print('No')\nelse:\n print('Yes')\n", "import math\n\na,b,c,d = map(int,input().split())\nif (math.ceil(a/d)) < (math.ceil(b/c)):\n print('No')\nelse:\n print('Yes')\n", "import math\n\na,b,c,d = map(int,input().split())\nif math.ceil(a/d) < math.ceil(c/b):\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s074678318', 's478567946', 's075543181']
[9096.0, 9156.0, 9108.0]
[20.0, 23.0, 21.0]
[127, 127, 122]
p02700
u807021746
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 \nflag = False\nwhile 0<a and 0<c:\n c = c-b\n if c <= 0:\n flag = True\n break \n a = a-d\nif True:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\nwhile True:\n C -= B\n if C <= 0:\n print("Yes")\n break\n \n A -= D\n if A <= 0:\n print("No")\n break']
['Wrong Answer', 'Accepted']
['s547993103', 's819365584']
[9048.0, 9024.0]
[32.0, 30.0]
[177, 176]
p02700
u807943476
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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-1)//d >= (b-1)//c:\n print('Yes')\nelse:\n print('No')\n", "a,b,c,d = map(int, input().split())\nif (a+1)//d >= (c+1)//b:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int, input().split())\n\nif (a-1)//d >= (b-1)//c:\n print('Yes')\nelse:\n print('No')", "a, b, c, d = map(int, input().split())\nif (a-1)//d >= (c-1)//b:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s512583691', 's711110384', 's851184398', 's064389085']
[9136.0, 9160.0, 9144.0, 9092.0]
[21.0, 24.0, 22.0, 20.0]
[99, 95, 96, 99]
p02700
u809816772
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 = A\ny = C\nT_count = 0 \nA_count = 0\nfor i in range(100):\n x = x-C\n if x >= 0:\n T_count += 1 \n else:T_count += 0\n\nfor j in range(100):\n y = y-A\n if y >= 0:\n A_count += 1 \n else:T_count += 0\n\nif T_count <= A_count:\n print('Yes')\nelse:print('No')", "A, B, C, D = map(int, input().split())\nx = A\ny = C\nT_count = 0 \nA_count = 0\nfor i in range(100):\n y = y - B\n if y >= 0:\n T_count += 1 \n else:\n T_count += 0\n break\n\nfor j in range(100):\n x = x - D\n if x >= 0:\n A_count += 1 \n else:\n A_count += 0\n break\n\nif T_count <= A_count:\n print('Yes')\nelse:print('No')", "A, B, C, D = map(int, input().split())\nx = A\ny = C\nT_count = 0 \nA_count = 0\nfor i in range(100):\n x = x-C\n if x >= 0:\n T_count += 1 \n else:T_count += 0\n\nfor j in range(100):\n y = y-A\n if y >= 0:\n A_count += 1 \n else:A_count += 0\n\nif T_count <= A_count:\n print('Yes')\nelse:print('No')", "A, B, C, D = map(int, input().split())\nx = A\ny = C\nT_count = 0 \nA_count = 0\nfor i in range(100):\n x = x-C\n if x >= 0:\n T_count += 1 \n else:\n T_count += 0\n break\n\nfor j in range(100):\n y = y-A\n if y >= 0:\n A_count += 1 \n else:\n A_count += 0\n break\n\nif T_count <= A_count:\n print('Yes')\nelse:print('No')", "A, B, C, D = map(int, input().split())\nT_count = 0 \nA_count = 0\nfor i in range(100):\n C -= B\n T_count += 1\n if C <= 0:\n break\n\nfor j in range(100):\n A -= D\n A_count += 1\n if A <= 0:\n break\n\nif T_count <= A_count:\n print('Yes')\nelse:print('No')"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s096811623', 's291282638', 's600216251', 's715669317', 's646817424']
[9204.0, 9200.0, 9200.0, 9056.0, 9192.0]
[22.0, 20.0, 21.0, 21.0, 22.0]
[319, 369, 319, 365, 279]
p02700
u810778810
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['li=input().split(" ")\na=int(li[0])\nb=int(li[1])\nc=int(li[2])\nd=int(li[3])\nstop=0\nwhile stop==0:\n c-=b\n if c<=0:\n stop=2\n a-=d\n if a<=0:\n stop=1\n \nif stop ==1:\n print("Yes")\nif stop==2:\n print("No")', 'li=input().split(" ")\na=int(li[0])\nb=int(li[1])\nc=int(li[2])\nd=int(li[3])\nstop=0\nwhile stop==0:\n c-=b\n if c<=0 and stop == 0:\n stop=2\n a-=d\n if a<=0 and stop == 0:\n stop=1\n \nif stop ==1:\n print("No")\nif stop==2:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s212023167', 's275083719']
[9196.0, 9204.0]
[23.0, 22.0]
[232, 260]
p02700
u813286880
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n attack_count_A = C // B\n if C % B > 0:\n attack_count_A += 1\n \n attack_count_B = A // D\n if A % D > 0:\n attack_count_B += 1\n\n if attack_count_A >= attack_count_B:\n print('{}'.format('Yes'))\n else:\n print('{}'.format('No'))\n\n \nif __name__ == '__main__':\n main()\n", "def main():\n A, B, C, D = map(int, input().split())\n\n attack_count_A = C // B\n if C % B > 0:\n attack_count_A += 1\n \n attack_count_B = A // D\n if A % D > 0:\n attack_count_B += 1\n\n if attack_count_B >= attack_count_A:\n print('{}'.format('Yes'))\n else:\n print('{}'.format('No'))\n\n\nif __name__ == '__main__':\n main()\n"]
['Wrong Answer', 'Accepted']
['s949483221', 's840221640']
[9184.0, 9124.0]
[20.0, 22.0]
[376, 368]
p02700
u813963714
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nr1 = a//d\nrem1 = a%d\nr2 = c//b\nrem2 = c%b\nif r1>=r2:\n print('Yes')\nelse:\n print('No')", "a,b,c,d = map(int,input().split())\nr1 = a//d\nrem1 = a%d\nr2 = c//b\nrem2 = c%b\nif r1>=r2:\n print('Yes')\n else:\n print('No')", "a,b,c,d = map(int,input().split())\nr1 = a//d\nif a%d==0:\n pass\nelse:\n r1 += 1\nr2 = c//b\nif c%b==0:\n pass\nelse:\n r2 += 1\nif r1>=r2:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s206724227', 's596170908', 's939724499']
[9176.0, 8988.0, 9076.0]
[23.0, 20.0, 22.0]
[122, 123, 168]
p02700
u814271993
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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:\n C = C - B\n if C <= 0 :\n print('Yes')\n break\n if C > 0 :\n A = A - D\n if A < 0:\n print('No')", "A,B,C,D =map(int,input().split())\n\nwhile A > 0:\n C = C - B\n if C <= 0 :\n print('Yes')\n break\n if C > 0 :\n A = A - D\n if A < 0:\n print('No')", 'taka_h, taka_a, aoki_h, aoki_a = map(int, input().split())\n\nwhile True:\n aoki_h -=taka_a\n taka_h -= aoki_a\n if(aoki_h <=0):\n print("Yes")\n break\n elif(taka_h <= 0):\n print("No")\n break\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s294532495', 's566239387', 's893217472']
[8900.0, 8900.0, 9108.0]
[27.0, 27.0, 26.0]
[150, 150, 225]
p02700
u819663617
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['nums = [int(e) for e in input().split()]\na = nums[0] // nums[3]\nb = nums[2] // nums[1]\nc = nums[0] % nums[3]\nd = nums[2] % nums[1]\n\nif a < b:\n print("Yes")\nelif c < d:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d=map(int,input().split())\nif (c+b-1)//b<=(a+d-1)//d:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s991467622', 's111684406']
[9188.0, 9136.0]
[20.0, 22.0]
[209, 94]
p02700
u819910751
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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')\n", "import math\nA, B, C, D = map(int, input().split())\n\nif math.ceil(C/B) <= math.ceil(A/D):\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s528687583', 's215317134']
[9160.0, 9172.0]
[30.0, 26.0]
[96, 128]
p02700
u827261928
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 range(1,1000):\n if i%2!=0:\n C-=B\n if C<=0:\n print('Yes')\n else:\n A-=D\n if A<=0:\n print('No')", "A,B,C,D=map(int,input().split())\nfor i in range(1,1000):\n if i%2!=0:\n C-=B\n if C<=0:\n print('Yes')\n exit()\n else:\n A-=D\n if A<=0:\n print('No')\n exit()"]
['Wrong Answer', 'Accepted']
['s416177820', 's564306635']
[9160.0, 9084.0]
[31.0, 29.0]
[190, 228]
p02700
u828261239
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 range(1,1000):\n if(i%2!=0):\n c -= b\n else:\n a -= d\n \n if(a<=0):\n print("No")\n return\n elif(c<=0):\n print("Yes")\n return', 'a,b,c,d = map(int,input().split())\nfor i in range(1,1000):\n if(i%2!=0):\n c -= b\n else:\n a -= d\n \n if(a<=0):\n print("No")\n break\n elif(c<=0):\n print("Yes")\n break']
['Runtime Error', 'Accepted']
['s017070992', 's038906090']
[9112.0, 9120.0]
[21.0, 22.0]
[221, 219]
p02700
u829416877
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 B -= C\n if A <= 0 or B <= 0:\n break\nif A <= 0:\n print('No')\nelse:\n print('Yes')", "import math\nA,B,C,D = map(int,input().split())\nE = math.ceil(A/D)\nF = math.ceil(C/B)\nif E >= F:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s650745369', 's061401943']
[9104.0, 9092.0]
[23.0, 20.0]
[146, 130]
p02700
u830162518
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 or 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", "a,b,c,d=map(int,input().split())\nwhile a or 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\n"]
['Runtime Error', 'Accepted']
['s237571350', 's794669769']
[9048.0, 9180.0]
[22.0, 24.0]
[138, 141]
p02700
u831660416
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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"""\nCreated on Fri May 1 00:22:37 2020\n\n@author: avina\n"""\n\nl = list(map(int, input().split()))\nq = l[0]/l[3] + 1\nw = l[2]/l[1] \nif q >= w:\n print("Yes")\nelse:\n print("No")', 'l = list(map(int, input().split()))\nq = l[0]/l[1] + 1\nw = l[2]/l[3] \nif q>w:\n print("Yes")\nelse:\n print("No")', 'from math import ceil\n\nl = list(map(int, input().split()))\nq = ceil(l[0]/l[3])\nw = ceil(l[2]/l[1] )\nif w <= q:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s036469110', 's701054088', 's347328065']
[9144.0, 9108.0, 9204.0]
[21.0, 21.0, 22.0]
[199, 111, 145]
p02700
u832459318
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ntimea = a//d\ntimeb = c//b\nif timea >= timeb:\n print("Yes")\n exit()\nprint("No")', 'a,b,c,d = map(int, input().split())\ntimea = a//d\ntimeb = c//b\nif a%d != 0:\n timea += 1\nif c%b != 0:\n timeb += 1\n \nif timea >= timeb:\n print("Yes")\n exit()\nprint("No")']
['Wrong Answer', 'Accepted']
['s391736438', 's633561280']
[9168.0, 9172.0]
[24.0, 21.0]
[120, 181]
p02700
u833963136
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ntakahasi = C // B\naoki = A // D\nif C % B != 0:\n takahasi += 1\nif A % D != 0:\n aoki += 1 \nif takahasi > aoki:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\ntakahasi = C // B\naoki = A // D\nif C % B != 0:\n takahasi += 1\nif A % D != 0:\n aoki += 1 \nif takahasi > aoki:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\nif A // B >= C // D:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = map(int, input().split())\ntakahasi = C // B\naoki = A // D\nif C % B != 0:\n takahasi += 1\nif A % D != 0:\n aoki += 1 \nif takahasi > aoki:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s578457592', 's581991269', 's678399974', 's671424451']
[9116.0, 9120.0, 9156.0, 9120.0]
[27.0, 28.0, 32.0, 28.0]
[193, 193, 98, 193]
p02700
u834120237
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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, sys\nfrom bisect import bisect_left, bisect_right\nfrom collections import Counter, defaultdict, deque\nfrom copy import deepcopy\nfrom functools import lru_cache\nfrom heapq import heapify, heappop, heappush\nfrom itertools import accumulate, combinations, permutations\ninput = sys.stdin.readline\nmod = 10**9 + 7\nns = lambda: input().strip()\nni = lambda: int(input().strip())\nnm = lambda: map(int, input().split())\nnl = lambda: list(map(int, input().split()))\n\ndef main():\n a, b, c, d = nm()\n while True:\n c -= d\n if c <= 0:\n print('Yes')\n exit()\n a -= d:\n if a <= 0:\n print('No')\n exit()\n\n\nif __name__ == '__main__':\n main()", "import math, sys\nfrom bisect import bisect_left, bisect_right\nfrom collections import Counter, defaultdict, deque\nfrom copy import deepcopy\nfrom functools import lru_cache\nfrom heapq import heapify, heappop, heappush\nfrom itertools import accumulate, combinations, permutations\ninput = sys.stdin.readline\nmod = 10**9 + 7\nns = lambda: input().strip()\nni = lambda: int(input().strip())\nnm = lambda: map(int, input().split())\nnl = lambda: list(map(int, input().split()))\n\ndef main():\n a, b, c, d = nm()\n while 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()\n\n\nif __name__ == '__main__':\n main()"]
['Runtime Error', 'Accepted']
['s423076331', 's340932861']
[9012.0, 9736.0]
[23.0, 27.0]
[714, 713]
p02700
u836080851
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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()))\nt1 = a[0]#hp\nt2 = a[1]#atc\na1 = a[2]\na2 = a[3]\n\nif a1%t2 == 0:\n if a1/t2 < t1/a2+1:\n print("Yes")\n else:\n print("No")\nelse:\n if a1/t2 < t1/a2:\n print("Yes")\n elif a1//t2 == t1//a2:\n print("Yes")\n else:\n print("No")', 'a = list(map(int,input().split()))\nt1 = a[0]#hp\nt2 = a[1]#atc\na1 = a[2]\na2 = a[3]\n\nif a1%t2 == 0:\n if a1/t2 < t1/a2+1:\n print("Yes")\n else:\n print("No")\nelse:\n if a1/t2 < t1/a2:\n print("Yes")\n elif (a1//t2 == t1//a2) and (t1%a2 != 0):\n print("Yes")\n elif (a1//t2 == t1//a2) and (t1%a2 == 0):\n print("No")\n else:\n print("No")']
['Wrong Answer', 'Accepted']
['s424654166', 's715721145']
[9068.0, 9188.0]
[21.0, 23.0]
[269, 348]
p02700
u841568901
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ntak = -(-c//b)\naok = -(-a//d)\n\nif tak < aok:\n print("No")\nelse:\n print("Yes")\n ', 'a, b, c, d = map(int, input().split())\ntak = -(-c//b)\naok = -(-a//d)\n\nif tak > aok:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s308654075', 's241727467']
[9068.0, 8868.0]
[21.0, 21.0]
[122, 118]
p02700
u842901156
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['rist = input().split()\nfor i in range(100):\n if int(rist[2])-int(rist[1])<0:\n print("Yes")\n else:\n rist[2] = int(rist[2])-int(rist[1])\n\n if int(rist[0])-int(rist[3])<0:\n print("No")\n else:\n rist[0] = int(rist[0])-int(rist[3])', 'rist = input().split()\nfor i in range(100):\n if int(rist[2])-int(rist[1])<0:\n print("Yes")\n break\n else:\n rist[2] = int(rist[2])-int(rist[1])\n \n if int(rist[0])-int(rist[3])<0:\n print("No")\n break\n else:\n rist[0] = int(rist[0])-int(rist[3])', 'rist = input().split()\nwhile int(rist[0])>0 and int(rist[2])>0:\n if int(rist[2])-int(rist[1])<=0:\n print("Yes")\n break\n else:\n rist[2] = int(rist[2])-int(rist[1])\n \n if int(rist[0])-int(rist[3])<=0:\n print("No")\n break\n else:\n rist[0] = int(rist[0])-int(rist[3])']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s251945466', 's677538537', 's965895039']
[9192.0, 9024.0, 9200.0]
[24.0, 21.0, 24.0]
[241, 262, 284]
p02700
u843318346
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nwintaka = -(-c//b)\nwinao = -(-a//d)\nif wintaka>=winao:\n print('Yes')\nelse:\n print('No')", "a, b,c,d = map(int, input().split())\nwintaka = -(-c//b)\nwinao = -(-a//d)\n\n\nif wintaka<=winao:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s769319783', 's606289477']
[9168.0, 9164.0]
[25.0, 20.0]
[131, 133]
p02700
u843764230
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 -= b\n a -= d\nif c <= 0:\n print('YES')\nelse:\n print('NO')", "a, b , c , d = map(int , input().split())\nwhile a > 0 and c > 0:\n c -= b\n a -= d\nif c <= 0:\n print('YES')\nelse:\n print('NO')", 'a, b, c, d = map(int, input().split())\n\nwhile a > 0 and c > 0:\n c -= b\n a -= d\n\nif c <= 0:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s615972471', 's883302021', 's425061058']
[9056.0, 8852.0, 9064.0]
[25.0, 26.0, 28.0]
[137, 137, 135]
p02700
u844196583
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 > D-A:\n print('Yes')\nelse:\n print('No')", "A, B, C, D = map(int, input().split())\n\nsw = 0\nwhile sw == 0:\n if C > 0:\n C = C - B\n else:\n sw = 1\n break\n if A > 0:\n A = A - D\n else:\n sw = 2\n break\nif sw == 1:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s891784073', 's540196024']
[9092.0, 9064.0]
[28.0, 25.0]
[89, 254]
p02700
u845650912
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\ndef shohai(A, B, C, D):\n while A > 0 and C > 0:\n aoki = C - B\n takahashi = A - D\n if aoki <= 0:\n return('Yes')\n if takahashi <= 0:\n return('No')\n C = aoki\n A = takahashi\n\nshohai(A,B,C,D)", "A, B, C, D = map(int,input().split())\n\ndef shohai(A, B, C, D):\n while A > 0 and C > 0:\n aoki = C - B\n takahashi = A - D\n if aoki <= 0:\n return('Yes')\n if takahashi <= 0:\n return('No')\n C = aoki\n A = takahashi\n\nshohai(A,B,C,D)", "A, B, C, D = map(int,input().split())\n\ndef shohai(A, B, C, D):\n while A > 0 and C > 0:\n aoki = C - B\n takahashi = A - D\n if aoki <= 0:\n return('Yes')\n break\n if takahashi <= 0:\n return('No')\n break\n C = aoki\n A = takahashi\n\nshohai(A,B,C,D)", "A, B, C, D = map(int,input().split())\n\ndef shohai(A, B, C, D):\n while A > 0 and C > 0:\n C -= B\n A -= D\n if C <= 0:\n return('Yes')\n break\n if A <= 0:\n return('No')\n break\n \n\nshohai(A,B,C,D)", "A, B, C, D = map(int,input().split())\n\ndef shohai(A, B, C, D):\n while A > 0 and C > 0:\n C -= B\n A -= D\n if C <= 0:\n return('Yes')\n break\n if A <= 0:\n return('No')\n break\n \n\nans = shohai(A,B,C,D)\nprint(ans)"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s089442210', 's158867171', 's591413687', 's836901918', 's909138009']
[9184.0, 9188.0, 9200.0, 9180.0, 9204.0]
[21.0, 22.0, 23.0, 21.0, 20.0]
[292, 292, 328, 268, 285]
p02700
u845847173
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 + 1 > (c // b):\n print("Yes")\nelse:\n print("No")', "a, b, c, d = map(int, input().split())\nm = c // b\nif c%b == 0:\n m += 0\nelse:\n m += 1\nn = a // d\nif a%d == 0:\n n += 0\nelse:\n n += 1\nif m <= n:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s845068175', 's338917938']
[9160.0, 9180.0]
[26.0, 21.0]
[103, 193]
p02700
u846155148
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n\n\n\na, 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\n a -= d\n if d <= 0:\n print("No")', '\n\n\n\n\na, 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 d <= 0:\n print("No")\n break\n ', '\n\n\n\n\na, 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")\n break']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s037437207', 's695873020', 's951935369']
[9100.0, 9088.0, 9148.0]
[29.0, 25.0, 29.0]
[366, 403, 394]
p02700
u850479192
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['Taka_T,Taka_A,Aoki_T,Aoki_A= map(int, input("高橋体力_高橋攻撃_青木体力_青木攻撃 > ").split())\n\nwhile True:\n Aoki_T = Aoki_T - Taka_A\n Taka_T = Taka_T - Aoki_A\n if Aoki_T <= 0:\n print("Yes")\n break\n elif Taka_T <= 0:\n print("No")\n break\n', 'Taka_T,Taka_A,Aoki_T,Aoki_A= map(int, input().split())\n\nwhile True:\n Aoki_T = Aoki_T - Taka_A\n Taka_T = Taka_T - Aoki_A\n if Aoki_T <= 0:\n print("Yes")\n break\n elif Taka_T <= 0:\n print("No")\n break\n']
['Wrong Answer', 'Accepted']
['s814337244', 's070403541']
[9136.0, 9168.0]
[22.0, 20.0]
[293, 237]
p02700
u853728588
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 if a > 0:\n a = a - d\n if c > 0:\n c = c - b\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 if c > 0:\n c = c - b\n if 0 >= c:\n print("Yes")\n exit()\n if a > 0:\n a = a - d\n if 0>= a:\n print("No") ']
['Wrong Answer', 'Accepted']
['s355974258', 's163768010']
[9124.0, 9044.0]
[28.0, 29.0]
[163, 204]
p02700
u854550470
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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()]\nif (a//d)>=(c//b):\n print('Yes')\nelse:\n print('No')", "a, b, c, d = [int(i) for i in input().split()]\nimport math\nif math.ceil(c/b) <= math.ceil(a/d):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s104271322', 's786516264']
[9168.0, 9104.0]
[22.0, 22.0]
[104, 134]
p02700
u854780853
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 = A - D\n C = C - B\n if C-B <= 0:\n print('Yes')\n break\n \n if A-D <= 0:\n print('No')\n \n ", "A,B,C,D = map(int,input().split())\nwhile True:\n A = A - D\n C = C - B\n if C <= 0:\n print('Yes')\n break\n \n if A <= 0:\n print('No')\n \n \n", "A,B,C,D = map(int,input().split())\nwhile True:\n A = A - D\n C = C - B\n if C <= 0:\n print('Yes')\n break\n \n if A <= 0:\n print('No')\n break\n \n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s243329519', 's464611255', 's886988455']
[9140.0, 9104.0, 9060.0]
[20.0, 21.0, 23.0]
[182, 179, 184]
p02700
u854784579
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nA/=D\nB/=C\nE=math.ceil(A)\nF=math.ceil(B)\nif A>=B:\n print("Yes")\nelse:\n print("No")\n', 'import math\nA,B,C,D=map(int,input().split())\nE=math.ceil(A/D)\nF=math.ceil(B/C)\nif A>=B:\n print("Yes")\nelse:\n print("No")\n', 'import math\nA,B,C,D=map(int,input().split())\nE=math.ceil(A/D)\nF=math.ceil(C/B)\nif A>=B:\n print("Yes")\nelse:\n print("No")\n', 'import math\nA,B,C,D=map(int,input().split())\nE=math.ceil(A/D)\nF=math.ceil(C/B)\nif E>=F:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s425648297', 's442241636', 's520753236', 's026345526']
[9104.0, 9096.0, 9164.0, 9156.0]
[22.0, 20.0, 22.0, 22.0]
[133, 127, 127, 127]
p02700
u855831834
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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_attack = -(-A//D) \ntkhs_attack = -(-C//B)\nprint(tkhs_attack)\nprint(aok_attack)\nif tkhs_attack > aok_attack:\n print('No')\nelse:\n print('Yes')", "A,B,C,D = map(int,input().split())\naok_attack = -(-A//D) \ntkhs_attack = -(-C//B)\n#print(tkhs_attack)\n\nif tkhs_attack > aok_attack:\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Accepted']
['s499176358', 's380211310']
[9148.0, 9140.0]
[25.0, 22.0]
[259, 261]
p02700
u859241851
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 C > 0 and A > 0:\n C -= B\n A -= D\n if C <= 0:\n print("Yes")\n elif A <= 0:\n print("No")\n else:\n pass', 'A,B,C,D = map(int,input().split())\n\nwhile C > 0 and A > 0:\n C -= B\n A -= D\n if C <= 0:\n print("Yes")\n elif A <= 0:\n print("No")\n else:\n pass']
['Runtime Error', 'Accepted']
['s799441770', 's761574435']
[9024.0, 8952.0]
[20.0, 22.0]
[140, 176]
p02700
u859622821
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['ad,ao,bd,bo=map(int,input().split())\naTurn=int(float(ad)/bo)*2+1\nbTurn=int(float(bd)/ao)*2\nif aTurn>bTurn:\n print("Yes")\nelse:\n print("No")', 'ad,ao,bd,bo=map(float,input().split())\naTurn=int(ad/bo)+0.5\nbTurn=int(bd/ao)\nif ad%bo==0:\n aTurn -= 1\nif bd%ao==0:\n bTurn -= 1\n \nif aTurn>bTurn:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s804500465', 's671307158']
[9044.0, 8972.0]
[20.0, 21.0]
[141, 182]
p02700
u860002137
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n\na, b, c, d = map(int, input().split())\n\nwhile True:\n d = d - a\n if d <= 0:\n print("Yes")\n sys.exit()\n else:\n b = b - c\n if b <= 0:\n print("No")\n sys.exit()', 'a, b, c, d = map(int, input().split())\n\nwhile b<=0 or d<=0:\n d = d - a\n if d <= 0:\n print("Yes")\n else:\n b = b - c\n if b <= 0:\n print("No")', 'import sys\n\na, b, c, d = map(int, input().split())\n\nwhile True:\n c = c - b\n if c <= 0:\n print("Yes")\n sys.exit()\n else:\n a = a - d\n if a <= 0:\n print("No")\n sys.exit()']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s377623595', 's555416845', 's618194193']
[9188.0, 9184.0, 9052.0]
[20.0, 20.0, 21.0]
[214, 172, 214]
p02700
u861886710
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\nn = A // D\nm = C // A\nif n >= m:\n print("Yes")\nelse:\n print("No")', 'import math\nA, B, C, D = list(map(int, input().split()))\n\n\n\nn = math.ceil(A / D)\nm = math.ceil(C / A)\nif n >= m:\n print("Yes")\nelse:\n print("No")', 'A, B, C, D = list(map(int, input().split()))\n\nn = A / D\nm = C / A\nif n >= m:\n print("Yes")\nelse:\n print("No")', 'import math\nA, B, C, D = list(map(int, input().split()))\n\n\n\nn = math.ceil(A / D)\nm = math.ceil(C / B)\nif n >= m:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s300895891', 's322131992', 's953836194', 's124769449']
[9176.0, 9168.0, 9108.0, 9104.0]
[20.0, 23.0, 21.0, 22.0]
[117, 213, 115, 213]
p02700
u863433366
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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_hp = a\na_hp = c\nwhile a_hp >= 0 or t_hp >= 0:\na_hp -= b\nt_hp -= d\n\nif a_hp <= t_hp:\n print("Yes")\nelse:\n print("No")\n', 'a, b, c, d = map(int, input().split())\n\nt_hp = a\na_hp = c\nwhile a_hp > 0 or t_hp > 0:\n\ta_hp -= b\n\tt_hp -= d\n\tif a_hp <= 0:\n print("Yes")\n exit()\n elif t_hp <= 0:\n print("No")\n exit()', 'a, b, c, d = map(int, input().split())\n\nt_hp = a\na_hp = c\nwhile a_hp > 0 or t_hp > 0:\n\ta_hp -= b\n\tt_hp -= d\n if a_hp <= 0:\n print("Yes")\n exit()\n elif t_hp <= 0:\n print("No")\n exit()', 'a, b, c, d = map(int, input().split())\n\nt_hp = a\na_hp = c\nwhile a_hp > 0 or t_hp > 0:\n\ta_hp -= b\n\tt_hp -= d\n\nif a_hp <= 0:\n\tprint("Yes")\nelse:\n\tprint("No")', 'a, b, c, d = map(int, input().split())\n\nt_hp = a\na_hp = c\nwhile a_hp > 0 or t_hp > 0:\n a_hp -= b\n t_hp -= d\n if a_hp <= 0:\n print("Yes")\n exit()\n elif t_hp <= 0:\n print("No")\n exit()']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s406021030', 's431422430', 's639253424', 's906422456', 's906961816']
[9004.0, 8876.0, 8924.0, 9112.0, 9164.0]
[23.0, 22.0, 20.0, 21.0, 20.0]
[161, 205, 220, 155, 226]
p02700
u866700524
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 = input().split()\n \nif math.ceil(int(C)*1.0/(int(B)*1.0)) >= math.ceil(int(A)*1.0/(int(D)*1.0)):\n print("Yes")\nelse:\n print("No")', 'import math\nA, B, C, D = input().split()\n \nif math.ceil(int(C)*1.0/(int(B)*1.0)) <= math.ceil(int(A)*1.0/(int(D)*1.0)):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s575118702', 's134941753']
[9172.0, 9168.0]
[24.0, 21.0]
[154, 154]
p02700
u867408000
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
["ta_AT,ta_HP,ao_AT,ao_HP = map(int,input().split())\n\nwhile True:\n ao_HP -= ta_AT\n if ao_HP <= 0:\n print('Yes')\n break\n ta_HP -= ao_AT\n if ta_HP <= 0:\n print('No')\n break", "ta_HP,ta_AT,ao_HP,ao_AT = map(int,input().split())\n\nwhile True:\n ao_HP -= ta_AT\n if ao_HP <= 0:\n print('Yes')\n break\n ta_HP -= ao_AT\n if ta_HP <= 0:\n print('No')\n break"]
['Wrong Answer', 'Accepted']
['s798909301', 's125940325']
[9104.0, 9072.0]
[28.0, 29.0]
[208, 208]
p02700
u867616076
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ntcnt = math.ceil(c/b)\nacnt = math.ceil(a/d)\nif(tcnt > acnt):\n print("Yes")\nelse:\n print("No")\n', 'import math\na,b,c,d = map(int,input().split())\ntcnt = math.ceil(c/b)\nacnt = math.ceil(a/d)\nif(tcnt > acnt):\n print("Yes")\nelse:\n print("No")\n', "import sys\n \nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nreadlines = sys.stdin.buffer.readlines\n \na, b, c, d = map(int, read().split())\n \ndef main(a, b, c, d):\n while True:\n if c <= b:\n return 'Yes'\n c -= b\n if a <= d:\n return 'No'\n a -= d\n \nprint(main(a, b, c, d))\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s221862283', 's450933214', 's605736127']
[9072.0, 9068.0, 9076.0]
[26.0, 31.0, 31.0]
[147, 147, 341]
p02700
u870736713
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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=46,4,40,5\nif int(a/d)<int(c/b):\n print('Yes')\nelif int(a/d)==int(c/b):\n if a%d==0 and c%b==0:\n print('Yes')\n elif a%d>0:\n print('Yes')\n else:\n print('No')\nelse:\n 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 a=a-d\n if a<=0:\n print('No')\n break"]
['Wrong Answer', 'Accepted']
['s553937856', 's629513803']
[9056.0, 9164.0]
[19.0, 21.0]
[217, 161]
p02700
u873736356
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nhpa = math.ceil(A / D)\nhhb = math.ceil(C / B)\nif (hpa >= hpb):\n print('Yes')\nelse:\n print('No')\n", "A, B, C, D = map(int,input().split())\nhpa = A\nhhb = C\nwhile(1):\n hpb -= B\n if(hpb <= 0):\n print('Yes')\n break\n hpa -= D\n if(hpa <= 0):\n print('No')\n break \n", "import math\nA, B, C, D = map(int,input().split())\nhpa = math.ceil(A / D)\nhpb = math.ceil(C / B)\nif (hpa >= hpb):\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s641132016', 's958707924', 's742990085']
[9172.0, 9172.0, 9168.0]
[24.0, 24.0, 21.0]
[152, 197, 152]
p02700
u873776333
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nTakahashi = ceil(A/D)\nAoki = ceil(C/D)\nif Takahashi >= Aoki:\n print("Yes")\nelse:\n print("No")', 'from math import ceil\nA, B, C, D = map(int, input().split())\nTakahashi = ceil(A/D)\nAoki = ceil(C/B)\nif Takahashi >= Aoki:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s139165857', 's965534528']
[9160.0, 9108.0]
[24.0, 21.0]
[156, 156]
p02700
u875291233
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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# Your code here!\nimport sys\nreadline = sys.stdin.readline\nread = sys.stdin.read\n\na,b,c,d = [int(i) for i in input().split()]\n\n\nt = c//b\ns = a//d\nif t <= s:\n print("Yes")\nelse:\n print("No")\n ', '# coding: utf-8\n# Your code here!\nimport sys\nreadline = sys.stdin.readline\nread = sys.stdin.read\n\na,b,c,d = [int(i) for i in read().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']
['s560719715', 's802152088']
[9168.0, 9176.0]
[22.0, 21.0]
[216, 274]
p02700
u875541136
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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')", "import math\nA, B, C, D = map(int, input().split())\nif math.ceil(C/B) <= math.ceil(A/D):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s524053244', 's230416914']
[9084.0, 9172.0]
[22.0, 20.0]
[90, 122]
p02700
u878545651
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\n while A>0 and B>0 :\n C -= B # Aoki health\n A -= D \n print(C, A)\n\n if C > A:\n print('No')\n else:\n print('Yes')\n\n\nif __name__ == '__main__':\n main()", "def main():\n A, B, C, D = map(int, input().split())\n\n while A>0 and B<0 :\n C -= B # Aoki health\n A -= D \n\n if C > A:\n print('No')\n else:\n print('Yes')\n\n\nif __name__ == '__main__':\n main()", "def main():\n A, B, C, D = map(int, input().split())\n\n while True:\n Aoki_health = C-B\n Take_health = A-D\n if Take_health < 1 < Aoki_health:\n print('No')\n break\n else:\n print('Yes')\n break\n\n\nif __name__ == '__main__':\n main()", "import math\n\n\ndef main():\n A, B, C, D = map(int, input().split())\n\n Takeshi = math.ceil(C/B)\n Aoki = math.ceil(A/D)\n\n print('Yes' if Takeshi<= Aoki else 'No')\n\n\nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s117927818', 's496198137', 's751636135', 's861636045']
[9160.0, 9160.0, 9108.0, 9112.0]
[30.0, 27.0, 31.0, 27.0]
[268, 248, 304, 210]
p02700
u880400515
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 checkWin(T_hp, A_hp):\n if (T_hp <= 0):\n print('No')\n if (A_hp <= 0):\n print('Yes')\n\nT_hp, T_at, A_hp, A_at = list(map(int, input().split()))\n\nwhile (T_hp > 0 and A_hp > 0):\n A_hp = A_hp - T_at\n checkWin(T_hp, A_hp)\n T_hp = T_hp - A_at\n checkWin(T_at, A_at)\n\n ", "def checkWin(T_hp, A_hp):\n if (T_hp <= 0):\n print('No')\n if (A_hp <= 0):\n print('Yes')\n\nT_hp, T_at, A_hp, A_at = list(map(int, input().split()))\n\nwhile (T_hp > 0 and A_hp > 0):\n A_hp = A_hp - T_at\n T_hp = T_hp - A_at\n\n if (A_hp <= 0):\n print('Yes')\n break\n\n if (T_hp <= 0):\n print('No')\n break\n\n\n\n "]
['Wrong Answer', 'Accepted']
['s905364915', 's913688621']
[9184.0, 9188.0]
[24.0, 23.0]
[298, 361]
p02700
u883237011
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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`.
['heart_taka, power_taka, heart_aoki, power_aoki = map(int, input().split())\n\naliveTaka = True\naliveAoki = True\nwhile (aliveTaka) or (aliveAoki):\n heart_aoki -= power_taka\n heart_taka -= power_aoki\n if heart_aoki <= 0:\n aliveAoki = False\n if heart_taka <= 0:\n aliveTaka = False\n\nif aliveAoki == False:\n return "Yes"\nreturn "No"', 'heart_taka, power_taka, heart_aoki, power_aoki = map(int, input().split())\n\naliveTaka = True\naliveAoki = True\nwhile (aliveTaka) and (aliveAoki):\n heart_aoki -= power_taka\n heart_taka -= power_aoki\n if heart_aoki <= 0:\n aliveAoki = False\n if heart_taka <= 0:\n aliveTaka = False\n\nif aliveAoki == False:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s867022786', 's341543307']
[8976.0, 9172.0]
[21.0, 20.0]
[354, 366]
p02700
u883307604
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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(" ")]\nattack_round_a = c // b if c % b != 0 else c // b + 1\nattack_round_b = a // d if a % d != 0 else a // d + 1\nprint(\'Yes\' if attack_round_a <= b else \'No\')\n', 'a,b,c,d = [int(i) for i in input().split(" ")]\nattack_round_a = c // b if c % b == 0 else c // b + 1\nattack_round_b = a // d if a % d == 0 else a // d + 1\nprint(\'Yes\' if attack_round_a <= attack_round_b else \'No\')']
['Wrong Answer', 'Accepted']
['s403456929', 's576879617']
[9100.0, 9108.0]
[22.0, 22.0]
[201, 213]
p02700
u889390649
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\ncnta = 0\ncntc = 0\nwhile a <= 0:\n a -= d\n cnta += 1\n\nwhile c <= 0:\n c -= b\n cntc += 1\n \nif cnta >= cntc:\n print("Yes")\nelse:\n print("No")\n ', '\na,b,c,d = map(int, input().split())\ncnta = 0\ncntc = 0\nwhile a > 0:\n a -= d\n cnta += 1\n\nwhile c > 0:\n c -= b\n cntc += 1\n\n# print(cnta, cntc)\n\nif cnta >= cntc:\n print("Yes")\nelse:\n print("No")\n ']
['Wrong Answer', 'Accepted']
['s233473548', 's724246039']
[8928.0, 9100.0]
[27.0, 28.0]
[199, 214]
p02700
u889405092
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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(A/D) >= math.ceil(B/C) else "No")', 'import math \nA,B,C,D=map(int,input().split())\nprint("Yes" if math.ceil(A/D) >= math.ceil(C/B) else "No")']
['Wrong Answer', 'Accepted']
['s706026054', 's435826627']
[9160.0, 9064.0]
[29.0, 25.0]
[104, 104]
p02700
u896588506
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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())\nif math.floor(c/b)>=math.floor(a/d):\n print("Yes")\nelse:\n print("No")', 'print("Yes")', 'import math\na,b,c,d = map(int,input().split())\n\ndef death_time(hp,atack):\n if hp%atack == 0:\n return hp/atack\n else:\n return hp//atack + 1\n\ntakahashi_death = death_time(a,d)\naoki_death = death_time(c,b)\n\nif aoki_death<=takahashi_death:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s466764976', 's569639256', 's290020076']
[8912.0, 8916.0, 9116.0]
[29.0, 24.0, 31.0]
[122, 12, 294]
p02700
u899457989
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\ni = int(C / B) + 1 \nj = int(A / D) + 1 \n\nif i <= j:\n print("Yes")\nelse:\n print("No")', 'import math\n\nA, B, C, D = map(int, input().split())\n\ni = math.ceil(C / B) \nj = math.ceil(A / D) \n\nif i <= j:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s862314730', 's292327520']
[9144.0, 9020.0]
[22.0, 21.0]
[194, 211]
p02700
u901757711
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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\nx = a//d\ny = c//b\n\nif x >= y:\n print("Yes")\nelse:\n print("No")', 'a, b, c, d = map(int, input().split())\n\nwhile a<=0 or b <= 0:\n a = a - d\n b = b - c\n\nif a <= 0:\n print("No")\nelse:\n print("Yes")', 'a, b, c, d = map(int, input().split())\n\nwhile a<=0 or c <= 0:\n a = a - d\n c = c - b\n\nif a <= 0:\n print("No")\nelse:\n print("Yes")', 'a, b, c, d = map(int, input().split())\n\nwhile a<=0 or b <= 0:\n a = a - d\n c = c - b\n\nif a <= 0:\n print("No")\nelse:\n print("Yes")', 'a, b, c, d = map(int, input().split())\n \nx = a / d\ny = c / b\n \nif x > y-1:\n print("Yes")\nelse:\n print("No")', 'a,b,c,d = map(int, input().split())\n\nwhile True:\n c -= b\n a -= d\n if c <= 0:\n print("Yes")\n break\n elif a <= 0:\n print("No")\n break']
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s307967146', 's560084359', 's621146390', 's754104420', 's958025529', 's676774648']
[9160.0, 9152.0, 9144.0, 9148.0, 9172.0, 9148.0]
[23.0, 19.0, 22.0, 24.0, 20.0, 20.0]
[104, 132, 132, 132, 109, 171]
p02700
u902800815
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 = input().split()\n\nwhile True:\n B[2] = int(B[2]) - int(B[1])\n B[0] = int(B[0]) - int(B[3])\n print(B[2])\n print(B[0])\n if int(B[2]) <= 0:\n print("Yes")\n break\n elif int(B[0]) <= 0:\n print("No")\n break', 'B = input().split()\n\nwhile True:\n B[2] = int(B[2]) - int(B[1])\n B[0] = int(B[0]) - int(B[3])\n if int(B[2]) <= 0:\n print("Yes")\n break\n elif int(B[0]) <= 0:\n print("No")\n break']
['Wrong Answer', 'Accepted']
['s390145479', 's889276931']
[9192.0, 9076.0]
[20.0, 20.0]
[247, 215]
p02700
u904804404
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 func(a,b,c,d):\n while True:\n c-=b\n if c<0:\n return "Yes"\n a-=d\n if a<0:\n return "No"\nprint(func(*list(map(int,input().split()))))', 'def func(a,b,c,d):\n while True:\n c-=b\n if c<=0:\n return "Yes"\n a-=d\n if a<=0:\n return "No"\nprint(func(*list(map(int,input().split()))))\n']
['Wrong Answer', 'Accepted']
['s021322973', 's231939631']
[9092.0, 9144.0]
[24.0, 22.0]
[186, 189]
p02700
u906024886
2,000
1,048,576
Takahashi and Aoki will have a battle using their monsters. The health and strength of Takahashi's monster are A and B, respectively, and those of Aoki's monster are C and 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 = int(input())\nB = int(input())\nC = int(input())\nD = int(input())\nwhile True:\n\tC = C - B\n\tif C <= 0 : \n\t\tprint("Yse")\n\t\tbreak\n\tA = A - D\n\tif A <= 0 : \n\t\tprint("No")\n\t\tbreak', "A,B,C,D=map(int,input().split())\n \nwhile True:\n C=C-B\n if C<=0:\n break\n A=A-D\n if A<=0:\n break\n \nif C<=0:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s860552603', 's691314404']
[9144.0, 9144.0]
[19.0, 20.0]
[174, 170]