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 |
|---|---|---|---|---|---|---|---|---|---|---|
p02576 | u244434589 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N =int(input())\nN,X,T=map(int,input().split())\nif N%T ==0:\n print(NT//X)\nelse:\n print((N//X+1)*T)', 'N =int(input())\nN,X,T=map(int,input().split())\nif N%T ==0:\n print(NT//X)\n else:\n print((N//X+1)*T)', 'N =int(input())\nN,X,T=map(int,input().split())\nif N%X ==0:\n print(NT//X)\n el... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s016883941', 's196244587', 's531941860', 's685289781', 's795113503', 's179607338'] | [9156.0, 8916.0, 9020.0, 9124.0, 9116.0, 9092.0] | [26.0, 26.0, 20.0, 26.0, 24.0, 25.0] | [103, 111, 111, 51, 81, 90] |
p02576 | u244466744 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T = map(int, input().split())\n\nt = N / X\ntt = N // X\ns = t - X\n\nif s > 0:\n time = T * (tt + 1)\n print(time)\n\nelse:\n time = T * t\n print(time)', 'N, X, T = map(int, input().split())\n\nt = N % X\ns = N // X\n\nif t != 0:\n print(T * (s + 1))\n \nelse:\n print(T * s)'] | ['Wrong Answer', 'Accepted'] | ['s352955886', 's179434987'] | [9120.0, 9172.0] | [25.0, 30.0] | [151, 114] |
p02576 | u244836567 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['A,B,C=input().split()\nA=int(A)\nB=int(B)\nC=int(C)\nD=A/C\nD=int(D)\nprint((D+1)*B)', 'A,B,C=input().split()\nA=int(A)\nB=int(B)\nC=int(C)\nD=A/B\nD=int(D)\nif A%B=0:\n print((D)*C)\nelse:\n print((D+1)*C)', 'A,B,C=input().split()\nA=int(A)\nB=int(B)\nC=int(C)\nD=A/B\nD=int(D)\nprint((D)*C)', 'A,B,C=input().split(... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s267451674', 's664233979', 's853713034', 's488353930'] | [9160.0, 9020.0, 9112.0, 9116.0] | [30.0, 23.0, 28.0, 25.0] | [78, 111, 76, 112] |
p02576 | u247060273 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T = map(int, input().split())\nn=1\nwhile T*n < N//X:\n n+=1\n\nprint(T*n) ', 'N, X, T = map(int, input().split())\nn=0\nwhile T*n < N//X:\n n+=1\n\nprint(T*n) ', 'import numpy as np\n\nN, X, T = map(int, input().split())\n\nfor n in range(1,1000):\n if T*n >= np.ceil(N/X):\n break\nprint(T*n)\n', 'N, X... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s046483084', 's054061009', 's411875501', 's507170846', 's663159754', 's666615091', 's690400666', 's815409416', 's804678975'] | [9060.0, 9096.0, 27064.0, 9160.0, 27012.0, 8932.0, 26472.0, 26924.0, 27096.0] | [28.0, 26.0, 119.0, 28.0, 119.0, 23.0, 118.0, 116.0, 115.0] | [78, 78, 128, 77, 143, 129, 106, 133, 131] |
p02576 | u247457760 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\n\nans = 0\n\nwhile True:\n if (n - x) <= 0:\n break\n \n if (n - x) > 0:\n ans += t\n n -= x\n\nprint(ans)\n', 'n, x, t = map(int, input().split())\n\nans = 0\nwhile True:\n if (n - x) <= 0:\n break\n if (n - x) > 0:\n ans += t\n \nprint(t)\n ', 'n, x, t = ... | ['Wrong Answer', 'Time Limit Exceeded', 'Wrong Answer', 'Accepted'] | ['s238441225', 's663645547', 's961517352', 's604312949'] | [9148.0, 9144.0, 9164.0, 9092.0] | [29.0, 2206.0, 32.0, 31.0] | [144, 133, 131, 144] |
p02576 | u248364740 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["\n\nimport numpy as np\n\nh, w = map(int, input().strip().split())\ncx, cy = map(int, input().strip().split())\ndx, dy = map(int, input().strip().split())\ncx -= 1\ncy -= 1\ndx -= 1\ndy -= 1\nqx = [cx]\nqy = [cy]\n\ns = [input() for _ in range(h)]\nreached = np.zeros((h, w))\nfor i in range(h):\n for j in range(w)... | ['Runtime Error', 'Accepted'] | ['s672200176', 's337770979'] | [27040.0, 9156.0] | [114.0, 30.0] | [1555, 149] |
p02576 | u258078952 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["import math\n\nn, x, t = [int(i) for i in input().split(' ')]\n\nret = math.floor(n/x) * t\n\nprint(ret)\n", "import math\n\nn, x, t = [int(i) for i in input().split(' ')]\n\nret = math.ceil(n/x) * t\n\nprint(ret)\n"] | ['Wrong Answer', 'Accepted'] | ['s442578022', 's096664831'] | [9144.0, 9144.0] | [32.0, 30.0] | [137, 136] |
p02576 | u259190728 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import sys,bisect\n \nfrom sys import stdin,stdout\n \nfrom bisect import bisect_left,bisect_right,bisect,insort,insort_left,insort_right\n \nfrom math import gcd,ceil,floor,sqrt\n \nfrom collections import Counter,defaultdict,deque,OrderedDict\n \nfrom queue import Queue,PriorityQueue\n \nfrom string import ascii_l... | ['Runtime Error', 'Accepted'] | ['s674901738', 's297035642'] | [9980.0, 10124.0] | [37.0, 39.0] | [2637, 2648] |
p02576 | u260204064 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input().split())\nx = n/x\nif x%1 == 0:\n print(int(x)*t)\nelse:\n print((int(n/x)+1)*t)', 'n,x,t = map(int,input().split())\nx = n/x\nif x%1 == 0:\n print(int(x)*t)\nelse:\n print((int(x)+1)*t)'] | ['Wrong Answer', 'Accepted'] | ['s432340319', 's753792796'] | [9160.0, 9160.0] | [31.0, 28.0] | [105, 103] |
p02576 | u261036477 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N,X,T = map(int,input().split())\nS = X//N\nA = X%N\nif A == 0:\n print(S*T)\nelse:\n s = S+1\n print(s*T)', 'N = int(input())\nif N%9 == 0:\n print("yes")\nelse:\n print("no")', 'N,X,T = map(int,input().split())\nS = N//X\nA = N%X\nif A == 0:\n print(S*T)\nelse:\n K = S+1\n print(K*T)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s117769689', 's884084426', 's251913443'] | [8960.0, 9084.0, 9168.0] | [32.0, 28.0, 34.0] | [108, 68, 108] |
p02576 | u262632239 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input().split())\nprint((n*t)//x + 1)\n', 'n,x,t = map(int,input().split())\nprint((n//x)*t if n/x == n//x else (n//x)*t + t)'] | ['Wrong Answer', 'Accepted'] | ['s362357318', 's800626726'] | [9024.0, 9000.0] | [31.0, 30.0] | [53, 81] |
p02576 | u269054236 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['total, max, time=map(int, input().split())\n\nprint (time*((total/max)+1))\n', 'total, max, time=map(int, input().split())\n\nprint (time*(total/max)+1)', 'total, max, time=map(int, input().split())\n\nprint (time*int(total/max) if total%max==0 else time*(int(total/max)+1))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s331052489', 's690503499', 's175161616'] | [8988.0, 9064.0, 9096.0] | [28.0, 26.0, 27.0] | [73, 70, 117] |
p02576 | u275666666 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N,X,T=list(map(int,input().split()))\n\nresult=N//X*T\n\nif N%X!=0:\n result+=T\n\nprint(result)N,X,T=list(map(int,input().split()))\n\nresult=N//X*T\n\nif N%X!=0:\n result+=T\n\nprint(result)', 'N,X,T=list(map(int,input().split()))\n\nresult=N//X*T\n\nif N%X!=0:\n result+=T\n\nprint(result)'] | ['Runtime Error', 'Accepted'] | ['s092694199', 's664832996'] | [8948.0, 9100.0] | [31.0, 28.0] | [184, 92] |
p02576 | u283539527 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n=input()\ns=0\nfor i in n:\n s+=int(i)\nprint("Yes" if s%9==0 else "No")', 'MOD = 1000000007\nfrom collections import defaultdict as dd,Counter,deque\n\ndef si(): return input()\ndef ii(): return int(input())\ndef li(): return list(map(int,input().split()))\ndef mi(): return map(int,input().split())\ndef out(v): pr... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s207458084', 's962450116', 's964767519'] | [9164.0, 9492.0, 9412.0] | [24.0, 32.0, 27.0] | [70, 875, 865] |
p02576 | u284120954 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\n\nN, X, T = map(int, input().split())\n\ntime = (math.ceil(N // X)) * T\n\nprint(time)', 'import math\n\nN, X, T = map(int, input().split())\n\ntime = (math.ceil(N / X)) * T\n\nprint(time)'] | ['Wrong Answer', 'Accepted'] | ['s001778264', 's213961983'] | [9088.0, 9156.0] | [31.0, 28.0] | [93, 92] |
p02576 | u287485254 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N = int (input())\nX = int (input())\nT = int (input())\n\ntime = 0\n\nwhile (N > 0):\n N -= X\n time += T\n\nprint(time)\n', 'i = list(map(int, input().split()))\n\ntime = 0\n\nwhile (i[0] > 0):\n i[0] -= i[1]\n time += i[2]\n\nprint(time)'] | ['Runtime Error', 'Accepted'] | ['s093374160', 's380577466'] | [8824.0, 9168.0] | [27.0, 26.0] | [118, 111] |
p02576 | u288118080 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N= raw_input( "N : ")\nX= raw_input( "X : ")\nT= raw_input( "T : ")\nif(N % X == 0):\n print((N // X) * T)\nelse:\n print(((N // X) *T) + T)', 'n= raw_input( "N : ")\nx= raw_input( "X : ")\nt= raw_input( "T : ")\nN=int(n)\nX=int(x)\nT=int(t)\nif(N % X == 0):\n print((N // X) * T)\nelse:\n print(((N // X) ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s266813810', 's340156587', 's598525783', 's627966822'] | [8996.0, 8972.0, 9032.0, 9064.0] | [25.0, 24.0, 24.0, 28.0] | [140, 167, 128, 108] |
p02576 | u290886932 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T = map(int, input().split())\nif N % T > 0:\n ret = N // T + 1\nelse:\n ret = N // T\nprint(ret)', 'N, X, T = map(int, input().split())\nif N % X > 0:\n ret = (N // X + 1) * T\nelse:\n ret = (N // X) * T\nprint(ret)'] | ['Wrong Answer', 'Accepted'] | ['s488515406', 's448168452'] | [9156.0, 9120.0] | [30.0, 34.0] | [100, 112] |
p02576 | u292746386 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T = (int(d) for d in input().split())\n\nprint((N // X) * T)', 'N, X, T = (int(d) for d in input().split())\n\nimport math\nprint(math.ceil(N / X) * T)\n'] | ['Wrong Answer', 'Accepted'] | ['s663630678', 's387669252'] | [9040.0, 9148.0] | [30.0, 29.0] | [64, 85] |
p02576 | u299645128 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N,X,T = map(int, input().split())\ntimes, mod = divmod(N,X)\nif mod == 0:\n print(times * T)\nelse:\n print(times * T + 1)', 'N,X,T = map(int, input().split())\ntimes, mod = divmod(N,X)\nif mod == 0:\n print(times * T)\nelse:\n print(times * T + T)'] | ['Wrong Answer', 'Accepted'] | ['s688039103', 's881117479'] | [9004.0, 9148.0] | [28.0, 32.0] | [119, 119] |
p02576 | u301272559 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\nN,X,T = (int(x) for x in input().split())\nprint(math.ceil((N//X)*T))', 'import math\nN,X,T = (int(x) for x in input().split())\na=math.ceil(N/X)\nprint(a*T)'] | ['Wrong Answer', 'Accepted'] | ['s891829293', 's800420319'] | [9152.0, 9156.0] | [31.0, 30.0] | [80, 81] |
p02576 | u302292660 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input.split())\na = (n//x + 1)*t\nprint(a)', 'n,x,t = map(int(input.split()))\na = (n//x + 1)*t\nprint(a)', 'n,x,t = int(input.split())\na = n//x + 1\nprint(a)', 'n,x,t = map(int,input().split())\nif n%x==0:\n print((n//x)*t)\nelse:\n print(((n//x)+1)*t)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s096992275', 's921929051', 's985853567', 's158323281'] | [8956.0, 8936.0, 9064.0, 9096.0] | [26.0, 21.0, 24.0, 26.0] | [56, 57, 48, 93] |
p02576 | u302697704 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input().split())\n\ni = 0\nwhile x*i>=n:\n\ti +=1\n\nprintln(i*x)', 'n,x,t = map(int,input().split())\ni = 0\nwhile x*i<n:\n\ti +=1\nprint(i*t)'] | ['Runtime Error', 'Accepted'] | ['s684177202', 's132981528'] | [9160.0, 9108.0] | [27.0, 27.0] | [74, 69] |
p02576 | u309120194 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N = int(input())\nA = list(map(int, input().split())) \ns = [0]*(N-1)\n \nfor n in range(N-1):\n s[n] = A[n] - A[n+1]\n if s[n] <= 0: \n continue\n else:\n A[n+1] += s[n]\n\nprint(sum(int(s)))', 'N = int(input())\nA = list(map(int, input().split())) \nans = 0\n \nfor n in range(N-1):\n t = A[n] - A[n+1]\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s048421576', 's049231863', 's791995113'] | [9192.0, 8980.0, 9060.0] | [27.0, 29.0, 29.0] | [190, 181, 74] |
p02576 | u309562711 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\nu=x\nv=t\nwhile(x<n):\n x+=u\n a+=v\nprint(t)', 'n,x,t=map(int,input().split())\nu=t\nv=x\nwhile(x<n):\n x+=v\n t+=u\nprint(t)\n'] | ['Runtime Error', 'Accepted'] | ['s837102195', 's208342278'] | [9088.0, 9104.0] | [26.0, 27.0] | [73, 74] |
p02576 | u310245677 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\nprint(-n/x*-t)', 'n,x,t=map(int,input().split())\nprint(round(n*x/t))', 'n,x,t=map(int,input().split())\nprint(round((n/x)*t))', 'n,x,t=int(input().split())\nprint(n*x/t)', 'n,x,t=map(int,input().split())\nprint(-n//x*-t)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s344349217', 's414732709', 's832366444', 's982862608', 's155034266'] | [9160.0, 9152.0, 9156.0, 9004.0, 9140.0] | [29.0, 30.0, 27.0, 23.0, 32.0] | [45, 50, 52, 39, 46] |
p02576 | u314825579 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["import math\nN,X,T=map(int,input().split(' '))\n \nans=math.ceil(N/X)\nprint(ans)", "import math\nN,X,T=map(int,input().split(' '))\n\nans=math.ceil(X/N)*T\nprint(ans)", "import math\nN,X,T=map(int,input().split(' '))\n \nans=math.ceil(N/X)*T\nprint(ans)"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s783561270', 's837008421', 's400622892'] | [9152.0, 9152.0, 9148.0] | [35.0, 29.0, 32.0] | [77, 78, 79] |
p02576 | u320555665 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\nl=int(n/x)\nif l>n/x:p=l+1\nelse:p=l\nprint(p*t)', 'n,x,t=map(int,input().split())\nl=int(n//x)\nif n%x>0:p=l+1\nelse:p=l\nprint(p*t)\n'] | ['Wrong Answer', 'Accepted'] | ['s192390892', 's822947116'] | [9156.0, 9000.0] | [33.0, 29.0] | [76, 78] |
p02576 | u322171361 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input().split())\nprint(t*((n-1)//x+1)', 'n,x,t = map(int,input().split())\nprint(t*((n-1)//x+1))'] | ['Runtime Error', 'Accepted'] | ['s802751122', 's771528949'] | [9020.0, 9112.0] | [26.0, 29.0] | [53, 54] |
p02576 | u323532272 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\n\nprint((n//x) * t) if n%x==0 else print((n//x) * t)', 'n, x, t = map(int, input().split())\n\nprint((n//x) * t) if n%x==0 else print((n//x + 1) * t)'] | ['Wrong Answer', 'Accepted'] | ['s042153072', 's141801814'] | [9152.0, 9096.0] | [34.0, 29.0] | [87, 91] |
p02576 | u324102350 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N = int(input())\nX = int(input())\nT = int(input())\n\nif X >= N:\n print(T)\nelif N % X == 0:\n print(N//X*T)\nelse:\n print((N//X*T)+T)', 'N,X,T = map(int, input().split())\n\nif X >= N:\n print(T)\nelif N % X == 0:\n print(N//X*T)\nelse:\n print((N//X+1)*T)'] | ['Runtime Error', 'Accepted'] | ['s906299236', 's171908326'] | [9128.0, 9096.0] | [22.0, 27.0] | [138, 121] |
p02576 | u324918230 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["from itertools import product\n\ndef add_magic_move(enable_to_move_list):\n ret = list(enable_to_move_list)\n for h, w in enable_to_move_list:\n for target_h, target_w in product([h-1, h, h+1], [w-1, w, w+1]):\n if -1 < target_h < H and -1 < target_w < W and (target_h, target_w) not in enable_to_move_list:\... | ['Runtime Error', 'Accepted'] | ['s120881922', 's045947613'] | [9204.0, 9156.0] | [25.0, 26.0] | [1366, 103] |
p02576 | u337626942 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['h, w=map(int, input().split())\nch, cw=map(int, input().split())\ndh, dw=map(int, input().split())\n\ngrid=["0"]*(h+2)\ngrid[0]="0"*(w+2)\ngrid[h+1]="0"*(w+2)\n\nfor i in range(1, h+1):\n s=input()\n grid[i]= "0"+s+"0"\n\np=1\nroad=[[0] * (w+2) for i in range(h+2)]\n\nfor i in range(1, h+1):\n for j in range... | ['Runtime Error', 'Accepted'] | ['s639409839', 's364914116'] | [9176.0, 9108.0] | [31.0, 25.0] | [1050, 110] |
p02576 | u340553385 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import sys\n\ndata = sys.stdin.read().split()\nN = data[0]\nX = data[1]\nT = data[2]\n\ndef takoyaki(N, X, T):\n if N % X==0:\n return T * N / X\n else:\n return T * (N / X + 1)', 'from sys import stdin\n \ndata = stdin.read().split()\nN, X, T = int(data[0]), int(data[1]), int(data[2])\n \nif N % X == 0:\n p... | ['Wrong Answer', 'Accepted'] | ['s548566189', 's277141826'] | [9060.0, 9052.0] | [29.0, 31.0] | [174, 170] |
p02576 | u342651068 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['[n, x, t] = map(int, input().split())\n\nans = (n // x) * t\n\nprint(int(ans))', '[n, x, t] = map(int, input().split())\n\nif n % x == 0:\n ans = (n // x) * t\nelse:\n ans = ((n // x) + 1) * t\n\nprint(int(ans))'] | ['Wrong Answer', 'Accepted'] | ['s715378878', 's125640755'] | [9152.0, 9156.0] | [32.0, 34.0] | [74, 124] |
p02576 | u347502437 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["N = input()\n\nwhile len(N) > 1:\n M = sum(int(N[i]) for i in range(len(N)))\n N = str(M)\n\nif M == 9 or M == 0:\n print('Yes')\nelse:\n print('No')\n", 'import math\nN, X, T = map(int, input().split())\n\nprint(T * math.ceil(N // X))', 'import math\nN, X, T = map(int, input().split())\n\nprint(T * math.... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s274522036', 's830541692', 's139514283'] | [9188.0, 9088.0, 9088.0] | [27.0, 32.0, 34.0] | [153, 77, 76] |
p02576 | u350166773 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["N, X, T = map(int, input().split())\nprint('N',N)\nprint('X',X)\nprint('T',T)\n\nprint(N//X+1)", 'N, X, T = map(int, input().split())\n \nprint(T * ((N//X + 1))', 'n,x,t = map(int,input().split())\nif x == 1 | n%x ==0:\n print((n//x)*t)\nelse:\n print((n//x)*t)', 'N, X, T = map(int, input().split())\n \nprint(T * (... | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s063238948', 's144864358', 's348808890', 's658001805'] | [9160.0, 8956.0, 9168.0, 9164.0] | [26.0, 21.0, 27.0, 29.0] | [89, 60, 95, 63] |
p02576 | u353652911 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input())\nif n%x==0:\n print(int(n//x)*t)\nelse:\n print((int(n//x)+1)*t)', 'n,x,t=map(int,input().split())\nif n%x==0:\n print(int(n//x)*t)\nelse:\n print((int(n//x)+1)*t)'] | ['Runtime Error', 'Accepted'] | ['s326883668', 's538351066'] | [9076.0, 9056.0] | [29.0, 25.0] | [85, 93] |
p02576 | u354492470 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input().split())\nif n%x==0:\n print(int(n/x)*t)\nelse:\n print(int(n//x)+1)*t)', 'n,x,t = map(int,input().split())\nif n%x==0:\n print(int(n/x)*t)\nelse:\n print((int(n//x)+1)*t)'] | ['Runtime Error', 'Accepted'] | ['s622075204', 's618481745'] | [8932.0, 9076.0] | [23.0, 29.0] | [97, 98] |
p02576 | u355213193 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N=int(input())\nA=list(map(int,input().split()))\na_1=sum(A)\ncount=0\nfor i in range(0,len(A)-1):\n if A[i]>A[i+1]:\n A[i+1]=A[i]\na_2=sum(A)\nprint(a_2-a_1)\n \n ', 'import math\nN,X,T=map(int,input().split())\nprint(math.ceil(N/X)*T)\n'] | ['Runtime Error', 'Accepted'] | ['s530306401', 's348971056'] | [9012.0, 9056.0] | [26.0, 30.0] | [174, 67] |
p02576 | u358894498 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["n,x,k=map(int,input().split(' '))\n\nprint((int(n+x-1/x))*k)\n", "n,x,k=map(int,input().split(' '))\n\nprint(((n/x)+1))*k)\n", "n,x,k=map(int,input().split(' '))\n\nprint(((n/x)+1)*k)\n", "n,x,k=map(int,input().split(' '))\n\nprint(int((n+x-1)/x)*k)\n"] | ['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s053841230', 's111068181', 's297301248', 's070358058'] | [9012.0, 9004.0, 9140.0, 9148.0] | [29.0, 24.0, 28.0, 29.0] | [59, 55, 54, 59] |
p02576 | u364741711 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\n\nn,x,t= map(float, input().split())\n\nprint(math.ceil(n/x)*t)\n\n', 'import math\n\nn,x,t=map(float,input().split())\n\nprint(math.ceil(n/x)*t)', 'n,x,t = map(int,input().split())\n\nprint((n//t+1)*t)', 'import math\n \nn,x,t=map(float,input().split())\n \nprint(int(math.ceil(n/x)*t))'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s161453833', 's796429819', 's845468526', 's310304827'] | [8860.0, 9104.0, 9048.0, 8956.0] | [28.0, 29.0, 28.0, 27.0] | [74, 70, 51, 77] |
p02576 | u378157957 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\nN, X, T = map(int, input().split())\n\ncount = N/X\nprint(count)\ncount = math.ceil(count)\nprint(count * T)\n', 'import math\nN, X, T = map(int, input().split())\n\ncount = N/X\n#print(count)\ncount = math.ceil(count)\nprint(count * T)'] | ['Wrong Answer', 'Accepted'] | ['s445797164', 's822333872'] | [9100.0, 9152.0] | [27.0, 31.0] | [116, 116] |
p02576 | u389530753 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N,X,T=map(int,input().split())\nfor i in range(1,1000):\n if i*X<N:\n i = i+1\n else :\n print(i*T)', 'import sys\nN,X,T=map(int,input().split())\nfor i in range(1,1001):\n if X*i>=N:\n print(i*T)\n sys.exit()\n '] | ['Wrong Answer', 'Accepted'] | ['s215425371', 's478034116'] | [9208.0, 9088.0] | [30.0, 29.0] | [114, 111] |
p02576 | u397080265 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\nr=math.ceil(n/x)*t\nprint(r)', 'import math\nn,x,t=map(int,input().split())\nr=math.ceil(n//x)*t\nprint(r)', 'import math\nn,x,t=map(int,input().split())\nr=math.ceil(n/x)*t\nprint(r)'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s416310096', 's784695835', 's884296613'] | [9136.0, 9148.0, 9144.0] | [25.0, 28.0, 27.0] | [58, 71, 70] |
p02576 | u398074546 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['a=int(input())\nb=int(input())\nc=int(input())\n\nif a%b==0:\n\tprint(c*(a/b))\nelse:\n\t\tprint((c*((a//b)+1)))', 'a = list(map(int, input().split()))\nif a[0]%a[1]==0:\n print((a[0]//a[1])*a[2])\nelse:\n print(a[2]*(a[0]//a[1])+a[2])'] | ['Runtime Error', 'Accepted'] | ['s668147245', 's904387194'] | [9000.0, 9028.0] | [26.0, 29.0] | [102, 117] |
p02576 | u400982556 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N,X,T = map(int,input().split())\n\nfor i in range(1,1000000):\n if N < X:\n print(T*i)\n exit()\n else:\n N = N-X\n if N < X:\n \tprint(T*i)\n \texit()', 'N,X,T = map(int,input().split())\ntest = N\n\nfor i in range(1,1000000):\n if test <= X:\n print(T*i)\n exi... | ['Wrong Answer', 'Accepted'] | ['s771809390', 's133208429'] | [9112.0, 9016.0] | [28.0, 30.0] | [188, 123] |
p02576 | u401810884 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T= map(int, input().split())\nc=N%X\nprint(c*T+T)', ' print(c*T+T)\n', 'N, X, T= map(int, input().split())\nc=int(N/X)\nif N%X == 0:\n print(c*T)\nelse:\n print(c*T+T)\n'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s554495450', 's883873017', 's630140200'] | [9004.0, 8800.0, 9156.0] | [30.0, 22.0, 27.0] | [53, 17, 97] |
p02576 | u402492580 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T = map(int, input().split())\n\nm = N//X\nans = m * T\nprint(ans) ', 'N, X, T = map(int, input().split())\n\nans = 0\nif N % X == 0:\n\tans = N//X * T\nelse:\n\tans = (N//X + 1) * T\n\t\nprint(ans) '] | ['Wrong Answer', 'Accepted'] | ['s141916067', 's002567624'] | [9160.0, 9052.0] | [27.0, 25.0] | [70, 118] |
p02576 | u404260525 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N=int(input())\nA=list(map(int, input().split()))\nB=A\nM=max(A)\nk=0\nFumi=0\n\nfor k in range(1,N):\n if A[k-1]>A[k]:\n Fumi=Fumi+A[k-1]-A[k]\n A[k]=A[k-1]\n k=k+1\n\nprint(Fumi)', 'N, X, T = input().strip().split()\nN, X, T = [int(N), int(X), int(T)]\n\nq=N // X\nmod = N % X\n\nif mod != 0:\n q... | ['Runtime Error', 'Accepted'] | ['s360294291', 's295880940'] | [9092.0, 9160.0] | [24.0, 27.0] | [187, 140] |
p02576 | u410558877 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\n\nline = input()\n\nstrL = line.split()\nN = int(strL[0])\nX = int(strL[1])\nT = int(strL[2])\n\nans = math.floor(N / X) * T\n\nprint(ans)', 'import math\n\nline = input()\n\nstrL = line.split()\nN = int(strL[0])\nX = int(strL[1])\nT = int(strL[2])\n\nans = math.ceil(N / X) * T\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s724528545', 's764293005'] | [9100.0, 9172.0] | [29.0, 25.0] | [140, 139] |
p02576 | u410956928 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int, input().split())\nif n%x=0:\n print((n//x)*t)\nelse:\n print((n//x + 1)*t)', 'n,x,t = map(int, input().split())\nif n%x==0:\n print((n//x)*t)\nelse:\n print((n//x + 1)*t)'] | ['Runtime Error', 'Accepted'] | ['s623230409', 's658908826'] | [8880.0, 9100.0] | [26.0, 26.0] | [89, 90] |
p02576 | u410967766 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\nprint(ceil(n/x)*t)\n', 'from math import ceil\nn, x, t = map(int, input().split())\nprint(ceil(n/x)*t)\n'] | ['Runtime Error', 'Accepted'] | ['s288277837', 's355988053'] | [9140.0, 9140.0] | [27.0, 28.0] | [55, 77] |
p02576 | u428123597 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['input1 = input()\ninput1 = input1.split()\nN, X, T = int(input1[0]), int(input1[1]), int(input1[2])\nresult = int((N*T)/X)\nprint(result)', 'input1 = input()\ninput1 = input1.split()\nN, X, T = int(input1[0]), int(input1[1]), int(input1[2])\nresult = int((N*T)/X)\nprint(result)', 'input1 = input()\ninput1 = input1.sp... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s220243715', 's613413169', 's155657066'] | [9152.0, 9160.0, 9164.0] | [31.0, 33.0, 30.0] | [133, 133, 150] |
p02576 | u430395207 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['line = input().split()\nn = int(line[0])\nx = int(line[1])\nt = int(line[2])\nprint(-(n//x)*t)', 'line = input().split()\nn = int(line[0])\nx = int(line[1])\nt = int(line[2])\nprint(-(-n//x)*t)'] | ['Wrong Answer', 'Accepted'] | ['s888563260', 's723057120'] | [9184.0, 9168.0] | [27.0, 32.0] | [90, 91] |
p02576 | u432453907 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N=int(input())\nA=list(map(int,input().split()))\n\nans=sum(A)\ns=N+1\nj=s\n\nif A==sorted(A):\n print(0)\n exit()\n\nfor i in range(N//2):\n x=max(A[:s])\n s=A.index(x)\n A[s:j]=[x]*len(A[s:j])\n j=s\n if A==sorted(A):\n break\n\nprint(sum(A)-ans)', 'N,X,T=map(int,input().split())\nif N%... | ['Runtime Error', 'Accepted'] | ['s082099955', 's078911109'] | [9036.0, 9152.0] | [30.0, 29.0] | [258, 96] |
p02576 | u436961237 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["n,x,t=map(int(input().split()))\ncount=0\nif(n<=x):\n print(t,end='\\n')\nelse:\n while(x>=n):\n count=count+1\n x=x+x\nprint((count+1)*t)", "n,x,t=map(int,input().split())\ncount=0\na=0\na=x\nif(n<=x):\n print(t,end='\\n')\n \nelif(x==1):\n print((n)*t)\nelse: \n while(x<n):\n ... | ['Runtime Error', 'Accepted'] | ['s254209842', 's395978669'] | [9040.0, 8972.0] | [27.0, 27.0] | [137, 213] |
p02576 | u437215432 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split()))\n\nprint(-(-n // x) * t) \n', '# ABC176A\n\nn, x, t = map(int, input().split())\n\nprint(-(-n // x) * t) \n'] | ['Runtime Error', 'Accepted'] | ['s038964426', 's754148542'] | [8868.0, 8968.0] | [21.0, 30.0] | [61, 71] |
p02576 | u440478998 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int, input().split())\nprint(math.ceil(n/x)*t)', 'import math\nn,x,t = map(int, input().split())\nprint(math.ceil(n/x)*t)'] | ['Runtime Error', 'Accepted'] | ['s541658024', 's108543635'] | [9124.0, 9136.0] | [26.0, 30.0] | [57, 69] |
p02576 | u442494118 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n = list(input())\nm=0\nfor i in range(1, len(n)):\n m+=i\nif m%9==0:\n print("Yes")\nelse:\n print("No")\n', 'n,m,t =int(input())\n\nz = (n+m-1)/m\n\nans = z * t\n\nprint(ans)', 'n, m, t = input().split()\nz = ((int(n)+int(m))-1)//int(m)\nans = z * int(t) \nprint(ans)\n'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s356858808', 's568695520', 's367745599'] | [9072.0, 9160.0, 9064.0] | [28.0, 25.0, 26.0] | [108, 59, 87] |
p02576 | u445834165 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['def calculate(N,X,T):\n times = round(N/X)\n if times==0 :\n print(T)\n else :\n print(times * T)', 'def calculate(N,X,T):\n x = N // X\n if x ==0:\n return T\n elif not N % X == 0:\n return (x + 1)*T;\n else:\n return x*T\nN,X,T = 100,20,30\nresult = calculate(... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s015991604', 's016611768', 's301738529', 's332260082', 's452628224', 's480797439', 's744777342', 's829804511', 's880972081', 's896293365', 's949612970'] | [9008.0, 9044.0, 8936.0, 8976.0, 9028.0, 9076.0, 8988.0, 9068.0, 8976.0, 9016.0, 9072.0] | [29.0, 26.0, 28.0, 26.0, 23.0, 25.0, 24.0, 26.0, 26.0, 23.0, 29.0] | [115, 205, 25, 7, 147, 40, 47, 205, 147, 209, 220] |
p02576 | u449237691 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N,X,T=map(int,input().split)\nif N//X<N/X<N//x+1:\n print((N//X+1)*T) \nelse:\n print(N/X*T)', 'N,X,T=map(int,input().split())\nif N//X<N/X<N//X+1:\n print((N//X+1)*T) \nelse:\n print(N//X*T)'] | ['Runtime Error', 'Accepted'] | ['s081329879', 's544802339'] | [8896.0, 9036.0] | [25.0, 32.0] | [90, 93] |
p02576 | u449580152 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['def main():\n n, x, t = map(int, input().split())\n times = n//x\n amari = n%x\n minutes = times * t\n if amari ==0:\n return print(minutes)\n else:\n return print(minutes + 1)\n\nmain()', 'def main():\n n, x, t = map(int, input().split())\n times = n//x\n amari = n%x\n minutes = times * t\n if amari... | ['Wrong Answer', 'Accepted'] | ['s113608618', 's536678993'] | [9092.0, 9152.0] | [34.0, 36.0] | [188, 188] |
p02576 | u450963682 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['x=input().split()\n\nn=int(x[0])\nt=int(x[1])\nk=int(x[2])\n\n\nif n%t==0: print(k*(n/t))\nelse: print(k*(n/t + 1))\n\n\n\n\n', 'x=input().split()\n\nn=int(x[0])\nt=int(x[1])\nk=int(x[2])\n\nprint(k*ceil(20/12))', 'x=input().split()\n\nn=int(x[0])\nt=int(x[1])\nk=int(x[2])\n\n\nif n%t==0: print(k*int(n/t))\nelse: pri... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s278546102', 's842887741', 's233487797'] | [9160.0, 9156.0, 9104.0] | [28.0, 24.0, 28.0] | [112, 76, 118] |
p02576 | u453539748 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\nans=0\nans=(n/x+1)*t\nprint(ans)', 'n,x,t=map(int,input().split())\nprint((n/x+1)*t)', 'import math\nn,x,t=map(int,input().split())\nA=math.ceil(n/x)\nprint(A*t)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s083061790', 's166808960', 's538479523'] | [9156.0, 9148.0, 8972.0] | [31.0, 30.0, 26.0] | [61, 47, 71] |
p02576 | u457554982 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['[n,x,t]=list(map(int,input().split()))\nkaisu=n//x+1\nif n%x!=0:\n kaisu+=1\nans=kaisu*t\nprint(ans)', '[n,x,t]=list(map(int,input().split()))\nkaisu=n//x\nif n%x!=0:\n kaisu+=1\nans=kaisu*t\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s320402107', 's658372452'] | [9140.0, 9168.0] | [26.0, 31.0] | [98, 96] |
p02576 | u458967973 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = input().split()\nn=int(n)\nx=int(x)\nt=int(t)\nprint(n,x,t)\nif(n%x==0):\n print((n // x)*t)\nelse:\n print(((n // x )+ 1)*t)', 'n,x,t = input().split()\nn=int(n)\nx=int(x)\nt=int(t)\n\nif(n%x==0):\n print((n // x)*t)\nelse:\n print(((n // x )+ 1)*t)'] | ['Wrong Answer', 'Accepted'] | ['s945723104', 's060643196'] | [9172.0, 9168.0] | [34.0, 26.0] | [131, 119] |
p02576 | u468972478 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\nprint((n + x - 1 // x) * t)', 'n, x, t = map(int, input().split())\nif n % x == 0:\n print((n // x) * t)\nelse:\n print(((n // x) + 1) * t', 'n, x, t = map(int, input().split())\nif n % x == 0:\n print((n // x) * t)\nelse:\n print((n // x + 1) * t)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s115475695', 's120492952', 's606098481'] | [9080.0, 9020.0, 9160.0] | [28.0, 27.0, 33.0] | [63, 105, 104] |
p02576 | u472696272 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t - map(int,input().split())\n\nfrom math import ceil\ntime = ceil(t/n) * x\nprint(time)\n', 'n,x,t = map(int,input().split())\n\nfrom math import ceil\ntime = ceil(n/x) * t\nprint(time)'] | ['Runtime Error', 'Accepted'] | ['s539263738', 's880584643'] | [9020.0, 9140.0] | [22.0, 29.0] | [89, 88] |
p02576 | u473234868 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\na = n/x\nif n % x == 0:\n print(a*t)\nelse:\n print((a + 1)*t\n', 'n, x, t = map(int, input().split())\n\nprint((n//=x + 1) * t )', 'n, x, t = map(int, input().split())\na = n // x\nif n % x == 0:\n print(a * t)\nelse:\n print((a + 1) * t)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s389856416', 's828535857', 's075416514'] | [8916.0, 8892.0, 9060.0] | [23.0, 30.0, 31.0] | [96, 60, 103] |
p02576 | u480225843 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N = input( " N : ")\nX =input( "X : ")\nT=input("T :")\nif(N % X == 0):\n print((N // X) * T)\nelse:\n print(((N // X) + 1) * T)\n', 'def Takoyaki(N , X ,T):\n if N%X != 0:\n print(N/X * T +T)\n else:\n print(N/X * T)\nTakoyaki(20 , 12 , 6)', 'N, X, T = (int(x) for x in input... | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s289129473', 's459155202', 's048413480'] | [9052.0, 8896.0, 8916.0] | [22.0, 29.0, 27.0] | [129, 137, 119] |
p02576 | u486209657 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["N, X, T = map(int, input().split(' '))\n\nprint(int(T*N/X))", "N, X, T = map(int, input().split(' '))\n\nif N%X == 0:\n print(int(N//X*T))\nelse:\n print(int(N//X*T+T))"] | ['Wrong Answer', 'Accepted'] | ['s429765661', 's594587398'] | [9056.0, 9156.0] | [25.0, 26.0] | [57, 102] |
p02576 | u486646943 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\nfrom collections import deque\n\nH,W = map(int, input().split())\nch,cw = map(int,input().split())\ndh,dw = map(int, input().split())\n\n#input maze information\ns = ["#"*(W+4)]\ns.append("#"*(W+4))\nfor i in range(H):\n s.append("##"+input()+"##")\ns.append("#"*(W+4))\ns.append("#"*(W+4))\n\nans = [[... | ['Runtime Error', 'Accepted'] | ['s209587857', 's136140950'] | [9428.0, 9688.0] | [29.0, 36.0] | [1357, 210] |
p02576 | u490623664 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\ntime=(n/x+1)*t\nprint(time)', 'n,x,t=map(int,input().split())\ntime=n//x*t\nif n%x!=0:\n\ttime+=t\nprint(time)'] | ['Wrong Answer', 'Accepted'] | ['s720338216', 's865989746'] | [9160.0, 9104.0] | [30.0, 29.0] | [57, 74] |
p02576 | u496727432 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['a = list(map(int,input().split()))\n\nb = a[0] // a[1]\nc = a[0] % a[1]\nans = (b + c) * a[2]\nprint(str(ans))\n', 'a = list(map(int,input().split()))\n\nb = a[0] // a[1]\nc = a[0] % a[1]\nif c != 0:\n c = 1\nans = (b + c) * a[2]\nprint(str(ans))'] | ['Wrong Answer', 'Accepted'] | ['s234918108', 's361928633'] | [9152.0, 9164.0] | [33.0, 29.0] | [106, 126] |
p02576 | u504299537 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["import sys\nimport math\n\ndef main(lines):\n line=lines.split()\n n = int(line[0])\n x = int(line[1])\n t = int(line[2])\n ans = math.ceil(n/x)*t\n print(ans)\n\nif __name__ == '__main__':\n lines = []\n for l in sys.stdin:\n lines.append(l.rstrip('\\r\\n'))\n main(lines)\n", "import sys\n\ndef... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s112079087', 's190353898', 's351372221', 's458945036', 's556427045', 's845290741', 's931132572', 's441627048'] | [9016.0, 8968.0, 8980.0, 9008.0, 8964.0, 9136.0, 9016.0, 9140.0] | [33.0, 28.0, 20.0, 30.0, 22.0, 25.0, 33.0, 36.0] | [279, 269, 266, 166, 264, 270, 164, 231] |
p02576 | u506422818 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['x,n,t = map(str,input().split(" "))\ncnt =0\nwhile (x > 0):\n x -= n\n cnt += 1\nprint(cnt * t)', 'answer = 0\nn = int(input())\na = list(map(int, input().split(" ")))\nfor i in range(n - 1):\n a = sorted(a[:5], key=a[:5].count, reverse=True) + a[5:]\n if a[0] == a[1] == a[2]:\n answer += 1\n \t... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s563476817', 's716813843', 's800124698', 's607712322'] | [9024.0, 8740.0, 9032.0, 8948.0] | [23.0, 23.0, 26.0, 28.0] | [96, 271, 91, 94] |
p02576 | u508061226 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input())\n\nif n % t == 0:\n ans = (n // x) * t\nelse:\n ans = (n // x + 1) * t\n\nprint(ans)', 'n, x, t = map(int, input().split())\n\nif n % x == 0:\n ans = (n // x) * t\nelse:\n ans = (n // x + 1) * t\n\nprint(ans)\n'] | ['Runtime Error', 'Accepted'] | ['s289279236', 's298445083'] | [9116.0, 9100.0] | [24.0, 26.0] | [107, 116] |
p02576 | u511824539 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["from collections import deque\n\n\ndef solvemaze(y, x, num):\n maps.append([])\n dx, dy = (-1, 0, 1, 0), (0, -1, 0, 1)\n maze[y][x] = num\n que = deque()\n que.append((y, x))\n while que:\n y_, x_ = que.popleft()\n maps[num].append((y_, x_))\n for i in range(4):\n y2 ... | ['Runtime Error', 'Accepted'] | ['s635202116', 's792113851'] | [9384.0, 9152.0] | [33.0, 26.0] | [1641, 77] |
p02576 | u515231557 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\nN, X, T = (int(x) for x in input().split())\nt = (N / X)*T\nprint(math.ceil(t))', 'import math\nN, X, T = (int(x) for x in input().split())\nt = math.ceil(N / X)\nprint(t*T)'] | ['Wrong Answer', 'Accepted'] | ['s262606620', 's887061882'] | [9092.0, 9148.0] | [27.0, 30.0] | [89, 87] |
p02576 | u525589885 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\nprint(n//x *t)', 'n, x, t = map(int, input().split())\nprint((n//+1)*t)', 'n, x, t = map(int, input().split())\nimport math\nprint(math.ceil(n/x)*t)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s798169319', 's936813533', 's362422399'] | [9144.0, 9140.0, 9084.0] | [31.0, 29.0, 34.0] | [50, 52, 71] |
p02576 | u530606147 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = list(map(int, input().split()))\n\nprint(t*n//x)\n', 'n, x, t = list(map(int, input().split()))\n\nprint(n//x*t)\n', 'n, x, t = list(map(int, input().split()))\n\nimport math\nprint(math.ceil(n / x) * t)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s507173861', 's961500656', 's113574459'] | [9080.0, 9136.0, 9112.0] | [31.0, 29.0, 28.0] | [57, 57, 83] |
p02576 | u531599639 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['h,w,m = map(int,input().split())\nrow = [0]*(h+1)\ncol = [0]*(w+1)\nbombs = set([])\nfor i in range(m):\n a,b = map(int,input().split())\n row[a] += 1\n col[b] += 1\n bombs.add((a,b))\nr,c = max(row),max(col)\nrcnt,ccnt = 0,0\nfor v in row:\n if v==r:\n rcnt += 1\nfor v in col:\n if v==c:\n ccnt += 1\ndou... | ['Runtime Error', 'Accepted'] | ['s076090017', 's857434081'] | [9240.0, 9132.0] | [24.0, 29.0] | [431, 50] |
p02576 | u536642030 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = list(map(int, input().split()))\n\nprint((n+x-1//x) * t)', 'n,x,t = list(map(int, input().split()))\n\nprint(((n+x-1)//x) * t)'] | ['Wrong Answer', 'Accepted'] | ['s110094840', 's366416515'] | [9156.0, 9084.0] | [25.0, 27.0] | [62, 64] |
p02576 | u540631540 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\nprint(t * (n + (x - 1)) // x)', 'n, x, t = map(int, input().split())\nif n % x == 0:\n print(t * (n // x))\nelse:\n print(t * (n // x + 1))'] | ['Wrong Answer', 'Accepted'] | ['s991902424', 's667198310'] | [9084.0, 9152.0] | [32.0, 31.0] | [65, 108] |
p02576 | u547520179 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n=int(input())\narr=list(map(int,input().split()))\nans=0\nfor i in range(1,n):\n\tif(arr[i]<arr[i-1]):\n\t\tans+=arr[i-1]-arr[i]\n\t\tarr[i]+=arr[i-1]-arr[i]\n\t\t\nprint(ans)\n\t\n', 'n,x,t=map(int,input().split())\nans=0;\nwhile(n>0):\n\tans+=t;\n\tn-=x;\nprint(ans)\n'] | ['Runtime Error', 'Accepted'] | ['s635274059', 's901076012'] | [9048.0, 9152.0] | [23.0, 35.0] | [164, 77] |
p02576 | u548976218 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\ncnt = n/x\nif n%x > 0:\n cnt += 1\nprint(int(cnt*t))', 'n, x, t = map(int, input().split())\ncnt = n // x\nif n % x > 0:\n cnt += 1\nprint(int(cnt*t))'] | ['Wrong Answer', 'Accepted'] | ['s526241022', 's779308955'] | [9116.0, 9152.0] | [24.0, 29.0] | [88, 93] |
p02576 | u550416338 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\nN, X, T = input()\nS = math.ceil(N/X)\nAns = S * T\nprint(Ans)', 'import math\nN, X, T = map(int, input().split())\nS = math.ceil(N/X)\nAns = S * T\nprint(Ans)'] | ['Runtime Error', 'Accepted'] | ['s940540362', 's110952276'] | [9020.0, 9156.0] | [29.0, 34.0] | [71, 89] |
p02576 | u556477263 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["d, t, s = map(int, input().split())\n\nif d > t * s:\n\t\tprint('No')\nif d <= t * s:\n\t\tprint('Yes')", 'n, x, t = map(int, input().split())\n\nif n % x == 0:\n i = n // x\n print(t * i)\nif n % x != 0:\n i = n // x + 1\n print(t * i)'] | ['Wrong Answer', 'Accepted'] | ['s605506026', 's520999389'] | [9060.0, 8956.0] | [28.0, 26.0] | [94, 134] |
p02576 | u561294476 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['N, X, T = map(int, input().split())\nprint(-(-N/X)*T)', 'N, X, T = map(int, input().split())\nprint(int(-(-N/X)*T))\n', 'N, X, T = map(int, input().split())\nprint(int(-(-N//X)*T))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s221924478', 's710367665', 's557494909'] | [9080.0, 9048.0, 9140.0] | [29.0, 30.0, 29.0] | [52, 58, 59] |
p02576 | u561615664 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ["H, W = map(int, input().split())\nCh, Cw = map(int, input().split())\nDh, Dw = map(int, input().split())\nS=[list(map(str, list(input()))) for i in range(H)]\n\nah = Ch\naw = Cw\ncount = 0\n\nwhile (ah != Dh) or (aw != Dw):\n h = Dh - ah\n w = Dw - aw\n if h > 0:\n if S[ah+1][aw] == '.':\n ... | ['Runtime Error', 'Accepted'] | ['s026195737', 's422807542'] | [9096.0, 9144.0] | [25.0, 30.0] | [539, 83] |
p02576 | u561691391 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import math\nN, X, T = int(input())\n\nprint(T * math.ceil(N / X))', 'import math\nN, X, T = map(int(input().split()))\n\nprint(T * math.ceil(N / X))\n', 'import math\nN, X, T = map(int, input().split())\n\nprint(T * math.ceil(N / X))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s564917288', 's954741282', 's320528462'] | [9076.0, 9088.0, 9144.0] | [23.0, 23.0, 26.0] | [63, 77, 77] |
p02576 | u562147608 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['a = input()\ns = 0\nfor i in a:\n s += int(i)\nif s % 9 == 0 :\n print("Yes")\nelse:\n print("No")', 'a = input().split(" ")\ng = int(a[0])\nc = int(a[1])\nb = int(a[2])\nl = c\nm = b\nwhile c < g :\n c = c + l\n b = b + m\nprint(b)\n'] | ['Runtime Error', 'Accepted'] | ['s421176715', 's673997039'] | [9120.0, 9164.0] | [35.0, 27.0] | [100, 128] |
p02576 | u562577097 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import sys\ninput = sys.stdin.readline\nread = lambda: list(map(int, input().strip().split()))\nn, x, t = read()\nprint(n//x * t)', 'import sys\nfrom math import sqrt, gcd, ceil, log, floor\nfrom bisect import bisect, bisect_left\nfrom collections import defaultdict, Counter, deque\nfrom heapq import heapify, heappus... | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s013156048', 's132861026', 's006917835'] | [9156.0, 9468.0, 9388.0] | [33.0, 28.0, 32.0] | [125, 459, 454] |
p02576 | u568576853 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=map(int,input().split())\nprint(n//x+((n%x)!=0)*t)', 'n,x,t=map(int,input().split())\nprint((n//x+((n%x)!=0)*t)\n', 'n,x,t=map(int,input().split())\nprint((n//x+((n%x)!=0))*t)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s332434989', 's784977274', 's495469945'] | [8968.0, 8820.0, 9140.0] | [28.0, 22.0, 28.0] | [55, 57, 57] |
p02576 | u571537830 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n, x, t = map(int, input().split())\n\nmod = n % x\n\nprint(((n-mod)/x + 1)*t)', 'n, x, t = map(int, input().split())\n\nmod = n % x\n\nif mod != 0:\n print(int(((n-mod)/x + 1)*t))\n\nif mod == 0:\n print(int(((n-mod)/x)*t))'] | ['Wrong Answer', 'Accepted'] | ['s389802669', 's856608803'] | [9152.0, 9168.0] | [28.0, 34.0] | [74, 140] |
p02576 | u576409165 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int, input().split())\nprint(t*(n+x-1)/x)', 'n,x,t = map(int, input().split())\nprint((n+x-1)/x * t)', 'n,x,t = map(int, input().split())\nprint((n+x-1)//x * t)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s137517851', 's442315794', 's256127409'] | [8996.0, 9064.0, 9060.0] | [27.0, 29.0, 28.0] | [52, 54, 55] |
p02576 | u581641595 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t = map(int,input().split())\nif n%x == 0:\n print(n/x)\nelse:\n print((n/x) + 1)', 'n,x,t = map(int,input().split())\nif n%x == 0:\n print(int((n/x)*t))\nelse:\n print(int(((n//x)+1)*t))'] | ['Wrong Answer', 'Accepted'] | ['s355444982', 's143863401'] | [9156.0, 9160.0] | [25.0, 31.0] | [83, 100] |
p02576 | u583285098 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['import numpy as np\n\nH, W, M = map(int, input().split())\nh_t = [0]*H\nw_t = [0]*W\nt = {}\nfor i in range(M):\n h, w = map(int, input().split())\n t[(h-1, w-1)] = 1\n h_t[h-1]+=1\n w_t[w-1]+=1\nprint(t)\nh_max = max(h_t)\nh_max_list = [i for i in range(len(h_t)) if h_t[i] == h_max]\nw_max = max(w_t)\nw_... | ['Runtime Error', 'Accepted'] | ['s581369405', 's164303932'] | [27076.0, 9144.0] | [120.0, 31.0] | [513, 87] |
p02576 | u583363497 | 2,000 | 1,048,576 | Takahashi loves takoyaki - a ball-shaped snack. With a takoyaki machine, he can make at most X pieces of takoyaki at a time, taking T minutes regardless of the number of pieces to make. How long does it take to make N takoyaki? | ['n,x,t=list(map(int,input().split()))\na=n%x\nb=n//x\n\nif a==0:\n c=b*t\nelse :\n c=(b+1)*t\nprint(C)\n\n', '1=<N,X,T=<1000\nnumber =N/X\nnumber =round(number)\ntime = number*T\nprint(time)', 'n,x,t=list(map(int,input().split()))\na=n%x\nb=n//x\n \nif a==0:\n c=b*t\nelse:\n c=(b+1)*t\nprint(c)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s060409670', 's348699725', 's104960032'] | [9024.0, 8888.0, 9084.0] | [28.0, 25.0, 31.0] | [97, 76, 95] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.