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 | u358254559 | 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()))\nif A[0] * 500 >= A[1]:\n print("Yes")\n else:\n print("No")', 'A = list(map(int, input().split()))\nif A[0] * 500 >= A[1]:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s583743153', 's783667989'] | [2940.0, 2940.0] | [17.0, 17.0] | [97, 93] |
p02811 | u362563655 | 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 2*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")\n'] | ['Wrong Answer', 'Accepted'] | ['s250448361', 's794976246'] | [3064.0, 2940.0] | [17.0, 17.0] | [79, 82] |
p02811 | u362771726 | 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 * x) >= K:\n print('Yes')\nelse:\n print('No')\n", "K, X = map(int, input().split())\n\nif (500 * x) >= K:\n print('Yes')\nelse:\n print(('No')\n", "K, X = map(int, input().split())\n\nif (500 * K) >= X:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s037248164', 's205088645', 's417303172'] | [2940.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0] | [92, 93, 92] |
p02811 | u363074342 | 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`. | ["\nK, X = input().strip().strip()\nsougaku = 500*K\nif sougaku >= X\n print('Yes')\n else\n print('No')", "\nK, X = input().strip().split()\nK, X = [int(K), int(X)]\nsougaku = 500*K\nif sougaku >= X:\n print('Yes')\n else:\n print('No')", "\nK, X = map(int, input(). split())\nsougaku = 500*K\nif sougaku >= X:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s551947324', 's825383650', 's829787770'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [105, 135, 107] |
p02811 | u366784601 | 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 int(k)*500 >= int(x):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s369624484', 's120564440'] | [2940.0, 2940.0] | [17.0, 17.0] | [71, 81] |
p02811 | u369039955 | 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 x % 500 == 0 and 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'] | ['s847696918', 's371706584'] | [2940.0, 2940.0] | [17.0, 18.0] | [92, 89] |
p02811 | u369630760 | 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(" "))\nif a * 500 >= b:\n print("yes")\nelse:\n print("no")\n', 'a,b = input().split()\nif int(a) * 500 >= int(b):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s754509102', 's485316179'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 87] |
p02811 | u369796672 | 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 500K >= X:\n \tprint('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'] | ['s984810989', 's350277531'] | [2940.0, 2940.0] | [17.0, 18.0] | [83, 82] |
p02811 | u373047809 | 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`. | ['print("Yes" if int(input()) * 500 >= int(input()) else "No")', 'K, X = map(int, input().split())\nprint("Yes" if K * 500 >= X else "No")'] | ['Runtime Error', 'Accepted'] | ['s640219448', 's668300504'] | [2940.0, 2940.0] | [17.0, 17.0] | [60, 71] |
p02811 | u373784804 | 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 is_much_money(num_of_coin, yen):\n if num_of_coin * 500 >= yen:\n return "Yes"\n else:\n return "No"\n\nif __name__ == "__main__":\n num_of_coin, yen = int(input().split())\n judgement = is_much_mony(num_of_coin, yen)\n print(judgement)', 'def is_much_money(num_of_coin, yen):\n if num_of_coin * 500 >= yen:\n return "Yes"\n else:\n return "No"\n \nif __name__ == "__main__":\n num_of_coin, yen = input().split()\n judgement = is_much_money(int(num_of_coin), int(yen))\n print(judgement)'] | ['Runtime Error', 'Accepted'] | ['s358709235', 's022407548'] | [2940.0, 2940.0] | [18.0, 17.0] | [248, 255] |
p02811 | u373958718 | 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'] | ['s842350343', 's034606356'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 81] |
p02811 | u374815848 | 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 sys import stdin\n\nline = stdin.readline()\nk, x = line.rstrip().split()\n\nif k * 500 >= x:\n print('Yes')\nelse:\n print('No')", "from sys import stdin\n\nline = stdin.readline()\ninput = [int(x) for x in line.rstrip().split()]\n\nif input[0] * 500 >= input[1]:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s331773513', 's381704756'] | [2940.0, 2940.0] | [17.0, 17.0] | [132, 165] |
p02811 | u377370946 | 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'] | ['s771431598', 's761849539'] | [2940.0, 2940.0] | [17.0, 19.0] | [76, 76] |
p02811 | u378782369 | 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 \nif 500 * int(K) >= int(X):\n print("YES")\nelse:\n print("NO")', 'N = input()\nS = input()\nABCCount = 0\n\nfor n in range(int(N)-2):\n if S[n] == "A" and S[n+1] == "B" and S[n+2] == "C":\n ABCCount = ABCCount + 1\n\nprint(ABCCount)', 'K, X = input().split()\n\ntotal = int(K) * 500\n\nif total >= int(X):\n print("YES")\nelse:\n print("NO")', 'K, X = input().split()\n\nif 500 * int(K) >= X:\n print("YES")\nelse:\n print("NO")', 'K, X = input().split()\n\ntotal = int(K) * 500\n\nif total >= int(X):\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s425492157', 's593878370', 's645877826', 's968655171', 's841402396'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [86, 169, 100, 80, 100] |
p02811 | u379142263 | 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<500*k:\n print("No")\nelse:\n print("Yes")', 'k,x = map(int,input().split())\nif 500*k>=x:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s261345086', 's107681554'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 82] |
p02811 | u379629675 | 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 -*-\nimport sys\nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nwrite = sys.stdout.write\ndef ii(): return int(readline())\ndef mi(): return map(int, readline().rstrip().split())\ndef li(): return list(readline().rstrip())\ndef lmi(): return list(map(int, readline().rstrip().split()))\ndef end(*arg): print(*arg); sys.exit()\n# template\n\n\ndef main():\n k, x = mi()\n if 500 * k >= x:\n print("YES")\n else:\n print("NO")\n return\n\n\nif __name__ == \'__main__\':\n main()\n', '# -*- coding: utf-8 -*-\nimport sys\nread = sys.stdin.buffer.read\nreadline = sys.stdin.buffer.readline\nwrite = sys.stdout.write\ndef ii(): return int(readline())\ndef mi(): return map(int, readline().rstrip().split())\ndef li(): return list(readline().rstrip())\ndef lmi(): return list(map(int, readline().rstrip().split()))\ndef end(*arg): print(*arg); sys.exit()\n# template\n\n\ndef main():\n k, x = mi()\n if 500 * k >= x:\n print("Yes")\n else:\n print("No")\n return\n\n\nif __name__ == \'__main__\':\n main()\n'] | ['Wrong Answer', 'Accepted'] | ['s536444300', 's541650079'] | [3064.0, 3064.0] | [18.0, 17.0] | [522, 522] |
p02811 | u382905693 | 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 kx = list(map(int, input().split()))\n if kx[1] >= 500*kx[0]:\n print("Yes")\n else:\n print("No")\n\nif __name__ == "__main__":\n main()', 'def main():\n kx = list(map(int, input().split()))\n if kx[1] <= 500*kx[0]:\n print("Yes")\n else:\n print("No")\n\nif __name__ == "__main__":\n main()'] | ['Wrong Answer', 'Accepted'] | ['s991694379', 's798014719'] | [2940.0, 2940.0] | [17.0, 17.0] | [169, 169] |
p02811 | u383025592 | 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")'] | ['Wrong Answer', 'Accepted'] | ['s539491849', 's818771536'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 90] |
p02811 | u383450070 | 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())\nif 500 * a >= b:\n print("Yes")\nelse\nprint("No")', 'a,b=map(int,input().split())\nif 500 * a >= b:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s956401359', 's606824698'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 80] |
p02811 | u389122588 | 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", "K, X = map(int, input().split())\n\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s466402115', 's695046916'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 90] |
p02811 | u390901183 | 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 = mao(int, inout().split())\nif 500*k < x: print("No")\nelse: print("Yes")\n ', 'k, x = map(int, input().split())\nif 500*k < x: print("No")\nelse: print("Yes")'] | ['Runtime Error', 'Accepted'] | ['s269362002', 's981042857'] | [2940.0, 2940.0] | [17.0, 17.0] | [80, 77] |
p02811 | u393512980 | 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 = input()\nprint(input().count("ABC"))\n', '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")\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s047622162', 's510101048', 's641873762'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [40, 82, 83] |
p02811 | u402533525 | 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())\n\nif 500*x >= k:\n print('YES')\n \n else:\n print('NO')\n \n ", "x,k = map(int,input().split())\n\nif 500*x >= k:\n print('YES')\n \nelse:\n print('NO')\n \n \n", "X,K = map(int,input().split())\n\nif 500*X >= K:\n print('Yes')\n \nelse:\n print('No')"] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s071699906', 's337915524', 's265451151'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [98, 97, 86] |
p02811 | u403547519 | 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())\nc=int(500*a-b)\nif c >0:\n print(Yes)\nelse:\n print(No)', 'a,b=map(int,input().split())\nc = int(500*a-b)\nif c >=0:\n print("Yes")\nelse:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s881677546', 's697321571'] | [2940.0, 2940.0] | [17.0, 20.0] | [83, 91] |
p02811 | u405832869 | 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(input().split())\nif K*500 > X-1:\n print('Yes')\nelse:\n print('No')", "K,X = map(int,input().split())\nif K*500 > X-1:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s061121811', 's331372272'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 81] |
p02811 | u406405116 | 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("")\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)\nif 500 * k >= x:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s008459425', 's010196043'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 99] |
p02811 | u411255472 | 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("Yes" if x >= k * 500 else "No")', 'k, x = map(int, input().split())\nprint("Yes" if k * 500 >= x else "No")'] | ['Wrong Answer', 'Accepted'] | ['s012860381', 's688557101'] | [2940.0, 2940.0] | [18.0, 17.0] | [71, 71] |
p02811 | u412760429 | 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 __name__ == "__main__":\n x = int(input())\n m, n = map(int, input().split())\n if m * 500 >= n:\n print("Yes")\n else:\n print("No")\n', 'if __name__ == "__main__":\n m, n = map(int, input().split())\n if m * 500 >= n:\n print("Yes")\n else:\n print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s384378340', 's668484875'] | [2940.0, 2940.0] | [17.0, 17.0] | [157, 136] |
p02811 | u418826171 | 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())\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'] | ['s962790835', 's726044617'] | [9076.0, 9144.0] | [24.0, 28.0] | [81, 85] |
p02811 | u419963262 | 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")', 'K,X= 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'] | ['s075302535', 's786301453', 's622397070'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [68, 68, 77] |
p02811 | u421499233 | 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')\n", "k, x = map(int, input().split())\nif 500*k >= x:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s874354679', 's647573609'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 87] |
p02811 | u423964598 | 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\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')\n", "K,X= map(int,input().split())\n\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s851913898', 's307278456'] | [2940.0, 2940.0] | [17.0, 17.0] | [78, 87] |
p02811 | u426205961 | 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`. | ['b, c = list(map(int, input().split()))\nif 500 * b => c :\n print("Yes")\nelse:\n print("No")', 'b, c = list(map(int, input().split()))\nif 500 * b >= c :\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s946279412', 's438135899'] | [8780.0, 8848.0] | [22.0, 29.0] | [95, 95] |
p02811 | u428341537 | 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()\nprint (t+s)', "a,s=map(int, input().split())\n \nif 500*a>=s:\n print('Yes') \nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s717314225', 's781095501'] | [9072.0, 9144.0] | [24.0, 25.0] | [31, 82] |
p02811 | u431347811 | 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`. | ['list = [s for s in input().split()]\nif list[0] * 500 >= list[1]:\n print("Yes")\nelse:\n\tprint("No")', 'list = [s for s in input().split()]\nif int(list[0]) * 500 >= int(list[1]):\n print("Yes")\nelse:\n\tprint("No")'] | ['Wrong Answer', 'Accepted'] | ['s348793365', 's829993637'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 108] |
p02811 | u432343843 | 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')\n\n", "k, x = map(int, input().split()) \n\nif (k*500 >= x):\n print('Yes')\nelse:\n print('No')\n\n"] | ['Runtime Error', 'Accepted'] | ['s748619424', 's384388966'] | [2940.0, 2940.0] | [17.0, 17.0] | [122, 112] |
p02811 | u432586856 | 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 = input()\nc,s = hoge.sprit()\n\nif x * 500 >= s:\n res = "Yes"\nelse:\n res = "No"\n \nprint(res)', 'import fractions\nfrom functools import reduce\n\ndef lcm_base(x, y):\n return (x * y) // fractions.gcd(x, y)\n\ndef lcm_list(numbers):\n\tn = len(numbers)\n\t#print(numbers)\n #lcm_tmp = (numbers[0] * numbers[1]) // fractions.gcd(numbers[0], numbers[1])\n\tlcm_tmp = lcm_base(numbers[0],numbers[1])\n\tfor i in range(2,n):\n\t\tlcm_tmp = lcm_base(numbers[i],lcm_tmp)\n\treturn lcm_tmp\n\nn,m = map(int,input().split())\nt = list(map(int,input().split()))\n#print(t)\n#lcm = (a * b) // fractions.gcd(a, b)\nlcm = lcm_list(t)\nx = m // (lcm /2 )\ny = m // (lcm)\nprint(int(x-y))', "# 100 points\nimport math\n# -*- coding: utf-8 -*-\n\nn, k = map(int, input().split())\nif n*500 >= k:\n \n print('YES')\nelse:\n \n print('NO')# 100 points\n", "# 100 points\n# -*- coding: utf-8 -*-\n\nk, x = map(int, input().split())\nif k*500 >= x:\n \n print('Yes')\nelse:\n \n print('No')# 100 points\n"] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s039791008', 's712562155', 's854002063', 's817342835'] | [2940.0, 5048.0, 2940.0, 2940.0] | [17.0, 35.0, 17.0, 17.0] | [98, 554, 216, 204] |
p02811 | u433147299 | 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(k, x)\n\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')", "k, x = map(int, input().split())\n\nif k * 500 >= x:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s130449495', 's510191738', 's490897869'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [98, 85, 85] |
p02811 | u434872492 | 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())\na = 500 * K\nif a > X:\n print("Yes")\n else:\n print("No")\n ', 'K, X = map(int,input().split())\na = 500 * K\nif a >= X:\n print("Yes")\nelse:\n print("No")\n '] | ['Runtime Error', 'Accepted'] | ['s349377859', 's603648974'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 92] |
p02811 | u435001241 | 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("Yes") if K*500 >= X else print("No")', 'K, X = (int, input().split())\nprint("Yes") if 500*K>X else print("No")', 'K, X = map(int, input().split())\nprint("Yes") if 500 * K >= X else print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s329104346', 's926474185', 's007880952'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [78, 70, 78] |
p02811 | u448720391 | 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'] | ['s376697747', 's354372218'] | [2940.0, 2940.0] | [17.0, 17.0] | [77, 78] |
p02811 | u449352114 | 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`. | ['\nK= [ ]\nK= int(input())\n\nX= [ ]\nX= int(input())\n\nif 500*K<X:\n print("No")\nelse:\n print("Yes")', '\n\nK, X= input().split()\n\nif 500*K<X:\n print("No")\nelif 500*K==X:\n print("Yes")\nelif 500*K>X:\n print("Yes")', '\nK= [ ]\nK= int(input())\n\nX= [ ]\nX= int(input())\n\nif 500*K<X:\n print("No")\nelif 500*K==X:\n print("Yes")\nelif 500*K>X:\n print("Yes")', '\nK= int(input())\n\nX= int(input())\n\nif 500*K<X:\n print("No")\nelse:\n print("Yes")', '\n\nK, X= map(int, input().split())\n\nif 500*K<X:\n print("No")\nelse:\n print("Yes")'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s069464542', 's300920803', 's349997480', 's598000973', 's858577882'] | [9096.0, 9052.0, 9172.0, 9160.0, 9096.0] | [23.0, 27.0, 20.0, 19.0, 23.0] | [149, 165, 189, 135, 135] |
p02811 | u450904670 | 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()))\nprint("Yes" if 500*k - x >= 0 "No")', 'k,x = list(map(int, input().split()))\nprint("Yes" if 500*k - x >= 0 else "No")'] | ['Runtime Error', 'Accepted'] | ['s695892973', 's054701367'] | [2940.0, 2940.0] | [17.0, 17.0] | [73, 78] |
p02811 | u456107000 | 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())\nif(a * 500 >= b){\n print("Yes")\n} else {\n print("No")\n}', 'N=int(input())\nS=input()\ncount=0\nfor i in range(N):\n if (S[i:i+3]=="ABC"):\n count=count+1\nprint(count)', 'a,b= map(int , input().split())\nif(a*500>=b):\n print("Yes")\nelse:\n print("No")\n '] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s442934854', 's454284418', 's665474710'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [90, 112, 83] |
p02811 | u460386402 | 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):\n if i<=48:\n if s[i]=='A' and s[i+1]=='B' and s[i+2]=='C':\n count+=1\n \nprint(count)", "k,x=map(int,input().split())\nk=k*500\nif k>=x:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s911141778', 's478692314'] | [2940.0, 2940.0] | [18.0, 18.0] | [152, 80] |
p02811 | u460553416 | 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())\nif (a * 500) < b:\n print("Yes")\nelse:\n print("No")\n \n', 'a,b=map(int,input().split())\nif (a * 500) <= b:\n print("Yes")\nelse:\n print("No")\n \n\n', 'a,b=map(int,input().split())\nif (a * 500) < b:\n print("No")\nelse:\n print("Yes")\n \n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s618303090', 's686967594', 's957989816'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [92, 94, 92] |
p02811 | u463602788 | 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 = [x for x in input().split()]\nprint('Yes') if x[0]*500>x[1] else print('No')", "x = [int(x) for x in input().split()]\nprint('Yes') if x[0]*500>=x[1] else print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s593093473', 's790013529'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 86] |
p02811 | u464627439 | 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\nimport math\nfrom functools import reduce\n\n# for i, j in enumerate(a):\n\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\ndef gcd(*numbers):\n return reduce(math.gcd, numbers)\n\ndef gcd_list(numbers):\n return reduce(math.gcd, numbers)\n\nkouyakusuu = gcd_list(a)\nkoubaisuu = lcm_list(a)\n\nbuf = 1\nfor i, j in enumerate(a):\n buf *= j / kouyakusuu\n\nans = (m - buf) // koubaisuu + 1\n\nprint(int(ans))\n', 'k, x = map(int, input().split())\n\nif 500*k >= x:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s816512071', 's680808504'] | [3064.0, 2940.0] | [18.0, 17.0] | [602, 87] |
p02811 | u465652095 | 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'] | ['s701537532', 's837739395'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 88] |
p02811 | u466746480 | 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 ('Yes' if 500 * K =< X else 'No')", "K,X=map(int,input( ).split( ))\nprint ('Yes' if 500 * K => X else 'No')\n", "K,X = map(int,input().split())\na = 500 * K\nif (a => X):\n print ('Yes')\nelse:\n print ('No')\n", "a = input().split()\nprint(a)\nprint(a[0])\nK = int(a[0])\nX = int(a[1])\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')", "K,X = map(int,input().split())\na = 500 * K\nprint ('Yes' if a => X else 'No')", "K,X=int(input( ))\nprint ('Yes' if 500 * K => X else 'No')", "K = int(input())\nX = int(input())\nprint ('Yes' if 500 * K => X else 'No')", "a = input().split()\nK = int(a[0])\nX = int(a[1])\nif 500 * K >= X:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s033078392', 's284617738', 's395205495', 's532024688', 's558428122', 's618608326', 's875598214', 's355967253'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 3060.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [68, 71, 97, 124, 76, 57, 73, 104] |
p02811 | u469363658 | 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(x) for x in input().split())\n\nif a*500 >= b:\n print("YES")\nelse:\n print("NO")', 'a,b=(int(x) for x in input().split())\n\nif a*500 >= b:\n print("YES")\nelse:\n print("NO")', 'a = [3]\na = input()\n\nif a[0]*500 >= a[2]:\n print("YES")\nelse:\n print("NO")', 'a,b=(int(x) for x in input().split())\n\nif a*500 > b:\n print("YES")\nelse:\n print("NO")', 'K,X=(int(x) for x in input().split())\n \nif K*500 >= X:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s010317369', 's524121254', 's640701957', 's917280218', 's723313141'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 17.0, 18.0] | [94, 92, 82, 91, 93] |
p02811 | u474925961 | 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 numpy as np\n \nif sys.platform ==\'ios\':\n sys.stdin=open(\'input_file.txt\')\n \nk,x=map(int,input(),.split())\n\nif k*500>=x:\n\tprint("Yes")\nelse:\n\tprint("No")', 'import sys\nimport numpy as np\n \nif sys.platform ==\'ios\':\n sys.stdin=open(\'input_file.txt\')\n \nk,x=map(int,input().split())\n\nif k*500>=x:\n\tprint("Yes")\nelse:\n\tprint("No")'] | ['Runtime Error', 'Accepted'] | ['s580139103', 's844289573'] | [2940.0, 12388.0] | [17.0, 148.0] | [172, 171] |
p02811 | u475598608 | 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=map(int,input().split())\nif 500*K>=X:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s229076077', 's073717655'] | [2940.0, 2940.0] | [17.0, 17.0] | [76, 80] |
p02811 | u490623664 | 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 500*k >= x:\n print('Yes')\nelse:\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'] | ['s523720615', 's980430952', 's985899288'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [69, 69, 87] |
p02811 | u497952650 | 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 numpy as np \nimport sys\n\ndef gcd(a,b):\n while b!=0:\n a,b=b,a%b\n return a\n\ndef lcm(a, b):\n return (a * b)//gcd(a,b)\n\nN,M = map(int,input().split())\na = list(map(int,input().split()))\n\nA = np.array(a)\n\n##while np.sum(A%2) == 0:\n ## A = A//2\n\nif np.sum(A%2) != len(A):\n print("0")\n sys.exit()\n \ntmp = 1##LCM\n\nfor i in range(N):\n tmp = lcm(tmp,a[i]//2)\n\nif tmp > M:\n print("0")\n\nelse:\n print((M//tmp+1)//2)', 'K,X = map(int,input().split())\n\n\nif 500*K>=X:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s081483583', 's890570621'] | [12504.0, 2940.0] | [148.0, 17.0] | [445, 84] |
p02811 | u498575211 | 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 = list(map(int, input().split())\nif a * 500 < b :\n print('No')\nelse:\n print('Yes')\n", "a, b = list(map(int, input().split()))\nif a * 500 < b :\n print('No')\nelse:\n print('Yes')\n"] | ['Runtime Error', 'Accepted'] | ['s217093301', 's585045931'] | [2940.0, 2940.0] | [17.0, 17.0] | [91, 112] |
p02811 | u498847144 | 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("No")\nelse:\n print("Yes")\n', 'k = input()\nx = input()\n\nif k*500 < x:\n print("no")\nelse:\n print("yes")\n', 'k = int(input())\nx = int(input())\n\nif k*500 < x:\n print("No")\nelse:\n print("Yes")\n', 'k,x=(int(x) for x in input().split())\n\nif k*500 < x:\n print("No")\nelse:\n print("Yes")\n'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s012709179', 's336659175', 's417450655', 's324984068'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [88, 78, 88, 92] |
p02811 | u500415792 | 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())\n\npermu = [i+1 for i in range(N)]\ns = 0\nflag = False\n\nP = tuple([int(i) for i in input().split(" ")])\nQ = tuple([int(i) for i in input().split(" ")])\n\nfor i, value in enumerate(itertools.permutations(permu)):\n \n\n if value == P or value == Q:\n # print(i)\n if flag:\n s -= i\n else:\n s += i\n flag = True\n\nprint(abs(s))\n', 'K, X = [int(i) for i in input().split(" ")]\n\nprint("Yes" if 500 * K >= X else "No")'] | ['Runtime Error', 'Accepted'] | ['s894552474', 's784240232'] | [3064.0, 2940.0] | [17.0, 17.0] | [409, 83] |
p02811 | u503221936 | 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())\nK = int(input())\nif N * 500 >= K:\n print("Yes")\nelse:\n print("No")', 'N = input()\nK = input()\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")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s507176538', 's834144309', 's628815872'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [85, 75, 83] |
p02811 | u509392332 | 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 * X >= X:\n print('Yes')\nelse:\n print('No')\n", "K, X = map(int, input().split())\n\nif K * 500 >= X:\n print('Yes')\n\nelse:\n print('No')"] | ['Runtime Error', 'Accepted'] | ['s059493601', 's705312448'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 90] |
p02811 | u514118270 | 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('Yes')\nelse:\n print('No')", "k,x = list(map(int,input().split()))\nif 500 * k >= x:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Accepted'] | ['s047309964', 's669361316'] | [2940.0, 2940.0] | [17.0, 17.0] | [89, 91] |
p02811 | u514894322 | 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('Yes' if x/k<=4 else 'No')", "k,x = map(int,input().split())\nprint('Yes' if x/k<=500 else 'No')"] | ['Wrong Answer', 'Accepted'] | ['s327888366', 's068942567'] | [2940.0, 2940.0] | [17.0, 17.0] | [63, 65] |
p02811 | u518929058 | 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))\nprint('Yes') if k *500 <= x else print('No')", "k, x = list(map(int, input().split()))\nprint('Yes') if k *500 >= x else print('No')"] | ['Runtime Error', 'Accepted'] | ['s456126054', 's127803428'] | [8956.0, 9020.0] | [27.0, 28.0] | [81, 83] |
p02811 | u520276780 | 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`. | ['\nn = int(input())\nc = list(map(int, input().split( )))\n\nc.sort()\n\n\nsm = 0\nfor i in range(n):\n sm += (n-i)*c[i]\n\nsm *= pow(2,2*n-2,10**9+7)\n\nprint(sm)\n\nk,x = map(int, input().split( ))\n\nif 500*k>=x:\n print("Yes")\nelse:\n print("No")', '\nk,x = map(int, input().split( ))\n\nif 500*k>=x:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s321093238', 's170080863'] | [3064.0, 2940.0] | [17.0, 17.0] | [316, 86] |
p02811 | u522293645 | 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 (k * 500) >= x :\n print("yes")\nelse:\n print("no")\n', "k,x = map(int,input().split())\n\nif (k * 500) >= x :\n print('yes')\nelse:\n print('no')\n", 'k,x = map(int,input().split())\n\nif (k * 500) >= x :\n print("yes")\nelse:\n print("no")', "k,x = map(int,input().split())\nsum = k * 500\n\nif sum >= x :\n print('yes')\nelse:\n print('no')\n", "k,x = map(int,input().split())\nsum = k * 500\n\nif sum >= x :\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s075852325', 's440303778', 's471757799', 's993950785', 's867891986'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [91, 91, 90, 99, 98] |
p02811 | u524765246 | 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`. | ["lst = input().split()\nif 500*lst[0] >= lst[1]:\n print('Yes')\nelse:\n print('No')", "lst = list(map(int, input().split()))\nif 500*lst[0] >= lst[1]:\n print('Yes') \nelse:\n print('No') "] | ['Wrong Answer', 'Accepted'] | ['s518096933', 's318900410'] | [2940.0, 2940.0] | [17.0, 17.0] | [85, 103] |
p02811 | u525796732 | 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\nstdin=sys.stdin\n\nns=lambda:stdin.readline().rstrip()\nni=lambda:int(stdin.readline().rstrip())\nnm=lambda:map(int,stdin.readline().rstrip())\nnl=lambda:list(map(int,stdin,readline().rstrip()))\n\nK,X=nm()\nprint('Yes' if X<=500*K else 'No')", "import sys\nstdin = sys.stdin\n\nns = lambda: stdin.readline().rstrip()\nni = lambda: int(stdin.readline().rstrip())\nnm = lambda: map(int, stdin.readline().split())\nnl = lambda: list(map(int, stdin.readline().split()))\n\nK,X=nm()\nprint('Yes' if X<=500*K else 'No')"] | ['Runtime Error', 'Accepted'] | ['s859901447', 's042826921'] | [3060.0, 3060.0] | [17.0, 17.0] | [245, 259] |
p02811 | u527616458 | 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 = list(map(int, input().split()))\nif a*500>=b:\n print("Yes)\nelse:\n print("No")', 'a,b = list(map(int, input().split()))\nif a*500>=b:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s942141081', 's294996521'] | [2940.0, 2940.0] | [17.0, 18.0] | [84, 85] |
p02811 | u527652459 | 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 500 * n >= k:print("Yes")\n else:print("No")', 'n,k=map(int,input().split())\nif 500 * n >= k:print("Yes")\nelse:print("No")\n'] | ['Runtime Error', 'Accepted'] | ['s406869400', 's848590408'] | [8956.0, 9088.0] | [20.0, 28.0] | [76, 75] |
p02811 | u529500825 | 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`. | ['Ken, New = map(int, input().split())\nif (Ken * 500) - New >= 0:\n print("Yes")\nelif (Ken * 500) - New < 0:\n print("No")\nelse:\n ', 'huga = list(map(int, input().split()))\nif huga[0]*500 - huga[1] >= 0:\n print(Yes)\nelif huga[0]*500 - huga[1] > 0:\n print(No)\nelse:\n ', 'Ken, New = map(int, input().split())\nif (Ken * 500) - New >= 0:\n print("Yes")\nelif (Ken * 500) - New < 0:\n print("No")\nelse:\n print("")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s127052770', 's883053934', 's043125019'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [135, 141, 144] |
p02811 | u530786533 | 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\ncount = 0\nfor i in range(0, len(s)-2):\n if(s[i] == 'A' and s[i+1] == 'B' and s[i+2] == 'C'):\n count += 1\nprint(count)\n", "k, x = map(int, input().split())\n\nif (500 * k >= x):\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Accepted'] | ['s288174060', 's968292255'] | [2940.0, 2940.0] | [17.0, 17.0] | [155, 90] |
p02811 | u530883476 | 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 = int(input())\nc = a*500\nif c>=b:\n print("Yes")\nelse:\n print("No")', 'a = int(input()) * 500\nb = int(input())\nif a>=b:\n print("Yes")\nelse:\n print("No")\n', 'a,b = map(int,input().split())\nc = a*500\nif c>=b:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s162957903', 's857387942', 's319072075'] | [2940.0, 2940.0, 2940.0] | [18.0, 20.0, 17.0] | [87, 84, 84] |
p02811 | u531423254 | 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`. | ['b, c = map(int, input().split())\nresult = int(b) * 500\nif c < result:\n print("yes")\nelse:\n print(\'no\')\n', 'b, c = map(int, input().split())\nresult = b * 500\nif c < result:\n print("Yes")\nelif c == result:\n print("Yes")\nelse:\n print("No")\n'] | ['Wrong Answer', 'Accepted'] | ['s460483345', 's770299931'] | [2940.0, 2940.0] | [17.0, 17.0] | [109, 139] |
p02811 | u539639881 | 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`. | ['yen = map(int, input().slice(" "))\nif yen[0] * 500 >= yen[1]:\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'] | ['s407806391', 's028540526'] | [2940.0, 2940.0] | [17.0, 17.0] | [100, 88] |
p02811 | u540698208 | 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")', 'k, x = map(int, input().split())\n\nprint("Yes" if 500*k >= x else "No")'] | ['Runtime Error', 'Accepted'] | ['s840648420', 's489708339'] | [2940.0, 2940.0] | [17.0, 17.0] | [62, 70] |
p02811 | u541921833 | 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`. | ["abc = 'ABC'\nN = int(input().rstrip())\nS = input().rstrip()\nret = 0\nif N == 3 and S == abc:\n ret = 1\nelse:\n for i in range(N - len(abc)):\n if abc == S[i:i+3]:\n ret += 1\nprint(ret)\n", "abc = 'ABC'\nN = int(input().rstrip())\nS = input().rstrip()\nret = 0\nif len(S) == 3 and S == 'ABC':\n ret = 1\nelse:\n for i in range(N - len(abc)):\n if 'ABC' == S[i:i + 3]:\n ret += 1\nprint(ret)\n", "K, X = map(int, input().rstrip().split())\nret = 'Yes' if K*500 >= X else 'No'\nprint(ret)"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s195509354', 's978833571', 's001368173'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [203, 214, 89] |
p02811 | u543921019 | 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 math\n\ndef gcd(a, b):\n\tif b == 0:\n\t\treturn a\n\telse:\n\t\treturn gcd(b, a % b)\n\ndef lcm(a, b):\n\treturn (a * b) // gcd(a, b)\n\nn, m = map(int, input().split())\na = [int(x) for x in input().split()]\ng = a[0]\nfor i in range(n):\n\tg = lcm(g, a[i])\nwhile g % 2 == 0:\n\tg //= 2\n\nrb = m // g\nif rb % 2 == 0:\n\tprint(rb // 2)\nelse:\n\tprint(rb // 2 + 1)', "k, x = map(int, input().split())\nans = 'Yes' if 500 * k >= x else 'No'\nprint(ans)"] | ['Runtime Error', 'Accepted'] | ['s010186693', 's224750170'] | [3064.0, 2940.0] | [18.0, 17.0] | [342, 81] |
p02811 | u544212192 | 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()\nif int(K)*500>=int(X):\n print('Yes')\nelse:\n print('No')\n", "K,X=input().split()\nif int(K)*500>=int(X):\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Accepted'] | ['s866151088', 's364980375'] | [2940.0, 2940.0] | [17.0, 17.0] | [82, 82] |
p02811 | u550535134 | 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("Yes" if 500*K > = 2000 else "No")', 'K, X = map(int, input().split())\nprint("Yes" if 500*K > = X else "No")\n', 'K, X = map(int, input().split())\nprint("Yes" if 500*K >= X else "No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s603572619', 's937236177', 's231629833'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [73, 71, 69] |
p02811 | u550708243 | 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()]\nprint("Yes" if 500*K>=X else "No"', 'K, X = [int(i) for i in input().split()]\nprint("Yes" if 500*K>=X else "No")'] | ['Runtime Error', 'Accepted'] | ['s823483458', 's680936689'] | [2940.0, 2940.0] | [17.0, 17.0] | [74, 75] |
p02811 | u555558586 | 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')\n exit()\nelse:\n print('no')\n exit()\n", 'import math\nimport fraction\nfrom functools import reduce\nN,M=map(int,input().split())\nA=list(map(int,input().split()))\ndef lcm_base(x, y):\n return (x * y) // fraction.gcd(x, y)\ndef lcm(*numbers):\n return reduce(lcm_base, numbers, 1)\nsaisyou = lcm(*A)\nkosuu = math.ceil(M/saisyou)\nprint(kosuu)', "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', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s167161356', 's345821460', 's684289106', 's999856179', 's288033418'] | [2940.0, 3060.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 19.0, 17.0] | [107, 298, 85, 85, 84] |
p02811 | u557565572 | 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 math\n\n# import heapq\n# from copy import deepcopy\n# from collections import deque\n# from collections import Counter\n# from itertools import accumulate\nfrom itertools import permutations\n# import numpy as np\n\n\n# k,x = map(int, input().split())\n\nn = int(input())\np = list(map(int, input().split()))\nq = list(map(int, input().split()))\nm = [i + 1 for i in range(n)]\nc = 0\nfor i in permutations(m):\n c += 1\n # print(i)\n if list(i) == p:\n a = c\n if list(i) == q:\n b = c\nprint(abs(a - b))\n', '# import math\n\n# import heapq\n# from copy import deepcopy\n# from collections import deque\n# from collections import Counter\n# from itertools import accumulate\n# from itertools import permutations\n# import numpy as np\n\n\n# k,x = map(int, input().split())\n\nn = int(input())\np = list(map(int, input().split()))\nq = list(map(int, input().split()))\nm = [i + 1 for i in range(n)]\nc = 0\nfor i in permutations(m):\n c += 1\n # print(i)\n if list(i) == p:\n a = c\n if list(i) == q:\n b = c\nprint(abs(a - b))\n', "# import math\n\n# import heapq\n# from collections import deque\n# import numpy as np\n\nk,x = map(int, input().split())\n# n = int(input())\n# a = list(map(int,input().split()))\nans = 'No'\nif 500 * k >= x : ans = 'Yes'\nprint(ans)"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s635113173', 's994277577', 's825925253'] | [3060.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [532, 534, 238] |
p02811 | u558494840 | 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, y = map(int, input().split())\n\nif k*500 <= y:\n\tprint("Yes")\nelse:\n\tprint("No")', 'k, y = map(int, input().split())\n\nif k*500 >= y:\n\tprint("Yes")\nelse:\n\tprint("No")'] | ['Wrong Answer', 'Accepted'] | ['s032277132', 's118644037'] | [2940.0, 2940.0] | [17.0, 17.0] | [81, 81] |
p02811 | u563326528 | 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())\nmoney = 500 * a\nif money <= b:\n print('Yes')\nelse:\n print('No')", "a, b = map(int, input().split())\nmoney = 500 * a\nif money >= b:\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s014764490', 's410040928'] | [2940.0, 2940.0] | [17.0, 17.0] | [98, 98] |
p02811 | u563676207 | 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\nK, X = map(int, input().split())\n\n# output\nprint("YES" if 500*K >= X else "NO")\n', '# input\nK, X = map(int, input().split())\n\n# output\nprint("Yes" if 500*K >= X else "No")\n'] | ['Wrong Answer', 'Accepted'] | ['s993000998', 's774493613'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 88] |
p02811 | u566297428 | 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 = int(input())\nP = list(map(int, input().split()))\nQ = list(map(int, input().split()))\n\nans = []\nl = range(1, N + 1)\nimport itertools\n\n\nfor v in itertools.permutations(l, N):\n if list(v) == P:\n a = v.index(P)\n \n if list(v) == Q:\n b = v.index(Q) \n \n\nprint(abs(b - a))\n', "K,X = map(int,input().split())\n\nif 500*K => X:\n print('Yes')\nelse:\n print('No')\n", "K,X = map(int,input().split())\n\nif 500*K >= X:\n print('Yes')\nelse:\n print('No')\n"] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s005892099', 's117823632', 's598176686', 's113901436'] | [2940.0, 3060.0, 2940.0, 3064.0] | [17.0, 17.0, 21.0, 17.0] | [81, 296, 82, 82] |
p02811 | u566321790 | 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 k*500==x else print('No')", "k, x = map(int, input().split())\n\nif k*500==x:\n print('Yes')\nelse:\n print('No')", "k, x = map(int, input().split())\n\nprint('Yes') if k*500>=x else print('No')"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s197803154', 's926395007', 's348836785'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [75, 81, 75] |
p02811 | u567664824 | 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()), int(input())\nprint ("yes") if k*500 >= x else ("no")', 'K = int(input("Enter K: "))\nX = int(input("Enter X: "))\nif K*500 >= X:\n print("yes")\nelse:\n print("no")', 'k, x = map(int, raw_input().split())\nif k*500 >= x:\n print("yes")\nelse: \n print("no")', 'k, x = input(), input()\nprint ("yes") if k*500 >= x else ("no")', 'k, x = input().split()\nif int(k)*500 >= int(x):\n\tprint("Yes")\nelse:\n\tprint("No")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s206966193', 's491316919', 's651656495', 's984273303', 's542357798'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0] | [73, 105, 87, 63, 80] |
p02811 | u569853645 | 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(x) for x in input().split())\n\nif k*500 >= x :\n\tprint(Yes)\nelse:\n\tPrint(No)', "k, x = (int(x) for x in input().split())\n\nif k*500 >= x :\n\tprint('Yes')\t\nelse:\n\tprint('No')"] | ['Runtime Error', 'Accepted'] | ['s985499685', 's886248230'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 91] |
p02811 | u571608999 | 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`. | ['ip = input().split()\nn = ip[0]\nk = ip[1]\nif n * 500 >= k:\n print("Yes")\nelse:\n print("No")', 'ip = input().split()\nn = int(ip[0])\nk = int(ip[1])\nif n * 500 >= k:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s826099804', 's576140077'] | [2940.0, 2940.0] | [17.0, 17.0] | [96, 106] |
p02811 | u571867512 | 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')\n", "K, X = map(int,input().split())\nif 500*K >= X:\n print('Yes')\nelse:\n print('No')\n"] | ['Wrong Answer', 'Accepted'] | ['s501325240', 's605195391'] | [2940.0, 2940.0] | [18.0, 17.0] | [86, 86] |
p02811 | u572373398 | 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\nn = k * 500\n\nif n = > x:\n print('Yes')\nelse:\n print('No')", "k, x = map(int, input().split())\n\nn = k * 500\n\nif n => x:\n print('Yes')\nelse:\n print('No')", "k, x = map(int, input().split())\n\nn = k * 500\n\nif n >= x:\n print('Yes')\nelse:\n print('No')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s231691476', 's540978607', 's247535119'] | [3188.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [93, 92, 92] |
p02811 | u575101291 | 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'] | ['s517404645', 's046731575'] | [2940.0, 2940.0] | [17.0, 17.0] | [80, 80] |
p02811 | u589381719 | 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("YES" if K*500 >= X else "NO")', 'K,X=map(int,input().split())\nprint("Yes" if K*500 >= X else "No")'] | ['Wrong Answer', 'Accepted'] | ['s388004078', 's538109967'] | [2940.0, 2940.0] | [17.0, 17.0] | [65, 65] |
p02811 | u589578850 | 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().spllit())\n\nif n * 500 >= k :\n print("Yes")\nelse:\n print("No")', 'n, k = map(int,input().split())\n\nif n * 500 >= k :\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Accepted'] | ['s762317808', 's593603850'] | [2940.0, 2940.0] | [17.0, 17.0] | [90, 89] |
p02811 | u591823813 | 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()\nif 500 * int(a) <= int(b):\n print('Yes')\nelse:\n print('No')", "a,b = input().split()\nif 500 * int(a) >= int(b):\n print('Yes')\nelse:\n print('No')"] | ['Wrong Answer', 'Accepted'] | ['s611684913', 's355394989'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 87] |
p02811 | u592035627 | 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")', 'K,X = map(int,input().split())\nif K*500>=X:\n print("Yes")\nelse:\n print("No")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s093862310', 's242930754', 's084539084'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [84, 80, 82] |
p02811 | u594862874 | 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, yen = [int(x) for x in input("Enter two value: ").split()]\nprint(\'Yes\') if k*500>=yen else print(\'No)', "k, yen = input().split()\nprint('Yes') if k*500>=yen else print('No)", "k, yen = input().split()\nprint('Yes' if k*500>=yen else 'No')", "k = input()\nyen = input()\nif k*500>yen:\n print('Yes')\nelse:\n print('No)", "k, yen = input().split()\nprint('Yes' if k*500>yen else 'No')", "[k, yen] = [int(x) for x in input().split()]\nprint('Yes') if k*500>=yen else print('No')"] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s189293596', 's328291337', 's421288500', 's509557607', 's572123812', 's941137858'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0, 17.0, 17.0] | [104, 67, 61, 73, 60, 88] |
p02811 | u598684283 | 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 = map(int, input().split())\nif k * 500 >= x:\n print("Yes")\nelse:\n print("No")'] | ['Wrong Answer', 'Accepted'] | ['s967161038', 's412375478'] | [8928.0, 8924.0] | [29.0, 21.0] | [77, 87] |
p02811 | u607729897 | 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 functools import lru_cache\nimport sys\n\nsys.setrecursionlimit(10**8)\n\nN = int(input())\nS = input()\n\n@lru_cache(maxsize=None)\ndef dp(s):\n result = s.count("ABC")\n return result\nprint(dp(S))\n\n', 'from functools import lru_cache\nimport sys\n\nsys.setrecursionlimit(10**8)\n\nN = int(input())\nS = input()\n\n@lru_cache(maxsize=None)\ndef dp(s):\n print(s.count("ABC"))\nprint(dp(S))\n\n', "from functools import lru_cache\nimport sys\n\nsys.setrecursionlimit(10**8)\n\nK, X = map(int, input().split())\n\n@lru_cache(maxsize=None)\ndef dp(k,x):\n if k*2 <= x:\n result = 'No'\n else:\n result = 'Yes'\n return result\nprint(dp(K,X))\n\n", "from functools import lru_cache\nimport sys\n\nsys.setrecursionlimit(10**8)\n\nK, X = map(int, input().split())\n\n@lru_cache(maxsize=None)\ndef dp(k,x):\n if k*500 < x:\n result = 'No'\n else:\n result = 'Yes'\n return result\nprint(dp(K,X))\n\n"] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s703535763', 's806519309', 's963989989', 's977132834'] | [3572.0, 3572.0, 3572.0, 3572.0] | [22.0, 22.0, 23.0, 22.0] | [200, 180, 252, 253] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.