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
p02811
u131411061
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['def main():\n K,X = list(map(int,input().split()))\n if(500*k > X):\n print(\'Yes\')\n else:\n print(\'No\')\n\n\nif __name__ == "__main__":\n main()\n', 'def main():\n K,X = list(map(int,input().split()))\n\n price = 500 * K\n if(price >= X):\n print(\'Yes\')\n else:\n print(\'No\')\n\nif __name__ == "__main__":\n main()\n']
['Runtime Error', 'Accepted']
['s007799590', 's595155430']
[2940.0, 2940.0]
[17.0, 17.0]
[163, 184]
p02811
u133134242
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['x,y = map(int,input().split())\nif(x*500<y):\n print("NO")\nelse:\n print("YES")', 'x,y = map(int,input().split())\nif(x*500<y):\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s420496880', 's538430817']
[2940.0, 2940.0]
[17.0, 17.0]
[78, 78]
p02811
u133936772
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n, m = map(int,input().split())\nl = list(map(int,input().split()))\n \nimport math\n \ndef gcd(x, y):\n if y == 0:\n return x\n return gcd(y, x%y)\ndef lcm(x, y):\n return x * y / gcd(x, y)\n \nans = 1\ntf = True\n \nfor i in l:\n i /= 2\n ans = lcm(ans, i)\n if (ans / i) % 2 == 0 or ans > m:\n print(0)\n tf = False\n break\n \nif tf == True:\n print(math.ceil(m / (ans * 2)))', "k,x=map(int,input().split())\nprint('YNeos'[x>500*k::2])"]
['Runtime Error', 'Accepted']
['s115180631', 's447403124']
[3064.0, 2940.0]
[17.0, 17.0]
[404, 55]
p02811
u135454978
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["import sys\nK, X = map(int, sys.stdin.readline().strip().split())\n\nif K * 500 >= X:\n print('YES')\nelse:\n print('NO')", "import sys\nK, X = map(int, sys.stdin.readline().strip().split())\n\nif K * 500 >= X:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s517986929', 's392580434']
[2940.0, 2940.0]
[18.0, 17.0]
[117, 117]
p02811
u140168076
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k, x = input().split()\nif (k * 500)>=x:\n print("Yes")\nelse:\n print("No")', 'k, x = input().split()\nif (k * 500)>=x:\n print("Yes")\nelif(k*500)<x:\n print("No")', 'k, x = [int(i) for i in input().split()]\nif (k * 500) >= x:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s271422469', 's464995556', 's424706854']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[78, 87, 98]
p02811
u140602852
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K, X = input().split()\ndef main(K,X):\n if(int(K)*500>=X):\n print("Yes")\n else: print("No")', 'K, X = input().split()\ndef main(K,X):\n if(int(K)*500>=int(X)):\n return "Yes"\n else:\n return "No"\nprint(main(K,X))']
['Wrong Answer', 'Accepted']
['s122194299', 's994107932']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 133]
p02811
u141410514
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n = int(input())\ns = input()\ncnt = 0\nflag = 0\nfor i in range(n):\n if s[i] == "A":\n flag = 1\n elif s[i] == "B" and flag == 1:\n flag = 2\n elif s[i] == "C" and flag == 2:\n cnt += 1\n flag = 0\n else:\n flag = 0\nprint(cnt)', 'k,x = map(int,input().split())\nif k*500 >= x:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s586421180', 's227702849']
[3060.0, 2940.0]
[17.0, 17.0]
[234, 80]
p02811
u141429472
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['import sys\nimport itertools\nfrom functools import reduce\nimport math\n#import fractions\nimport numpy as np\n\n\ndef calc_double(n):\n return n//2\ndef lcm_base(x, y):\n return (x * y) // math.gcd(x, y)\n\ndef lcm(*numbers):\n return reduce(lcm_base, numbers, 1)\n\ndef lcm_list(numbers):\n return reduce(lcm_base, numbers, 1)\n\n\n\ndef resolve():\n input = sys.stdin.readline\n N,M=map(int,input().rstrip().split())\n A=list(map(int,input().rstrip().split()))\n AA=list(map(calc_double,A))\n \n aa= np.array(AA)\n a=int(np.lcm.reduce(aa))\n #a=lcm_list(AA)\n #a=a//2\n \n odd=M//a\n count=(odd+1)//2\n\n print(count)\n\n \n\nfrom io import StringIO\nimport unittest\n\nclass TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n def test_入力例_1(self):\n input = """2 50\n6 10"""\n output = """2"""\n self.assertIO(input, output)\n def test_入力例_2(self):\n input = """3 100\n14 22 40"""\n output = """0"""\n self.assertIO(input, output)\n def test_入力例_3(self):\n input = """5 1000000000\n6 6 2 6 2"""\n output = """166666667"""\n self.assertIO(input, output)\n\nif __name__ == "__main__":\n #unittest.main()\n resolve()', 'import sys\n\ndef resolve():\n input = sys.stdin.readline\n K,X=map(int,input().rstrip().split())\n \n if K*500>=X:\n print("Yes")\n else:\n print("No")\n\nimport sys\nfrom io import StringIO\nimport unittest\n\nclass TestClass(unittest.TestCase):\n def assertIO(self, input, output):\n stdout, stdin = sys.stdout, sys.stdin\n sys.stdout, sys.stdin = StringIO(), StringIO(input)\n resolve()\n sys.stdout.seek(0)\n out = sys.stdout.read()[:-1]\n sys.stdout, sys.stdin = stdout, stdin\n self.assertEqual(out, output)\n def test_入力例_1(self):\n input = """2 900"""\n output = """Yes"""\n self.assertIO(input, output)\n def test_入力例_2(self):\n input = """1 501"""\n output = """No"""\n self.assertIO(input, output)\n def test_入力例_3(self):\n input = """4 2000"""\n output = """Yes"""\n self.assertIO(input, output)\n\nif __name__ == "__main__":\n #unittest.main()\n resolve()']
['Runtime Error', 'Accepted']
['s537161291', 's728310173']
[12316.0, 6480.0]
[157.0, 76.0]
[1754, 1008]
p02811
u144913062
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K, X = map(int, input().split())\nif K * 500 >= X:\n \tprint('YES')\nelse:\n \tprint('NO')", "K, X = map(int, input().split())\nif K * 500 >= X:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s256864550', 's465482777']
[3064.0, 2940.0]
[17.0, 17.0]
[86, 84]
p02811
u145539439
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K, X = map(int, input().split())\n\nif (500 * K - X) >= 0 :\n print('Yes') \nelse:\n print('No') \n", "K, X = map(int, input().split())\n\nif (500 * K) < X :\n print('No') \nelse:\n print('Yes') ", "K, X = map(int, input().split())\n\nif 500 * K - X >= 0 :\n print('Yes') \nelse:\n print('No') \n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s108358811', 's826304584', 's401872308']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[98, 92, 94]
p02811
u152402277
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['x,k =map(int,(input().split()))\nprint(x,k)\n\nif 500*x>=k:\n print("Yes")\nelse:\n print("No")', 'x,k =map(int,(input().split()))\n#print(x,k)\n\nif 500*x>=k:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s915985425', 's904775729']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 96]
p02811
u153823221
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['A = list(map(int, input().split()))\n \nK = A[0]\nX = A[1]\n \nmoney = K*500\n \nif money <= X:\n\tprint ("Yes")\nelse:\n\tprint("No")', 'A = list(map(int, input().split()))\n \nK = A[0]\nX = A[1]\n \nmoney = K*500\n \nif X <= money:\n\tprint ("Yes")\nelse:\n\tprint("No")']
['Wrong Answer', 'Accepted']
['s405554288', 's827496392']
[2940.0, 2940.0]
[17.0, 17.0]
[122, 122]
p02811
u163829702
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K, X = map(int, input().split())\n\nif 500*K >= X:\n print('yes')\nelse:\n print('no')", "K, X = map(int, input().split())\n\nif 500*K >= X:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s989494129', 's037398887']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 87]
p02811
u165268875
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K, X = map(int, input())\n\nprint("Yes" if 500*K >= X else "No")\n', 'K, X = map(int, input().split())\n\nprint("Yes" if 500*K >= X else "No")\n']
['Runtime Error', 'Accepted']
['s269759040', 's172009431']
[2940.0, 2940.0]
[17.0, 17.0]
[63, 71]
p02811
u167254893
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X = map(int,input().split())\nP = K*500\nif (p>=X):\n print("Yes")\nelif (p<=X):\n print("No") ', 'K,X = map(int,input().split())\nP = K*500\nif (P>=X):\n print("Yes")\nelif (P<=X):\n print("No") ']
['Runtime Error', 'Accepted']
['s861477650', 's175668664']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 101]
p02811
u167932128
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['\n\n\n\nimport sys\n\n\nif 1 < len(sys.argv) < 4:\n K = sys.argv[1]\n X = sys.argv[2]\n\n\nelse:\n print("引数の指定に誤りがあります")\n\n\nsum = 500 * int(K)\n\n\nif sum >= int(X):\n print(\'Yes\')\nelse:\n print(\'No\')', "\n\n\n\ninp_word = input()\n\n\nK,X = inp_word.split()\n\n\nsum = 500 * int(K)\n\n\nif sum >= int(X):\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s013056095', 's899555410']
[2940.0, 2940.0]
[16.0, 17.0]
[591, 446]
p02811
u170183831
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k, x = map(int, input())\nprint('Yes' if 500 * k >= x else 'No')", "k, x = map(int, input().split())\nprint('Yes' if 500 * k >= x else 'No')\n"]
['Runtime Error', 'Accepted']
['s355438832', 's371710516']
[2940.0, 2940.0]
[17.0, 17.0]
[63, 72]
p02811
u171255092
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k, x = map(int, input().split())\nprint(500*k>=x)', 'k, x = map(int, input().split())\nprint("Yes" if 500*k>=x else "No")']
['Wrong Answer', 'Accepted']
['s489179655', 's906597970']
[2940.0, 2940.0]
[17.0, 17.0]
[48, 67]
p02811
u172716176
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["if rest >= b:\n print('Yes')\nelse:\n print('No')", 'a,b = map(int, input().split())\nrest = a*500\n\nif rest >= b:\n ans = "Yes"\nelse:\n ans = "No"\n\nprint(ans)']
['Runtime Error', 'Accepted']
['s189372425', 's307317177']
[2940.0, 2940.0]
[18.0, 17.0]
[50, 106]
p02811
u182594853
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['r, g, b = map(int, input().split())\nans=100*r+10*g+b\nif ans*4==0:\n print("YES")\nelse:\n print("NO")\n', 'k, x = map(int, input().split())\ncost=500*k\nif x >=cost:\n print("Yes")\nelse:\n print("No")', 'k, x = map(int, input().split())\ncost=500*k\nif x <=cost:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s550400940', 's692664323', 's053476748']
[2940.0, 3060.0, 3060.0]
[17.0, 18.0, 20.0]
[105, 95, 96]
p02811
u185935459
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x = int(input().split())\n\nif 500 * k > x :\n print("Yes")\nelse :\n print("No")', 'k,x = map(int,input().split())\n\nif k * 500 >= x:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s689251732', 's468826898']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 87]
p02811
u189487046
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k, x = map(int, input().split())\nif k*500 >= x:\n print("yes")\nelse:\n print("no")\n', 'k, x = map(int, input().split())\nif k*500 >= x:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s467302818', 's264740289']
[2940.0, 2940.0]
[18.0, 18.0]
[87, 87]
p02811
u189752633
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X = map(int,input().split())\n\na = 500 * K\n\nif a < X:\n print("Yes")\nelse:\n print("No")\n', 'K,X = map(int,input().split())\n\na = 500 * K\n\nif a >= X:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s182307868', 's115404229']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 91]
p02811
u189806337
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k = int(input())\nx = int(input())\n \nif 500*k < x:\nprint("No")\nelse:\nprint("Yes")', 'k=int(input())\nx=int(input())\n\nif 500*k < x:\nprint("No")\nelse\nprint("Yes")\n', 'k=int(input())\nx=int(input())\n \nif 500*k >= x:\nprint("\'Yes\'")\nelse:\nprint("\'No\'")', 'k,x=map(int,input().split())\n\nif 500*k >= x:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s333208415', 's556330456', 's704889941', 's277421187']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[80, 75, 81, 77]
p02811
u196344286
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,N = map(int, input().split())\n\nif 500*K >= N:\n print("yes")\nelse:\n print("no")', 'K,N = map(int, input().split())\n\nif 500*K >= N:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s588694646', 's743720302']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 86]
p02811
u197964561
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k = input()\nx = input()\n\nif 500 * int(k) >= int(x):\n print("Yes")\nelse:\n print("No")\n ', 'k = input()\nx = input()\n\nif 500 * int(k) >= int(x):\n print("Yes")\nelse:\n print("No")\n ', 'k,x = map(int, input().split())\n\nif 500 * int(k) >= int(x):\n print("Yes")\nelse:\n print("No")\n ']
['Runtime Error', 'Runtime Error', 'Accepted']
['s897123002', 's990702997', 's491360251']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[95, 95, 103]
p02811
u201802797
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['i(j)=map(int,input().split())\nif i*500>=j:\n print("Yes")\nelse:\n print("No")', 'i,j=map(int,input().split())\nif i*500>=j:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s020182006', 's856189017']
[2940.0, 3316.0]
[17.0, 21.0]
[81, 80]
p02811
u207576418
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["s,t = input().split()\na = [t,s]\nprint(''.join(a))\n", "k,x = map(int,input().split())\na = 500*k\nif a >= x:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s482636917', 's774400598']
[2940.0, 2940.0]
[18.0, 17.0]
[50, 91]
p02811
u208187916
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k, x = list(map(int, input().split()))\n\nif 500*k >= x:\n print('yes')\nelse:\n print('no')", "k, x = list(map(int, input().split()))\n\nif 500*k >= x:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s979068191', 's221191933']
[2940.0, 2940.0]
[17.0, 17.0]
[93, 93]
p02811
u208464243
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,M = map(int,input().split())\nif 500*K >= X:\n print("Yes")\nelse:\n print("No")', 'K,M = map(int,input().split())\nif 500*K >= M:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s731685470', 's260940399']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 84]
p02811
u212347962
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K, X = map(int,input().split())\n\nK = K*500\nif(K >= X):\n print("yes")\nelse:\n print("No")', 'K, X = map(int,input().split())\n\nK = K*500\nif(K >= X):\n print("yes")\nelse:\n print("No")', 'K, X = map(int,input().split())\n\nK = K*500\nif(K >= X):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s019598056', 's308382247', 's386321594']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[93, 93, 93]
p02811
u213314609
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["[K,N] = [int(x) for x in input().split()]\nif K * 500 <= N:\n print('Yes')\nelse:\n print('No')\n", 'numOfK = input()\nnumOfN = input()\n\nif numOfK * 500 > numOfN:\n print("Yes")\nelse:\n print("No")', "[K, X] = [int(x) for x in input().split()]\nif K * 500 >= X:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s139155548', 's820406559', 's891573388']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[94, 95, 98]
p02811
u216752093
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X=map(int,input().split)\n\nif 500*K>=X:\n print("yes")\nelse:\n print("no")', 'K,X=input().split\nif K*2>X:\n print("yes")\nelse:\n print("no")', "K,X=map(int,input().split)\n\nif 500*K >= X:\n print('yes')\nelse:\n print('no')", "K,X=map(int,input().split)\n\nif 500*K>=X:\n print('yes')\nelse:\n print('no')", 'K,X=input().split()\nK=int(K)\nX=int(X)\nif K*500>X:\n print("yes")\nelse:\n print("no")', 'K,X=input().split()\nK=int(K)\nX=int(X)\nif K*500>=X:\n print("yes")\nelse:\n print("no")', 'K,X=input().split()\nK=int(K)\nX=int(X)\nif K*500>X:\n print("yes")\nelse:\n print("no")', 'K,X=input().split()\nK=int(K)\nX=int(X)\nif 500*K>=X:\n print("yes")\nelse:\n print("no")', 'K,X=input().split\nK=int(K)\nX=int(X)\n\nif 500*K>=X:\n print("yes")\nelse:\n print("no")', "K,X=map(int,input().split())\n\nif 500*K\u3000>=\u3000X:\n print('yes')\nelse:\n print('no')", "K,X=map(int,input().split())\n\nif 500*K >= X:\n print('yes')\nelse:\n print('no')", 'K,X=input().split()\nif K*500>X:\n print("no")\nelse:\n print("yes")\n', 'K,X=map(int,input().split())\nif 500*K>=X:\n print("yes")\nelse:\n print("no")', "K,X=map(int,input().split())\n\nif 500*K >= X:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s133017682', 's143107988', 's218447186', 's301389521', 's318951837', 's430376321', 's446567457', 's613639666', 's626198189', 's749943958', 's794636740', 's821858700', 's991420524', 's244079863']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[75, 62, 77, 75, 84, 85, 84, 85, 84, 85, 79, 67, 76, 79]
p02811
u218393296
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["x,y = map(str,input().split())\n\nif (500*x > y):\n print('Yes')\nelse:\n print('No')", "x,y = map(int,input().split())\n \nif (500*x >= y):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s716476650', 's194237760']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 84]
p02811
u219197917
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n = int(input())\ns = input()\nprint(s.count("ABC"))', 'k, x = map(int, input().split())\nif k * 500 >= x:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s718042706', 's637069396']
[2940.0, 3068.0]
[17.0, 17.0]
[50, 88]
p02811
u222668979
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n, m = map(int, input().split())\na = list(map(int, input().split()))\n\na.sort(reverse=True)\nans = [i for i in range(max(a)//2, m + 1)]\n\nfor j in a:\n n_ans = []\n for i in ans:\n if ((i / j - 0.5) % 1 == 0):\n n_ans.append(i)\n ans = n_ans[:]\n\nprint(len(ans))\n', "k, x = map(int, input().split())\nif k * 500 >= x:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s735311286', 's260958281']
[3060.0, 2940.0]
[18.0, 17.0]
[281, 88]
p02811
u223555291
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['a=int(input())\nb=list(input())\nc=0\nfor i in range(a):\n if b[i]=="A":\n if b[i+1]=="B":\n else:\n pass\n if b[i+2]=="C":\n c+=1\n else:\n pass\n else:\n pass\nprint(c)\n', 'a,b=map(int,input().split())\nif b<=a*500:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s262596256', 's458100915']
[2940.0, 2940.0]
[18.0, 17.0]
[197, 76]
p02811
u229518917
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["N=int(input())\nS=input()\nprint(S.count('ABC'))", "N=input()\nS=input()\nprint(S.count('ABC'))", 'a,b = map(int,input().split())\nsum=int(a)*500\nif sum>=b:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s716772192', 's977826264', 's549568986']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[46, 41, 95]
p02811
u230900948
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K = int(input())\nX = int(input())\n\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')", 'K, X = map(int, input().split(\' \'))\n\nif 500 * K >= X:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s065718117', 's591065799']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 92]
p02811
u234140613
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k, x = map(int,input().split())\nif 500*k<x:\n print("Yes")\nelse:\n print("No")', 'k, x = map(int,input().split())\nif 500*k<x:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Accepted']
['s191466846', 's578679165']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 82]
p02811
u234189749
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['a, b = input().split()\n\nprint(b+a)', 'a, b = map(int,input().split())\n \nif 500*a >= b:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s523575093', 's841735863']
[2940.0, 2940.0]
[17.0, 17.0]
[34, 83]
p02811
u234929275
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n = int(input())\ns = input()\nprint(s.count("ABC"))', 'a, b = input().split()\na = int(a)\nb = int(b)\nif a*500 >= b:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s645940062', 's579072310']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 94]
p02811
u235066013
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k,x=[int(i)for i in input().split()]\nif x>500k:\n print('No')\nelse:\n print('Yes')", "k,x=[int(i)for i in input().split()]\nif 500*k>=x:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s978411599', 's549274389']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 84]
p02811
u237601489
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k,x=map(int.input(),split())\nif x <= k :\n print('Yes')\nelse :\n print('No')", "k,x = map(int.input(),split())\nif x <= k :\n print('Yes')\nelse :\n print('No')", 'k=int(input())\nx=int(input())\nif x <= k :\n print("Yes")\nelse :\n print("No")', 'k=intinput()\nx=intinput()\nif x <= k :\n print("Yes")\nelse :\n print("No")\n', 'k,x=map(int.input(),split())\nif x <= k :\n print("Yes")\nelse :\n print("No")\n', "k,x = map(int,input().split())\nif x <= k :\n print('Yes')\nelse :\n print('No')", "k,x = map(int,input().split())\nif x <= 500*k :\n print('Yes')\nelse :\n print('No')\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s070179828', 's146489453', 's378134997', 's592893442', 's614287873', 's750787232', 's529088027']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[76, 82, 77, 74, 81, 82, 87]
p02811
u238940874
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n = int(input())\ns = list(input())\ncount = 0\nfor i in range (n-2):\n if s[i]=="A" and s[i+1]=="B" and s[i+2]=="C":\n count += 1\nprint(count)', "k,x = map(int,input().split())\nif 500*k >= x:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s508557814', 's231139689']
[3060.0, 2940.0]
[17.0, 17.0]
[148, 80]
p02811
u240582179
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x = map(int,input().split())\nif k*500 == x:\n print("Yes")\nelse:\n print("No")', 'k,x = map(int,input().split())\nif k*500 >= x:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s654499306', 's654118479']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 84]
p02811
u244656600
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x=input().split()\nif 500 * k >= x:\n print("Yes")\nelse:\n print("No")\n', 'k,x=input().split()\na = 500*k\nif a >= x:\n print("Yes")\nelse:\n print("No")', 'k,x=input().split()\nif 500 * k >= x:\n return "Yes"\nelse:\n return "No"', 'k,x=input().split()\nif 500 * k >= x:\n print("Yes")\n return\nelse:\n print("No")\n', 'k,x=(int(x) for x in input().split())\na = 500*k\nif a >= x:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s584929601', 's598533313', 's695967503', 's715061030', 's043282541']
[3064.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[72, 75, 71, 81, 94]
p02811
u244836567
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['a,b=int(input().split())\nif a*500>=b:\n print("Yes")\nelse:\n print("No")', 'N=input()\nN=int(N)\nS=input()\ncount=0\nfor i in range(N-2):\n if S[i]=="A" and S[i+1]=="B" and S[i+2]=="C":\n count=count+1\nprint(count)', 'a,b=input().split()\na=int(a)\nb=int(b)\nif a*500>=b:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Accepted']
['s452453446', 's828465696', 's338333237']
[8852.0, 9052.0, 9132.0]
[25.0, 29.0, 29.0]
[72, 136, 85]
p02811
u246639932
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K, X = map(int, input())\nprint("Yes" if 500*K>=X else "No")', 'K, X = map(int, input().split())\nprint("Yes" if 500*K>=X else "No")']
['Runtime Error', 'Accepted']
['s531780491', 's638687535']
[2940.0, 2940.0]
[17.0, 17.0]
[59, 67]
p02811
u246809151
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["N = int(input())\nS = input()\n\n#Y = len(S.replace('ABC',''))\n\n\nprint(S.count('ABC'))\n", "K , X = map(int, input().split())\n\nif 500* K >= X:\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Accepted']
['s887206570', 's233130481']
[2940.0, 3316.0]
[17.0, 19.0]
[100, 90]
p02811
u247830763
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x =map(int,input().split()))\nif k*500 >= x:\n print("Yes")\nelse:\n print("No")\n', 'k,x =map(int,input().split())\nif k*500 >= x:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s230659708', 's506341720']
[2940.0, 2940.0]
[17.0, 17.0]
[85, 84]
p02811
u248791307
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['a,b=map(int,input().split( ))\nsum=a*500\nif b>=sum:\n print("Yes")\nelse:\n print("NO")', 'a,b=map(int,input().split( ))\nsum=a*500\nif b>sum:\n print("Yes")\nelse:\n print("NO")', 'import sys\na=sys.argv[1]\nb=sys.argv[2]\nsum=a*500\nif b>sum:\n print("Yes")\nelse:\n print("NO")', 'import sys\na=int(sys.argv[1])\nb=int(sys.argv[2])\nsum=a*500\nif b>sum:\n print("Yes")\nelse:\n print("NO")', 'a=input()\nb=input()\nsum=a*500\nif b>sum:\n print("Yes")\nelse:\n print("NO")', 'import sys\na=int(sys.argv[1])\nb=int(sys.argv[2])\nsum=a*500\nif b>sum:\n\tprint("Yes")\nelse:\n \tprint("NO")', 'a,b=map(int,input().split( ))\nsum=a*500\nif sum>=b:\n print("Yes")\nelse:\n print("No")\nexit()']
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s069931697', 's166131468', 's311136170', 's395094857', 's649291423', 's899894835', 's505195319']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[85, 84, 93, 103, 74, 102, 92]
p02811
u252828980
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['a,b = map(int,input().split())\n#L = list()map(int,input().split())\nif a*500 >= b:\n print("YES")\nelse:\n print("NO")\n', 'a,b = map(int,input().split())\n#L = list()map(int,input().split())\nif a*500 >= b:\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s731358286', 's002028551']
[2940.0, 2940.0]
[17.0, 17.0]
[121, 121]
p02811
u254066052
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x= int(raw_input()), int(raw_input())\n\nk = k * 500 \n\nif k >= x:\n print("Yes")\nelse:\n\tprint("No")', 'k,x= int(input()), int(input())\n\nk = k * 500 \n\nif k >= x:\n print("Yes")\nelse:\n print("No")', 'k,x= int(raw_input()), int(raw_input())\n\nk = k * 500 \n\nif k >= x:\n print("Yes")\nelse:\n\tprint("No")', 'k = int(input())\nx = int(input())\n\nk = k * 500 \n\nif k > x:\n \tprint("Yes")\nelse:\n\tprint("No")', 'k = int(input())\nx = int(input())\n\nk = k * 500 \n\nif k > x:\n \tprint("Yes")\nelse:\n\tprint("No")', 'k,x = [int(x) for x in input().split()]\n\nk = k * 500 \n\nif k >= x:\n print("Yes")\nelse:\n\tprint("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s034978436', 's102456444', 's295294235', 's410472061', 's953840819', 's878271708']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 19.0, 17.0, 17.0]
[99, 92, 99, 94, 94, 99]
p02811
u256019645
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["input_line = input()\nLine = input_line.split()\nif 500*int(Line[0]) > int(Line[1]):\n print('yes')\nelse:\n print('no')", "lenghts = int(input())\ndocument = input()\n\ncount = 0\nfor start in range(lenghts -2):\n if document[start: start+3] == 'ABC':\n count += 1\n \nprint(count)", "input_line = input()\nLine = input_line.split()\nif 500*int(Line[0]) > int(Line[1]):\n print('yes')\nelse:\n print('no')", "input_line = input()\nLine = input_line.split()\nif 500*int(Line[0]) >= int(Line[1]):\n print('yes')\nelse:\n print('no')", "input_line = input()\nLine = input_line.split()\n\nif 500*Line[0] > Line[1]:\n print('yes')\nelse:\n print('no')", "input_line = input()\nLine = input_line.split()\nif 500*int(Line[0]) >= int(Line[1]):\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s548574114', 's681507618', 's857553022', 's904691486', 's951238364', 's475197642']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 18.0]
[117, 155, 117, 118, 108, 118]
p02811
u258325541
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['N = list(map(int,input().split(" ")))\n\nif N[0]*500 >= N[1]:\n print("Yes")\nelif:\n print("No")', 'N = list(map(int,input().split(" ")))\n \nif N[0]*500 >= N[1]:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s664147177', 's711865832']
[2940.0, 3316.0]
[17.0, 21.0]
[94, 95]
p02811
u259416421
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K = int(input())\nX = int(input())\n\nif K*500 > X:\n print('Yes')\nelse:\n print('No')", "K, X = map(int, input().split())\n\nif K*500 >= X:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s067498510', 's629547799']
[2940.0, 2940.0]
[17.0, 18.0]
[83, 83]
p02811
u260225357
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K, X = map(int, input.split())\n\nif(500 * K >= X):\n print("Yes")\nelse:\n print("No")', 'K, X = map(int, input().split())\n \nif(500 * K >= X):\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s520269560', 's090298132']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 88]
p02811
u262244504
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["hoge = [0 for i in range(2)]\n\nfor i in range(2):\n hoge[i] = input()\n \nN = int(hoge[0])\nS = hoge[1]\n\nprint(S.count('ABC'))", "K, X = map(int,input().split())\nif (500*K) >= X:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s665166648', 's990087176']
[2940.0, 2940.0]
[17.0, 18.0]
[123, 83]
p02811
u263015890
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['s = input()\nx,a = [int(ele) for ele in s.split(\' \')]\n\nif x*500 >= a:\n print("yes")\nelse:\n print("no")', 's = input()\nx,a = [int(ele) for ele in s.split(\' \')]\n\nif x*500 >= a:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s863300648', 's181158708']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 103]
p02811
u266346465
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["a=int(input())\nX=int(input())\nif(a*500>=X):\n print('Yes')\nelse:\n print('No')", "a,x=map(int, input().split())\n\nif(a*500>=X):\n print('Yes')\nelse:\n print('No')\n", "a,X=map(int, input().split())\n\nif(a*500>=X):\n print('Yes')\nelse:\n print('No')\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s290961471', 's983379432', 's264850834']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[82, 84, 84]
p02811
u267029978
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['A,B = map(int,input())\nif A * 500 >= B:\n print("Yes")\nelse:\n print("No")\n ', 'A,B = map(int,input())\nIf A * 500 >= B:\n print("Yes")\nelse:\n print("No")\n ', 'A,B = map(int,input().split())\nif A * 500 >= B:\n print("Yes")\nelse:\n print("No")\n ']
['Runtime Error', 'Runtime Error', 'Accepted']
['s798184070', 's840604702', 's080727407']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[77, 77, 85]
p02811
u268981216
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k, x = int(input())\nif k*500 >= x:\n print('Yes')\nelse:\n print('No')", "k,x = map(int, input().split())\nif k*500 >= x:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s887982094', 's089945784']
[2940.0, 2940.0]
[17.0, 17.0]
[69, 81]
p02811
u269235541
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X = map(int,input().split())\nif 500*K >= X:\n print(Yes)\nelse:\n print(No)', 'import fractions\nfrom functools import reduce\nN,M= map(int,input().split())\nA=[int(x) for x in input().split()]\ndef lcmpair(a,b):\n return (a*b)// fractions.gcd(a,b)\ndef lcm(List):\n return reduce(lcmpair,List,1)\nlcmB = lcm(A) //2\n\ncrit = 0\npena = 0\nnum = A[0]\nwhile num%2 == 0:\n crit +=1\n num = num//2\ncount = 0\nfor i in A:\n count = 0\n while i%2 == 0 :\n count +=1\n i = i//2\n if count != crit:\n pena = 1\n\nif lcmB > M:\n print(0)\nelif pena ==1:\n print(0)\nelse:\n print(((M//lcmB)+1)//2) ', "K,X = map(int,input().split())\nif 500*K >= X:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s835907926', 's958833615', 's600014087']
[2940.0, 5076.0, 2940.0]
[17.0, 35.0, 17.0]
[80, 535, 84]
p02811
u269724549
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,m=map(input().split())\nc=500*k\nif(c<m):\n print("Yes")\nelse:\n print("No")', 'k,m=map(int,input().split())\nc=500*k\nif(c<m):\n print("Yes")\nelse:\n print("No")\n', 'k,m=map(int,input().split())\nc=500*k\nif(c>=m):\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s127271475', 's947609226', 's508748399']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[76, 81, 82]
p02811
u272075541
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['# -*- coding: utf-8 -*-\n\n############### TESTCASE ###############\ntest = ""\ntest = \\\n"""\n4 2001\n"""\n########################################\ntest = list(reversed(test.strip().splitlines()))\nif test:\n def input2():\n return test.pop()\nelse:\n def input2():\n return input()\n################# MAIN ################# \n\nk, x = map(int, input2().split())\nif k * 500 - x >= 0:\n print("Yes")\nelse:\n print("No")\n\n', '# -*- coding: utf-8 -*-\n\n############### TESTCASE ###############\ntest = ""\n#test = \\\n"""\n4 2001\n"""\n########################################\ntest = list(reversed(test.strip().splitlines()))\nif test:\n def input2():\n return test.pop()\nelse:\n def input2():\n return input()\n################# MAIN ################# \n\nk, x = map(int, input2().split())\nif k * 500 - x >= 0:\n print("Yes")\nelse:\n print("No")\n\n']
['Wrong Answer', 'Accepted']
['s133335168', 's461400196']
[2940.0, 2940.0]
[17.0, 17.0]
[428, 429]
p02811
u274262034
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['import sys\nrow = sys.stdin.readline\n\ndef read_ints(row):\n return list(map(int, row().split()))\n \nK,X = read_ints(row)\nprint("Yes" if K * X >= 2000 else "No")', 'import sys\nrow = sys.stdin.readline\n\ndef read_ints(row):\n return list(map(int, row().split()))\n \nK,X = read_ints(row)\nprint("Yes" if K * 500 >= X else "No")']
['Wrong Answer', 'Accepted']
['s217866565', 's685016859']
[2940.0, 2940.0]
[17.0, 17.0]
[162, 161]
p02811
u276686572
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['coins, req = map(int,input().split())\n\nprint(500*coins >= req)', 'coins, req = map(int,input().split())\n\nfax = 500*coins >= req\n\nif fax: print("Yes")\nelse: print("No")']
['Wrong Answer', 'Accepted']
['s024040786', 's737647157']
[8996.0, 9116.0]
[30.0, 27.0]
[62, 101]
p02811
u277104886
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k. x = map(int, input().split())\nif k*500 >= x:\n print('Yes')\nelse:\n print('No')", "k, x = map(int, input().split())\nif k*500 >= x:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Accepted']
['s166716714', 's434509042']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 82]
p02811
u278855471
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['import itertools\n\nN = int(input())\nP = tuple(map(int, input().split()))\nQ = tuple(map(int, input().split()))\npermutation = list(itertools.permutations([x for x in range(1, N + 1)]))\n\na = permutation.index(P) + 1\nb = permutation.index(Q) + 1\nprint(abs(a - b))\n', "K, X = map(int, input().split())\nprint('Yes' if K * 500 >= X else 'No')\n"]
['Runtime Error', 'Accepted']
['s360744826', 's940346031']
[3060.0, 9132.0]
[18.0, 28.0]
[259, 72]
p02811
u283751459
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x = map(int,input())\n\nif 500*k >= x:\n print("Yes")\nelse:\n print("No")\n', 'k,x = mnap(int,input())\n\nif 500*k >= x:\n print("Yes")\nelse:\n print("No")', 'k,x = map(int,input().split())\n\nif 500*k >= x:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s468970055', 's469803325', 's877623790']
[8940.0, 8884.0, 9000.0]
[24.0, 23.0, 29.0]
[74, 74, 82]
p02811
u288001809
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["tar, max = map(int, input().sprit())\nif max <= tar * 500:\n print('Yes')\nelse:\n print('No')\n", "tar, max = map(int, input(),sprit())\nif max <= tar * 500:\n print('Yes')\nelse:\n print('No')", "tar, max = map(int, input().split())\nif max <= tar*500:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s159328383', 's729801504', 's371927993']
[2940.0, 2940.0, 2940.0]
[16.0, 17.0, 17.0]
[93, 92, 90]
p02811
u292477575
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K,X = input().split()\n\ndef main(K,X):\n if (K * 500) >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == '__main__':\n main(K,X)\n", "K,X = input().split()\n\ndef main(K,X):\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == 'main':\n main()\n", "K,X = input().split()\n\ndef main(K,X):\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == '__main__':\n main(K,X)\n", "K,X = input().split()\n\ndef main(K,X):\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == '__main__':\n main()\n", "K,X = 2 900\n\ndef solve(K,X):\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')", "K,X = input().split(' ')\n\ndef main(K,X):\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == '__main__':\n main(K,X)\n", "K,X = input().split()\n\ndef main(K,X):\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == '__main__':\n main(K,X)\n", "K,X = input().split()\n\ndef main(K,X):\n if K * 500 >= X:\n return 'Yes'\n else:\n return 'No'\n \nif __name__ == 'main':\n main()", "K,X = input().split()\n\ndef main(K,X):\n K = int(K)\n X = int(X)\n if K * 500 >= X:\n print('Yes')\n else:\n print('No')\n \nif __name__ == '__main__':\n main(K,X)\n"]
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s270972003', 's274940648', 's291926021', 's472853389', 's540420903', 's597991026', 's609190013', 's905338265', 's462587959']
[2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 17.0]
[141, 132, 139, 136, 88, 142, 139, 131, 165]
p02811
u295294832
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['import fractions\nfrom functools import reduce\nN,M= [int(i) for i in input().split()]\nn = [int(i) for i in input().split()]\n#print(n)\nn=sorted(set(n),reverse = True)\nbs = n[0]\n#print(n)\n#c=len(n)\n\n\ndef lcm_b(a, b):\n #print("base",a,b)\n return (a * b) // fractions.gcd(a, b)\n\ndef lcm_o():\n global n\n return reduce(lcm_b, n)\n\ndef chk(v):\n global n\n for i in range(1,30):\n if v%2 == 1:break\n v = v//2\n t=2**(i-1)\n for j in range(len(n)):\n if n[j] % t == 0 and (n[j] / t) % 2 == 1:\n n[j] = int(n[j]/t)\n else: return 0\n return i-1\n\nif len(n) > 0:\n \n c = chk(n[-1])\n \n if c != 0:\n v = lcm_o()*(2**(c-1))\n \n if v > M:\n print(0) \n else:\n v = M//v\n if v%2==1: v+=1\n print(int(v//2))\n \n else: print(0)\nelif N==1:\n v = int(bs*0.5)\n v = M//v\n if v%2==1: v+=1\n print(int(v//2))', 'N,M= [int(i) for i in input().split()]\nprint("Yes" if N*500 >= M else "No")']
['Runtime Error', 'Accepted']
['s376264224', 's431426721']
[5308.0, 2940.0]
[44.0, 17.0]
[1132, 75]
p02811
u296620754
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['import sys\n# input=sys.stdin.readline\n\nval = []\nval = input()\n\narrays = val.split(\' \')\na = int(arrays[0])*500\n\nif a>=int(arrays[1]):\n print("Yes")\nelif a<int(arrays[1]):\n print("No")\n\nprint(arrays, a)\nsys.exit()\n', 'k = input()\nx = input()\n\nif k*500<=x:\n print("Yes")\nelse:\n print("No")', 'import sys\n# input=sys.stdin.readline\n\nval = input()\n\narray = val.split(\' \')\na = array[0]*500\n\nif a<array[1]:\n print("Yes")\nelse:\n print("No")\n\nprint (array)\nsys.exit()\n', 'k = input()\nx = input()\n\nif k*500<=x:\n print("Yes")\nelse:\n print("No")\n\n', 'import sys\n# input=sys.stdin.readline\n\nval = input()\n\narray = val.split(\' \')\na = array[0]*500\n\nif a>=array[1]:\n print("Yes")\nelse:\n print("No")\n\nsys.exit()\n', 'import sys\ninput=sys.stdin.readline\n\nk = input()\nx = input()\ncal = k*500\n\nif cal<=x:\n print("Yes")\nelse:\n print("No")\n\nsys.exit()', 'import sys\n\nk = input()\nx = input()\n\nif k*500<=x:\n print("Yes")\nelse:\n print("No")', 'k = input()\nx = input()\n\nif k*500<x:\n\tprint("Yes")\nelse:\n\tprint("No")\t', 'k = input()\nx = input()\ncal = k*500\n\nif cal<=x:\n print("Yes")\nelse:\n print("No")', 'import sys\n# input=sys.stdin.readline\n\nval = []\nval = input()\n\narrays = val.split(\' \')\na = int(arrays[0])*500\n\nif a>=int(arrays[1]):\n print("Yes")\nelif a<int(arrays[1]):\n print("No")\n\nprint(arrays, a)\nsys.exit()\n', 'import sys\n# input=sys.stdin.readline\n\nval = []\nval = input()\n\narrays = val.split(\' \')\na = int(arrays[0])*500\n\nif a>=int(arrays[1]):\n print("Yes")\nelif a<int(arrays[1]):\n print("No")\n\nsys.exit()\n']
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s051734520', 's061690569', 's086360932', 's355558597', 's385103629', 's508552727', 's551833249', 's670431910', 's807363669', 's926321903', 's277986707']
[3060.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0, 2940.0]
[18.0, 17.0, 17.0, 17.0, 18.0, 17.0, 18.0, 18.0, 17.0, 17.0, 17.0]
[218, 76, 175, 78, 162, 135, 88, 70, 86, 218, 201]
p02811
u299856014
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["k, x = map(int, input().split())\nprint(['no','yes'][x <=(500*k)])", "k, x = map(int, input().split())\nprint(['no','yes'][x <=(500*k)])", "k, x = map(int, input().split())\nprint(['No','Yes'][x <=(500*k)])"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s109582788', 's532101982', 's720519618']
[3316.0, 2940.0, 2940.0]
[20.0, 17.0, 17.0]
[65, 65, 65]
p02811
u301319173
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X=input().split()\nif (K*500>=X):\n print("Yes")\nelse:\n print("No")\n', 'K,X=map(int,input().split())\nif (K*500>=X):\n print("Yes")\nelse:\n print("No")\n']
['Wrong Answer', 'Accepted']
['s421235035', 's333651464']
[2940.0, 2940.0]
[17.0, 16.0]
[74, 83]
p02811
u308914480
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["N=int(input())\ns=input()\n \nprint(s.count('ABC'))", 'K,X=map(int, input().split())\nif 500*K >=X:\n print("yes")\nelse*\n print("No")', "N=int(input())\nS=input()\n \nprint(S.count('ABC'))", 'K,X=map(int, input().split())\nif K*500>=X:\n print("yes")\nelse:\n print("No")', 'K,X=map(int, input().split())\nif 500*K >=X:\n print("yes")\nelse:\n print("No")', "K,X=map(int, input().split())\nif K*500>=X:\n print('yes')\nelse:\n print('No')", 'K,X=map(int, input().split())\nif 500*K>=X:\n print("yes")\nelse:\n print("No")', "K,X=map(int, input().split())\nif K*500>=X:\n print('Yes')\nelse:\n print('No')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s175225222', 's272757363', 's466688666', 's516525575', 's581422041', 's678116750', 's747739763', 's926812859']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 18.0, 17.0, 17.0]
[48, 82, 48, 81, 82, 81, 81, 81]
p02811
u309026918
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K, X = map(int, input().split())\n\nprint('Yes' if X/500<=k else'NO')", "K, X = map(int, input().split())\n \nprint('Yes' if X/500<=K else'No')"]
['Runtime Error', 'Accepted']
['s385941721', 's000764865']
[2940.0, 2940.0]
[17.0, 17.0]
[67, 68]
p02811
u309423187
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["a, b = map(int, input().split())\n\nif 500 * a <= b:\n print('Yes')\nelse:\n print('No')\n", "a, b = map(int, input().split())\n\nif 500 * a >= b:\n print('Yes')\nelse:\n print('No')\n"]
['Wrong Answer', 'Accepted']
['s476495620', 's483245891']
[2940.0, 2940.0]
[17.0, 17.0]
[86, 86]
p02811
u309753263
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n,k=map(int,input().split())\nif (n*500>=k):\n print("YES")\nelse:\n print(\'NO\')', 'n,k=map(int,input().split())\nif (n*500>=k):\n print("Yes")\nelse:\n print(\'No\')\n']
['Wrong Answer', 'Accepted']
['s534257376', 's747899476']
[2940.0, 2940.0]
[18.0, 17.0]
[78, 79]
p02811
u311176548
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K,X=list(map(int,input().split(' ')))\nif X>=K*500:\n print('Yes')\nelse:\n print('No')", "K,X=list(map(int,input().split(' ')))\nif X>=K*500:\n print('Yes')\nelse:\n print('No')", "K,X=list(map(int,input().split(' ')))\nif X>K*500:\n print('No')\nelse:\n print('Yes')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s403919800', 's884667189', 's790426626']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0]
[85, 89, 88]
p02811
u314050667
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['import sys\n\nn,m = map(int, input().split())\na = list(map(int, input().split()))\n\ndef gcd(a,b):\n\tif b == 0:\n\t\treturn a\n\treturn gcd(b,a%b)\n\nGCD = 1\nt = a[0]\ncond = 0\nwhile t%2 == 0:\n\tt //= 2\n\tcond += 1\n\t\nmod = 2**cond\nfor i in range(len(a)):\n\tt,tt = divmod(a[i], mod)\n\tif t == 0 or tt != 0:\n\t\tprint(0)\n\t\tsys.exit()\n\tif t % 2 == 1:\n\t\tprint(0)\n\t\tsys.exit()\n\n\tGCD = GCD*a[i] // gcd(GCD,a[i])\n\t\nA = (2*m) // GCD\nif A%2 == 1:\n\tA+=1\n\nprint(A//2)', 'k,x = map(int,input().split())\n\nif 500*k >= x:\n\tprint("Yes")\nelse:\n\tprint("No")']
['Runtime Error', 'Accepted']
['s575852219', 's946693875']
[3064.0, 2940.0]
[18.0, 17.0]
[437, 79]
p02811
u316401642
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k, x = list(map(int, input().split()))\nif 500 * k < x:\n print(“No”)\nelse:\n print(“Yes”)', "k, x = list(map(int, input().split()))\nif 500 * k < x:\n print('No')\nelse:\n print('Yes')\n"]
['Runtime Error', 'Accepted']
['s040398010', 's698250145']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 95]
p02811
u317423698
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["import sys\nK, X = map(int, next(sys.stdin).split())\nprint('Yes' if K * 500 <= X else 'No')\n", "import sys\nK, X = map(int, next(sys.stdin).split())\nprint('Yes' if K * 500 >= X else 'No')"]
['Wrong Answer', 'Accepted']
['s601342131', 's748115273']
[9148.0, 9160.0]
[29.0, 30.0]
[91, 90]
p02811
u318024671
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K, X = map(int,input().split())\nif 500 * K => X:\n print("Yes")\nelse:\n print("No")', 'K, X = map(int,input().split())\nif 500 * K >= X:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s390713378', 's387720643']
[2940.0, 2940.0]
[18.0, 17.0]
[87, 87]
p02811
u318740143
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["N,M = (int(x) for x in input().split())\n \nif N*5 >= M:\n print('Yes')\nelse:\n print('No')", "N,M = (int(x) for x in input().split())\n\nif N*5 > = M:\n print('Yes')\nelse:\n print('No')", "N,M = (int(x) for x in input().split())\n \nif N*500 >= M:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s879840016', 's900145071', 's997173490']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[89, 89, 91]
p02811
u322440802
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["a=list(map(int,input().split()))\nk=a[0]\nx=a[1]\nif x<=500*k:\n print('yes')\nelse:\n print('no')", "a=list(map(int,input().split()))\nk=a[0]\nx=a[1]\nif x<=500*k:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Accepted']
['s876235562', 's988150369']
[2940.0, 2940.0]
[17.0, 17.0]
[98, 98]
p02811
u329568242
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K, X = map(int, input().split())\n\nif 500 * K >= X:\n print('yes')\nelse:\n print('no')\n \n", "K, X = map(int, input().split())\n\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')\n \n"]
['Wrong Answer', 'Accepted']
['s931916806', 's885117408']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 89]
p02811
u332926534
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["number, max = input().split()\n\nif (int(number) * 500 >= int(max)) {\n\tprint('yes'); \n}\nprint('no');", "num, max = input().split()\n\nif (int(num) * 500 >= int(max)):\n print('yes')\nelse:\t\n print('no')", "num, max = list(map(int, input().split()))\n\nprint('Yes') if(num * 500 >= max) else print('No')"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s331139801', 's946907037', 's385104498']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[98, 96, 94]
p02811
u333700164
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['N=int(input())\nP=list(map(int,input().split()))\nQ=list(map(int,input().split()))\n\ndef mul(n):\n s=1\n for t in range(1,n+1):\n s=s*t\n return s\n\ndef f(x):\n result=0\n M=len(x)\n for i in range (x):\n k=0\n for j in range(i,M):\n if x[i]>x[j]:\n k=k+1\n result=result+k*mul(M-i-1)\n return result\n\nprint(f(P)-f(Q))\n', 'N,M=map(int,input().split())\nA=list(map(int,input().split()))\nB=[A[i]//2 for i in range(len(A))]\n\nfrom fractions import gcd \nx=B[0]\nfor i in range(1,N):\n x=(x*B[i])//gcd(x,B[i])\nlcm=x \nif all((lcm//b)%2==1 for b in B):\n Max=M//lcm\n if MaX%2==1:\n print((Max+1)//2)\n else:\n print((Max)//2)\nelse:\n print(0)\n', 'N,M=map(int,input().split())\nA=list(map(int,input().split()))\nB=[A[i]//2 for i in range(len(A))]\n\nimport math\nans=B[0]\nfor i in range(1,N):\n ans=math.gcd(ans,B[i])\nmul=B[0]//ans\nfor j in range(1,N):\n mul=mul*(B[j]//ans)\nlcm=ans*mul\n\nif all((lcm//b)%2==1 for b in B):\n Max=M//lcm\n if MaX%2==1:\n print((Max+1)//2)\n else:\n print((Max)//2)\nelse:\n print(0)\n', 'def f(A,N,k,x):\n C=[A[(i+k)%N]^x for i in range(N)]\n return C\n\nimport numpy as np\nN=int(input())\nA=list(map(int,input().split()))\nB=list(map(int,input().split()))\n\nM=max(A+B)\nMsup=2**(int(np.log2(M)+1))\n\nfor k in range(0,N):\n for x in range(0,Msup+1):\n if f(A,N,k,x)==B:\n print(k,"",x)\n', 'N=int(input())\nP=list(map(int,input().split()))\nQ=list(map(int,input().split()))\n\ndef mul(n):\n s=1\n for t in range(1,n+1):\n s=s*t\n return s\n\ndef f(x):\n result=0\n M=len(x)\n for i in range (x):\n k=0\n for j in range(i,M):\n if x[i]>x[j]:\n k=k+1\n result=result+k*mul(M-i-1)\n return result\n\nprint(abs(f(P)-f(Q)))\n', 'K,X=map(int,input().split())\nif K*500>=X:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s241631231', 's836215654', 's900746649', 's931892536', 's995261554', 's238887349']
[3064.0, 3064.0, 3064.0, 12448.0, 3064.0, 2940.0]
[17.0, 17.0, 18.0, 150.0, 17.0, 17.0]
[335, 316, 364, 297, 338, 76]
p02811
u333945892
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['from collections import defaultdict,deque\nimport sys,heapq,bisect,math,itertools,string,queue,copy,time,os\nsys.setrecursionlimit(10**8)\nINF = float(\'inf\')\nmod = 10**9+7\neps = 10**-7\ndef inp(): return int(sys.stdin.readline())\ndef inpl(): return list(map(int, sys.stdin.readline().split()))\ndef inpl_str(): return list(sys.stdin.readline().split())\n\n# In[]:\ndebug = os.getcwd()[0] == "C"\ndebug\n\n# In[]:\nif DEBUG:\n K,X = 2,900\nelse:\n K,X = inpl()\n\n# In[]:\nif K*500 >= X:\n print("Yes")\nelse:\n print("No")\n', 'from collections import defaultdict,deque\nimport sys,heapq,bisect,math,itertools,string,queue,copy,time\nsys.setrecursionlimit(10**8)\nINF = float(\'inf\')\nmod = 10**9+7\neps = 10**-7\ndef inp(): return int(sys.stdin.readline())\ndef inpl(): return list(map(int, sys.stdin.readline().split()))\ndef inpl_str(): return list(sys.stdin.readline().split())\n\nK,X = inpl()\nif K*500 >= X:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s900022714', 's090536356']
[4460.0, 4076.0]
[48.0, 33.0]
[514, 413]
p02811
u335281728
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x = map(int,input().split())\nK = 500*k\nif x <= k:\n print("Yes")\n\nelse:\n print("No")', 'k,x = map(int,input().split())\nK = 500*k\nif x > k:\n print("No")\n\nelse:\n print("Yes")', 'k,x = map(int,input().split())\nK = 500*k\nif x > K:\n print("No")\nelse:\n print("Yes")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s568715979', 's779201368', 's466041239']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[91, 90, 89]
p02811
u341267151
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['x,y=map(int,input().split())\nif 500*x>=y:\n print("yes")\nelse:\n print("no")', 'x,y=map(int,input().split())\nif 500*x>=y:\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s964380515', 's379846480']
[2940.0, 2940.0]
[17.0, 17.0]
[76, 76]
p02811
u343523553
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n,m = maps(int,input().split())\nif n*500>=m:\n print("Yes")\nelse:\n print("No")', 'n,m = map(int,input().split())\nif n*500>=m:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s608348012', 's502919576']
[2940.0, 2940.0]
[17.0, 17.0]
[79, 79]
p02811
u344959886
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['k,x=mpa(int,input().split())\nif 500*k >= x:\n print("Yes")\nelse:\n print("No")\n\n', 'k,x=map(int,input().split())\n\nif k*500>=x:\n print("Yes")\nelse:\n print("No")\n']
['Runtime Error', 'Accepted']
['s954050787', 's466980298']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 82]
p02811
u345132740
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X=input().split()\nif(int(K)*500>int(X)):\n print("yes")\nelse:\n print("no")', 'K,X=input().split()\nif(int(K)*500>=int(X)):\n print("Yes")\nelse:\n print("No")']
['Wrong Answer', 'Accepted']
['s832907120', 's156041214']
[2940.0, 2940.0]
[17.0, 17.0]
[77, 78]
p02811
u347237413
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['n = int(input())\ns = input()\ns = s[:n]\ncount = s.count("ABC")\nprint(count)', '[k, x] = [int(x) for x in input().split()]\nprint("Yes") if 500*k >= x else print("No")']
['Runtime Error', 'Accepted']
['s720371814', 's985592470']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 86]
p02811
u349444371
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
['K,X=map(int,input())\n\nif 500*K>=X:\n print("Yes")\nelse:\n print("No")', 'K,X=map(int,input().split())\n \nif 500*K>=X:\n print("Yes")\nelse:\n print("No")']
['Runtime Error', 'Accepted']
['s615402675', 's950313509']
[2940.0, 2940.0]
[17.0, 17.0]
[69, 78]
p02811
u357867755
2,000
1,048,576
Takahashi has K 500-yen coins. (Yen is the currency of Japan.) If these coins add up to X yen or more, print `Yes`; otherwise, print `No`.
["K, X = map(int, input().split())\nif 500*K >= X:\n print('YES')\nelse:\n print('NO')", "K, X = map(int, input().split())\nif 500*K >= X:\n print('YES')\nelse:\n print('NO')", "K, X = map(int, input().split())\nif 500*K >= X:\n print('Yes')\nelse:\n print('No')"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s119004451', 's593315656', 's798267450']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[86, 86, 86]