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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03423 | u032716397 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N=int(input())\nNCount = 0\nwhile N =>0:\n NCount+= 1\n N -=3\nprint(NCount-1)', 'N=int(input())\nNCount = 0\nwhile N >=0:\n NCount+= 1\n N -=3\nprint(NCount-1)'] | ['Runtime Error', 'Accepted'] | ['s942217688', 's173183595'] | [2940.0, 2940.0] | [17.0, 17.0] | [79, 79] |
p03423 | u047535298 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input()//3)', 'print(int(input())//3)'] | ['Runtime Error', 'Accepted'] | ['s608656665', 's643726354'] | [2940.0, 3064.0] | [17.0, 19.0] | [21, 22] |
p03423 | u048945791 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['a = input()\nb = a / 3\nprint(b)', 'a = int(input())\nb = a / 3\nprint(b)', 'a = input()\nprint(a/3)', 'a = int(input())\nb = int(a / 3)\nprint(b)'] | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s003703247', 's056795774', 's732382132', 's084788557'] | [2940.0, 2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0, 17.0] | [30, 35, 22, 40] |
p03423 | u051751608 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input() // 3)\n', 'print(int(input()) // 3)\n'] | ['Runtime Error', 'Accepted'] | ['s210261105', 's911276120'] | [2940.0, 2940.0] | [17.0, 17.0] | [24, 25] |
p03423 | u052347048 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['answer = int(input()) // 3\nif answer % 3 >= 1:\n answer += 1 \nprint(answer)', 'a=int(input());print(a//3)'] | ['Wrong Answer', 'Accepted'] | ['s176606918', 's921857148'] | [2940.0, 3316.0] | [17.0, 19.0] | [77, 26] |
p03423 | u057463552 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input)\nprint(N // 3)', 'N = int(input())\nprint(N // 3)'] | ['Runtime Error', 'Accepted'] | ['s417656358', 's552880813'] | [2940.0, 2940.0] | [17.0, 17.0] | [28, 30] |
p03423 | u061982241 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nS ="MARCH"\nS2 = [0]*len(S)\nn=0\n\nfor i in range(N):\n s = input()\n for k, j in enumerate(S2):\n if s[0] == j:\n S2[k]+=1\n \nfor i in range(len(S2)):\n for j in range(i+1,len(S2)):\n for k in range(j+1,len(S2)):\n n +=S2[i]*S2[j]*S2[k]\n ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s547501665', 's910105819', 's914460139'] | [3060.0, 3064.0, 2940.0] | [17.0, 18.0, 17.0] | [314, 493, 28] |
p03423 | u062484507 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['C = [input() for _ in range(3)]\nans = C[0][0] + C[1][1] + C[2][2]\nprint(ans)', 'N = int(input())\nans = N // 3\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s136740828', 's728793270'] | [2940.0, 2940.0] | [18.0, 17.0] | [76, 40] |
p03423 | u064827461 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["num = int(input())\ncolors = map(str, input().split())\n\nif len(set(colors)) == 3:\n print('Three')\nelse:\n print('Four')", 'n = int(input())\nprint(n//3)\n'] | ['Runtime Error', 'Accepted'] | ['s015538911', 's384243133'] | [2940.0, 2940.0] | [18.0, 17.0] | [123, 29] |
p03423 | u067394678 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(print())\ngroup = 0\nif n%3==0:\n group = n/3\nelif n%3==1:\n group = (n-1)/3\nelse:\n group = (n-2)/3\nprint(int(group))', 'n = int(input())\ngroup = 0\nif n%3==0:\n group = n/3\nelif n%3==1:\n group = (n-1)/3\nelse:\n group = (n-2)/3\nprint(int(group))'] | ['Runtime Error', 'Accepted'] | ['s971479397', 's737736930'] | [3060.0, 3060.0] | [17.0, 17.0] | [130, 130] |
p03423 | u077671688 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["N = int(input('整数を入力してね>'))\nX = N//3\nprint(X)", 'N = int(input())\nX = N//3\nprint(X)'] | ['Wrong Answer', 'Accepted'] | ['s994369841', 's598963246'] | [9132.0, 9036.0] | [30.0, 29.0] | [61, 34] |
p03423 | u086503932 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["import itertools\nimport math\n\nN = int(input())\nS_list = []\nfor i in range(N):\n S_list.append(input())\n\ncount_M = 0\ncount_A = 0\ncount_R = 0\ncount_C = 0\ncount_H = 0\n\nfor l in S_list:\n if l.startswith('M'):\n count_M += 1\n elif l.startswith('A'):\n count_A += 1\n elif l.startswi... | ['Runtime Error', 'Accepted'] | ['s683023151', 's984638891'] | [3064.0, 2940.0] | [17.0, 18.0] | [657, 24] |
p03423 | u087789049 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['a = int(input())\ndef more_than_three(a):\n if a < 3:\n return 0\n else:\n return a//3\nprint(more_than_three(9))', 'ips = []\nips.append(input())\nwhile True:\n try:\n ips.append(input())\n except (EOFError):\n break\nnum = int(ips[0])\nhina = ips[1]\nv = []\nfor i in range(nu... | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s274068834', 's556697357', 's252810428'] | [3064.0, 3064.0, 2940.0] | [20.0, 17.0, 17.0] | [127, 296, 127] |
p03423 | u094191970 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print((int(input())+3-1)//3)', 'n=int(input())\nprint(n//3)'] | ['Wrong Answer', 'Accepted'] | ['s056011356', 's211316005'] | [2940.0, 9120.0] | [17.0, 25.0] | [28, 26] |
p03423 | u095756391 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\n \nS = list(map(int, input().split()))\n \ncolor = [0, 0, 0, 0]\n \nfor s in S:\n if (color.count(0) == 0):\n print("Four")\n break\n \n if (s == "P"):\n color[0] += 1\n elif (s == "G"):\n color[1] += 1\n elif (s == "W"):\n color[2] += 1\n else:\n color[3] += 1\n \nif (color... | ['Runtime Error', 'Accepted'] | ['s418538419', 's134288221'] | [3064.0, 2940.0] | [19.0, 24.0] | [329, 45] |
p03423 | u096845660 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['# 089A\n\n\nN = int(input())\n\n\n\n\n\nprint(round(N / 3))', '# 089A\n\n\nN = int(input())\n\n\n\n\n\nprint(int( N / 3 ))'] | ['Wrong Answer', 'Accepted'] | ['s722571903', 's283953898'] | [9092.0, 8908.0] | [27.0, 30.0] | [253, 253] |
p03423 | u106181248 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input()//3)', 'print(int(input())//3)'] | ['Runtime Error', 'Accepted'] | ['s172918332', 's913452986'] | [2940.0, 2940.0] | [17.0, 17.0] | [21, 22] |
p03423 | u113255362 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nres = int(N / 3)\nmb = N/3\nif mb - res > 0:\n res += 1\nprint(res)\n ', 'N = int(input())\nres = int(N / 3)\nmb = N/3\nif mb - res > 0:\n res += 1\nif N <=2:\n res = 0\nprint(res)\n ', 'N = int(input())\nres = int(N / 3)\nif N <=2:\n res = 0\nprint(res)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s264969436', 's972531812', 's162857522'] | [9072.0, 9140.0, 9080.0] | [30.0, 28.0, 23.0] | [84, 104, 64] |
p03423 | u119345557 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=int(input())/3\nprint(n)', 'n=int(input())/3\nprint(int(n))\n'] | ['Wrong Answer', 'Accepted'] | ['s547404946', 's619822841'] | [2940.0, 2940.0] | [17.0, 18.0] | [25, 31] |
p03423 | u122111917 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["print('人数を入力するとグループ数が表示されます >')\nN = int(input())\n\nanswer = int(N / 3)\nprint(answer)", 'N = int(input())\n\nanswer = int(N / 3)\nprint(answer)\n\n\n'] | ['Wrong Answer', 'Accepted'] | ['s547074765', 's024925934'] | [9096.0, 9108.0] | [29.0, 32.0] | [123, 54] |
p03423 | u123756661 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input()//3))', 'print(int(input()//3)', 'print(int(input())//3)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s321941992', 's910158083', 's624717313'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [22, 21, 22] |
p03423 | u124662294 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nprint(N*(N+1)/2)', 'N = input()\nx = int(N)\n\nanswer = x // 3\nprint (answer)'] | ['Wrong Answer', 'Accepted'] | ['s094020328', 's149156710'] | [9080.0, 9004.0] | [27.0, 29.0] | [33, 54] |
p03423 | u125205981 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['def main():\n N = int(input())\n\n grp, mod_ = divmod(N, 3)\n if mod_:\n print(grp + 1)\n else:\n print(grp)\n\nmain()\n', 'def main():\n N = int(input())\n print(N // 3)\n\nmain()\n'] | ['Wrong Answer', 'Accepted'] | ['s853789446', 's897068136'] | [2940.0, 2940.0] | [17.0, 19.0] | [136, 59] |
p03423 | u128527648 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print((int)input()/3)', 'print(int(input())//3)'] | ['Runtime Error', 'Accepted'] | ['s625048021', 's927713353'] | [2940.0, 2940.0] | [17.0, 17.0] | [21, 22] |
p03423 | u131405882 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['import math\nN = int(input())\nans = math.floor(N)\nprint(ans)', 'import math\nN = int(input())\nans = math.floor(N/3)\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s745012143', 's109389415'] | [2940.0, 2940.0] | [17.0, 19.0] | [59, 61] |
p03423 | u138486156 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\nans(n//3)', 'n = int(input())\nprint(n//3)'] | ['Runtime Error', 'Accepted'] | ['s617809400', 's352294451'] | [2940.0, 2940.0] | [17.0, 17.0] | [26, 28] |
p03423 | u140251125 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['import math\nimport numpy as np\nfrom operator import mul\n\n\n# l = [int(x) for x in list(str(N))]\n\n\n\n\n# if x not in li_uniq:\n\n\n\n\n\n# key = a, value = b\n\n# a, b = map(int, input().split())\n\n\n\nN = int(input())\nx = math.ceil(N/3)\nprint(x)', 'import math\nimport numpy as np\nfrom operator import... | ['Wrong Answer', 'Accepted'] | ['s244726125', 's752683655'] | [18844.0, 13092.0] | [304.0, 183.0] | [554, 555] |
p03423 | u150641538 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\nprint(n//3 + 1)', 'n = int(input())\nprint(n//3 + int(n%3))', 'n = int(input())\nprint(n//3 + (n%3 >0))', 'n = int(input())\nprint(n//3)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s201584265', 's730379160', 's841648652', 's507241172'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 19.0] | [32, 39, 39, 28] |
p03423 | u160414758 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['import sys\ndef Is(): return [int(x) for x in sys.stdin.readline().split()]\ndef I(): return int(sys.stdin.readline())\n\nH,W,D = Is()\nd = dict()\nfor i in range(H):\n s = Is()\n for j,e in enumerate(s):\n d[e] = (i,j)\nQ = I()\n\nm = [[0]*H*W for i in range(H*W)] \ndef calc(l,r):\n if m[l][r] != 0:\... | ['Runtime Error', 'Accepted'] | ['s997447260', 's190613837'] | [3064.0, 3436.0] | [17.0, 90.0] | [576, 248] |
p03423 | u162019547 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["N = int(input())\nif N < 3:\n print('0')\nelif N % 3 == 0:\n print('N/3')\nelse:\n print('N%3')", 'N = int(input())\nprint(N//3)'] | ['Wrong Answer', 'Accepted'] | ['s157575759', 's156781893'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 28] |
p03423 | u196574642 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(input() // 3)', 'print(int(input())// 3)'] | ['Runtime Error', 'Accepted'] | ['s556760342', 's037868993'] | [2940.0, 2940.0] | [17.0, 17.0] | [19, 23] |
p03423 | u203995947 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["n = int(input())\ns = list(map(str, input().split(' ')))\n#print(s)\n\nsi = [print('Four')if 'Y' in s else print('Three') ]\n", 'n = int(input())\nprint(int(n/3))'] | ['Runtime Error', 'Accepted'] | ['s781642251', 's372334078'] | [2940.0, 2940.0] | [17.0, 17.0] | [120, 32] |
p03423 | u221345507 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = (int, input())\nN//3', 'N = (int, input())\nprint(N//3)', 'N = int(input())\nprint(N//3)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s347223655', 's993429540', 's928494725'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [23, 30, 28] |
p03423 | u222634810 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["N = int(input())\nS = list(input().split())\n\nif 'Y' in S:\n print('Four')\nelse:\n print('Three')\n ", 'N = int(input())\n\nprint(int(N/3))'] | ['Runtime Error', 'Accepted'] | ['s637165509', 's756741063'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 33] |
p03423 | u238084414 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input)\nprint(N//3)', 'N = int(input())\nprint(N//3)'] | ['Runtime Error', 'Accepted'] | ['s117737587', 's417543540'] | [2940.0, 2940.0] | [18.0, 17.0] | [26, 28] |
p03423 | u243572357 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input()) // 2)', 'print(int(input()) // 3)'] | ['Wrong Answer', 'Accepted'] | ['s773268071', 's497315830'] | [2940.0, 9088.0] | [17.0, 26.0] | [24, 24] |
p03423 | u247211039 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N=int(intput())\n\nprint(N//3)', 'N=int(input())\n \nprint(N//3)'] | ['Runtime Error', 'Accepted'] | ['s865550779', 's690566949'] | [9036.0, 9152.0] | [24.0, 27.0] | [28, 28] |
p03423 | u249727132 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nprint(N//2)', 'N = int(input())\nprint(N//3)'] | ['Wrong Answer', 'Accepted'] | ['s209899049', 's063775296'] | [2940.0, 2940.0] | [17.0, 17.0] | [28, 28] |
p03423 | u252964975 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["n=int(input())\nprint('{:.0f}'.format(n/3))", "n=int(input())\nprint('{:.0f}'.format(math.floor(n/3)))", "import math\nn=int(input())\nprint('{:.0f}'.format(math.floor(n/3)))\n"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s366421394', 's992875045', 's527161164'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [42, 54, 67] |
p03423 | u258565160 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['# -*- coding: utf-8 -*-\nN = input()\nprint N/3', '# -*- coding: utf-8 -*-\nN = int(input())\nprint int(N/3)', '# -*- coding: utf-8 -*-\nN = input()\nprint (N/3)', '# -*- coding: utf-8 -*-\nN = int(input())\nprint (int(N/3))'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s281708506', 's348014509', 's687750549', 's446529544'] | [2940.0, 2940.0, 2940.0, 3064.0] | [18.0, 17.0, 18.0, 18.0] | [45, 55, 47, 57] |
p03423 | u263830634 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print (int(input()//3)', 'print (int(input())//3)'] | ['Runtime Error', 'Accepted'] | ['s481567710', 's126555692'] | [2940.0, 2940.0] | [17.0, 17.0] | [22, 23] |
p03423 | u265608204 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = input()\na = []\nfor i in range(N):\n a.append(input())\nb = list(set(a))\nIf length(b) ==3 :\n print(3)\nelso :\n print(4)', 'N = int(input())\nNum_of_Group = int(N/3)\nprint(Num_of_Group)'] | ['Runtime Error', 'Accepted'] | ['s557062769', 's389061872'] | [2940.0, 2940.0] | [18.0, 17.0] | [124, 60] |
p03423 | u268516119 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input)//3)', 'print(int(input())//3)'] | ['Runtime Error', 'Accepted'] | ['s454864348', 's982513588'] | [2940.0, 2940.0] | [17.0, 17.0] | [20, 22] |
p03423 | u270681687 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\n\ns = input().split()\ncolor = "Three"\n\nfor i in s:\n if i == "Y":\n color = "Four"\n break\nprint(color)', 'n = int(input())\n\ncount = 0\n\nif n <= 2:\n print(count)\nelse:\n while n >= 3:\n n -= 3\n count += 1\n print(count)'] | ['Runtime Error', 'Accepted'] | ['s750984797', 's702088129'] | [2940.0, 2940.0] | [19.0, 17.0] | [133, 131] |
p03423 | u271545619 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\nprint(n / 3)', 'n = int(input())\nprint(int(n / 3))'] | ['Wrong Answer', 'Accepted'] | ['s090564760', 's764249155'] | [2940.0, 2940.0] | [18.0, 17.0] | [29, 34] |
p03423 | u273201018 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["#!/usr/bin/env python3\n# -*- coding: utf-8 -*-\n\n\nN = int(input())\nS = []\nfor i in range(N):\n S.append(input())\n\nm = sum([name[0] == 'M' for name in S])\na = sum([name[0] == 'A' for name in S])\nr = sum([name[0] == 'R' for name in S])\nc = sum([name[0] == 'C' for name in S])\nh = sum([name[0] == 'H' for na... | ['Runtime Error', 'Accepted'] | ['s866437092', 's469240009'] | [3064.0, 2940.0] | [17.0, 17.0] | [401, 79] |
p03423 | u278143034 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['\nN = int(input())\n \n\ngroupnum = math.floor(N / 3)\n \n\nprint(groupnum)', '\nN = int(input())\n\n\ngroupnum = math.trunc(N / 3)\n\n\nprint(groupnum)', '\nN = int(input())\n \n\nprint(N // 3)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s161389944', 's687647388', 's082951904'] | [9084.0, 9124.0, 9052.0] | [29.0, 25.0, 27.0] | [224, 222, 181] |
p03423 | u280219637 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['H, W, D = map(int, input().split())\nM = [(-1, -1)]*(H*W+1)\nA = []\nfor i in range(H):\n As = list(map(int, input().split()))\n for j in range(W):\n a = As[j]\n M[a] = (i, j)\n A.append(As)\n#print(M)\nDist = [0]*(H*W+1)\nfor k in range(0, H*W-D+1):\n i, j = M[k]\n x, y = M[k+D]\n Dist[k+D] = Dist[k]+abs... | ['Runtime Error', 'Accepted'] | ['s359793863', 's570967691'] | [3188.0, 2940.0] | [17.0, 17.0] | [422, 28] |
p03423 | u284363684 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['# input\nN = int(input())\n\n\nif N < 3:\n print(0)\nelse:\n print(N // 2)', '# input\nN = int(input())\n\n\nif N < 3:\n print(0)\nelse:\n print(N // 3)'] | ['Wrong Answer', 'Accepted'] | ['s648815023', 's910888365'] | [8996.0, 9072.0] | [30.0, 33.0] | [80, 80] |
p03423 | u291628833 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | [' int(input())\nprint(n // 3)', 'n = int(input())\nprint(n // 3)'] | ['Runtime Error', 'Accepted'] | ['s756775652', 's375446275'] | [2940.0, 2940.0] | [17.0, 17.0] | [27, 30] |
p03423 | u297103202 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["N = int(input())\nS = list(map(str, input().split()))\nif 'Y' in S:\n print('Four')\nelse:\n print('Three')\n", 'N = int(input())\n\nprint(N // 3)\n'] | ['Runtime Error', 'Accepted'] | ['s508977343', 's941493382'] | [2940.0, 2940.0] | [17.0, 17.0] | [109, 32] |
p03423 | u306142032 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\n\nprint(n/3)\n', 'n=int(input());print(n//3)\n'] | ['Wrong Answer', 'Accepted'] | ['s300480254', 's740987660'] | [3316.0, 2940.0] | [21.0, 17.0] | [29, 27] |
p03423 | u309457741 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nprint(N/3)\n', 'print(int(input())//3)'] | ['Wrong Answer', 'Accepted'] | ['s904856822', 's999987801'] | [3064.0, 2940.0] | [17.0, 17.0] | [28, 22] |
p03423 | u313043608 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=input()\nprint(n//3)', 'print(int(input())//3)'] | ['Runtime Error', 'Accepted'] | ['s174039510', 's899509197'] | [8860.0, 9148.0] | [32.0, 29.0] | [21, 22] |
p03423 | u319612498 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=int(input()\nprint(int(n//3))', 'n=int(input())\nprint(int(n//3))\n'] | ['Runtime Error', 'Accepted'] | ['s969947427', 's776294345'] | [2940.0, 2940.0] | [17.0, 17.0] | [30, 32] |
p03423 | u327532412 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nif N % 3 != 0:\n print(N // 3 - 1)\nelse:\n print(N // 3)', 'N = int(input())\nif N % 3 != 0:\n print(N // 3)\nelse:\n print(N // 3)'] | ['Wrong Answer', 'Accepted'] | ['s817098339', 's072995917'] | [9180.0, 8988.0] | [31.0, 28.0] | [73, 69] |
p03423 | u328755070 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(ipnut())\n\nans = N // 3\nprint(ans)\n', 'N = int(input())\n\nans = N // 3\nprint(ans)\n'] | ['Runtime Error', 'Accepted'] | ['s433567924', 's251328482'] | [2940.0, 2940.0] | [17.0, 17.0] | [42, 42] |
p03423 | u334248456 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = input()\n\nreturn int( N / 3 )\n', 'import numpy as np\n\n\nHWD = input().split()\nH = int(HWD[0])\nW = int(HWD[1])\nD = int(HWD[2])\n\nA = []\nfor i in range(H):\n Ai = []\n Ai_raw = input().split()\n for j in range(W):\n Ai.append(int(Ai_raw[j]))\n A.extend(Ai)\n\nQ = int(input())\nL = []\nR ... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s083364944', 's172384859', 's513589398'] | [2940.0, 14120.0, 2940.0] | [17.0, 197.0, 17.0] | [33, 1201, 39] |
p03423 | u339503988 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input())>>1)', 'print(int(input())//3)'] | ['Wrong Answer', 'Accepted'] | ['s087152140', 's048012274'] | [2940.0, 2940.0] | [17.0, 17.0] | [22, 22] |
p03423 | u339922532 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\n\nif n % 3 in (1, 2):\n print(n // 3 - 1)\nelse:\n print(n // 3)', 'n = int(input())\n\nprint((n - n % 3) // 3)'] | ['Wrong Answer', 'Accepted'] | ['s297429357', 's771532722'] | [2940.0, 2940.0] | [17.0, 17.0] | [83, 41] |
p03423 | u343977188 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N=int(input())\nif N > 2:\n print(N//3 + N%3)\nelse:\n print(0)', 'N=int(input())\nif N > 2:\n print(N//3)\nelse:\n print(0)\n'] | ['Wrong Answer', 'Accepted'] | ['s710633420', 's211743496'] | [2940.0, 2940.0] | [17.0, 17.0] | [61, 56] |
p03423 | u355154595 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['a=int(input())\nif a//2>=1:\n print(a//2)\nelse:\n print(0)', 'a=int(input())\nprint(a/3)', 'a=int(input())\nif a//3>=1:\n print(a//3)\nelse:\n print(0)\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s516736243', 's885893834', 's823307232'] | [9140.0, 9148.0, 9084.0] | [28.0, 25.0, 28.0] | [57, 25, 58] |
p03423 | u357751375 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["n = int(input())\ns = [input().split]\nif len(set(s)) == 3:\n print('Three')\nelse:\n print('Four')", 'n = int(input())\nif n < 3:\n print(0)\nelse:\n i = n % 3\n if i == 0:\n print(n // 3)\n else:\n print(n // 3 + 1)', "n = int(input())\ns = list(input().split())\ns = set(s)\nprint(s)... | ['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s301614376', 's729726268', 's943228459', 's065526149'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 19.0, 18.0, 17.0] | [100, 132, 121, 63] |
p03423 | u363836311 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=int(input())\ncnt=0\nwhile n>0:\n cnt+=1\n n-=3\nprint(cnt)', 'n=int(input())\ncnt=0\nwhile n>2:\n cnt+=1\n n-=3\nprint(cnt)'] | ['Wrong Answer', 'Accepted'] | ['s924656656', 's294470506'] | [2940.0, 2940.0] | [17.0, 19.0] | [58, 58] |
p03423 | u367130284 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['import itertools as i,collections as c;print(sum(p*q*r for p,q,r in i.combinations(c.Counter(s[0]*(s[0]in"MARCH")for s in open(0).readlines()[1:]).values(),3)))', 'print(int(input())//3)'] | ['Wrong Answer', 'Accepted'] | ['s016361834', 's659670587'] | [3316.0, 2940.0] | [20.0, 17.0] | [160, 22] |
p03423 | u368780724 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["from collections import defaultdict\nnametag = defaultdict(lambda: 0)\nN = int(input())\nfor _ in range(N):\n s = input()\n if s[0] == 'M':\n nametag['M'] += 1\n if s[0] == 'A':\n nametag['A'] += 1\n if s[0] == 'R':\n nametag['R'] += 1\n if s[0] == 'C':\n nametag['C'] += 1\n... | ['Runtime Error', 'Accepted'] | ['s792823667', 's220500759'] | [3444.0, 2940.0] | [24.0, 18.0] | [581, 22] |
p03423 | u368807198 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["n = int(input())\nitems = set(input().split())\nresults = {3: 'Three', 4: 'Four'}\nif len(items) in results:\n print(results[len(items)])\n", 'print(int(input())//3)\n'] | ['Runtime Error', 'Accepted'] | ['s278607102', 's241460222'] | [2940.0, 2940.0] | [17.0, 17.0] | [137, 23] |
p03423 | u371467115 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=int(input())\nif n%3==0:\n print(n//3)\nelse:\n print(n//3+1)', 'n=int(input())\nif n%3==0:\n print(n//3)\nelse:\n print(n//3)\n'] | ['Wrong Answer', 'Accepted'] | ['s700562966', 's200670895'] | [2940.0, 2940.0] | [18.0, 17.0] | [65, 64] |
p03423 | u374146618 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\ns = input().split()\n\nif "Y" in s:\n print("Four")\nelse:\n print("Three")', 'n = int(input())\nprint(n//3)'] | ['Runtime Error', 'Accepted'] | ['s420128442', 's722883766'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 28] |
p03423 | u379136995 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['a=int(input())\nprint(a/3)', 'a=int(input())\nprint(a//3)'] | ['Wrong Answer', 'Accepted'] | ['s655882681', 's806981862'] | [2940.0, 2940.0] | [18.0, 17.0] | [25, 26] |
p03423 | u379142263 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\ncnt = 0\nwhile n >= 3:\n\u3000\u3000\u3000\u3000n -=3\n cnt+=1\nprint()', 'import sys\nimport itertools\nsys.setrecursionlimit(1000000000)\nfrom heapq import heapify,heappop,heappush,heappushpop\n\nimport collections\n\nN = int(input())\nprint(N//3)'] | ['Runtime Error', 'Accepted'] | ['s285199154', 's950454319'] | [3064.0, 3316.0] | [20.0, 20.0] | [77, 166] |
p03423 | u385244248 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input())//38)\n', 'print(int(input())//3)\n'] | ['Wrong Answer', 'Accepted'] | ['s619415945', 's975304074'] | [2940.0, 3316.0] | [17.0, 21.0] | [24, 23] |
p03423 | u389910364 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["import functools\n\nimport os\n\nINF = float('inf')\n\n\ndef inp():\n return int(input())\n\n\ndef inpf():\n return float(input())\n\n\ndef inps():\n return input()\n\n\ndef inl():\n return list(map(int, input().split()))\n\n\ndef inlf():\n return list(map(float, input().split()))\n\n\ndef inls():\n ... | ['Wrong Answer', 'Accepted'] | ['s552533013', 's464537334'] | [3572.0, 3572.0] | [23.0, 23.0] | [811, 788] |
p03423 | u395202850 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(n / 3)\n', 'print(int(input()) // 3)\n'] | ['Runtime Error', 'Accepted'] | ['s086047407', 's762481532'] | [2940.0, 2940.0] | [17.0, 17.0] | [13, 25] |
p03423 | u399280934 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['num=int(input())\n\nif num<=2:\n print(0)\nelif num%3==0:\n print(num/3)\nelif num%3==1:\n print((num//3)+1)\nelse:\n print((num//3)+2)', 'num=int(input())\n\nif num<=2:\n print(0)\nelif num%3==0:\n print(num//3)\nelif num%3==1:\n print((num//3)+1)\nelse:\n print((num//3)+2)\n', 'num=int(input... | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s476303289', 's610926052', 's623082989', 's223363378'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0, 17.0] | [138, 140, 135, 132] |
p03423 | u405256066 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = input()\nprint(N//3)', 'N = int(input())\nprint(N//3)'] | ['Runtime Error', 'Accepted'] | ['s872899058', 's449603126'] | [2940.0, 2940.0] | [18.0, 17.0] | [23, 28] |
p03423 | u407730443 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['\n\nimport copy\n\nn = int(input())\ns = [input().replace("\\n", "") for i in range(n)]\nmarch_num_list = [0, 0, 0, 0, 0]\n\nfor name in s:\n for i, head in enumerate(("M", "A", "R", "C", "H")):\n if name[0] == head:\n march_num_list[i] += 1\n\npattern_num = 0\n\nfor i in range(len(march_num_list... | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s239450222', 's359377950', 's244882975'] | [3444.0, 3444.0, 3060.0] | [22.0, 24.0, 20.0] | [608, 608, 29] |
p03423 | u409064224 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\n\nprint(n/3)', 'n = int(input())\nprint(n//3)'] | ['Wrong Answer', 'Accepted'] | ['s067585823', 's894649341'] | [2940.0, 2940.0] | [17.0, 18.0] | [28, 28] |
p03423 | u416758623 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\ns = set(map(str,input().split()))\nif(len(s) == 3):\n print("Three")\nelse:\n print("Four")\n', 'n = int(input())\nprint(n // 3)'] | ['Runtime Error', 'Accepted'] | ['s812292943', 's684916271'] | [3064.0, 2940.0] | [18.0, 17.0] | [107, 30] |
p03423 | u420003653 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['ip = input()\n\nans = ip / 3\nprint(int(ans))', 'ip = int(input())\n\nans = ip / 3\nprint(int(ans))'] | ['Runtime Error', 'Accepted'] | ['s917859068', 's586106593'] | [3064.0, 2940.0] | [18.0, 17.0] | [42, 47] |
p03423 | u420200689 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['# -*- coding: utf-8 -*-\nwhile True:\n N = int(input())\n if N >= 1 and N <= 1000:\n continue\n if N < 3:\n print(0)\n else:\n if N/3 > 3.0:\n print(int(N/3)+1)\n else:\n print(int(N/3))', 'while True:\n N = int(input())\n if N >= 1 and N <= 1000:\n ... | ['Runtime Error', 'Accepted'] | ['s908776591', 's855059322'] | [2940.0, 2940.0] | [17.0, 17.0] | [237, 129] |
p03423 | u434872492 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nans N//3\nprint(ans)\n', 'N = int(input())\nans = N//3\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s498896416', 's871121538'] | [2940.0, 2940.0] | [17.0, 17.0] | [37, 38] |
p03423 | u437068347 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['import collections\nfrom pprint import pprint as pp\n\nn = int(input())\nd, m = divmod(n, 3)\nif d > 0 and m != 0:\n d += 1\nprint(d)', 'n = int(input())\nprint(n//3)'] | ['Wrong Answer', 'Accepted'] | ['s934105008', 's817587202'] | [3700.0, 2940.0] | [156.0, 17.0] | [127, 28] |
p03423 | u445922306 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\ni = 0\nwhile N >= 2:\n N = N - 3\n if N >= 0:\n i = i + 1\n print(N)\nprint(i)\n', 'N = int(input())\ni = 0\nwhile N >= 2:\n N = N - 3\n if N >= 0:\n i = i + 1\nprint(i)'] | ['Wrong Answer', 'Accepted'] | ['s329823206', 's527477567'] | [3060.0, 2940.0] | [17.0, 17.0] | [110, 92] |
p03423 | u448819425 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["# -*- coding: utf-8 -*-\nimport itertools\n\ndef comb1(n, r):\n if n == 0 or r == 0: return 1\n return comb1(n, r-1) * (n-r+1) / r\n\na = int(input())\n\nm_members = []\na_members = []\nr_members = []\nc_members = []\nh_members = []\n\nfor i in range(a):\n member = input()\n if(member[0:1] == 'M'):\n ... | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s277201879', 's385518894', 's401862260', 's817005640'] | [3064.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [1208, 290, 290, 84] |
p03423 | u451610133 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n = int(input())\nprint(n / 3)\n', 'print(n / 3)\n', 'n = int(input())\nprint(int(n / 3))\n'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s668691098', 's965129091', 's309068741'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [30, 13, 35] |
p03423 | u456353530 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(ipnut())\n\nprint(3 // N)', 'N = int(input())\n\nprint(N // 3)'] | ['Runtime Error', 'Accepted'] | ['s366041334', 's729895295'] | [2940.0, 2940.0] | [17.0, 17.0] | [31, 31] |
p03423 | u459511441 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\n\nx == N // 3\n\nprint(x)\n', "a, b = (int(x) for x in input().split())\nif a*b%2 == 0:\n print('Even')\nelse:\n print('Odd')", 'N = int(input())\n\nx = N // 3\n\nprint(x)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s820658107', 's893760785', 's972499140'] | [9040.0, 9108.0, 9120.0] | [24.0, 21.0, 26.0] | [40, 96, 39] |
p03423 | u461636820 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["def main():\ndef main():\n N = int(input())\n print(N // 3)\n\nif __name__ == '__main__':\n main()", "def main():\n N = int(input())\n print(N // 3)\n\nif __name__ == '__main__':\n main()"] | ['Runtime Error', 'Accepted'] | ['s404035916', 's043752332'] | [2940.0, 2940.0] | [17.0, 17.0] | [101, 89] |
p03423 | u463848480 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["def main():\n N = input()\n S = input().strip().split()\n\n if len(set(S)) == 3:\n return 'Three'\n else:\n return 'Four'\n \nif __name__ == '__main__':\n print(main())", "def main():\n N = int(input().strip())\n ret = N // 3\n return ret\nif __name__ == '__main__':\n print... | ['Runtime Error', 'Accepted'] | ['s610427613', 's357567585'] | [2940.0, 2940.0] | [17.0, 17.0] | [190, 117] |
p03423 | u478212979 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ["N = input('N: ')\nx = int(N) / 3\nprint(int(x))", 'N = input()\nx = int(N) / 3\nprint(int(x))'] | ['Wrong Answer', 'Accepted'] | ['s538560930', 's320568581'] | [3064.0, 2940.0] | [17.0, 17.0] | [45, 40] |
p03423 | u482157295 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input())\nhina = input().split()\nflag = "syurui_3"\nfor i in hina:\n if i == "Y":\n flag = "syurui_4"\nif flag == "syurui_3":\n print("Three")\nelse:\n print("Four")\n', 'a = int(input())\nprint(a//3)'] | ['Runtime Error', 'Accepted'] | ['s624660497', 's072797167'] | [2940.0, 2940.0] | [17.0, 17.0] | [172, 28] |
p03423 | u483640741 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=int(input())\n\ncount=0\n\nwhile True:\n if n-3>=3:\n count+=1\n \n if n<3:\n print(count)\n break\n', 'n=int(input())\n\nprint(n//3)\n\n'] | ['Time Limit Exceeded', 'Accepted'] | ['s747864765', 's044396695'] | [2940.0, 2940.0] | [2104.0, 17.0] | [121, 29] |
p03423 | u489717595 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N= map(int,input().split())\n\nif N=', 'N= int(input())\n\nprint(N//3)'] | ['Runtime Error', 'Accepted'] | ['s070139225', 's504953062'] | [8932.0, 9028.0] | [24.0, 28.0] | [34, 28] |
p03423 | u491656579 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(input() // 3)', 'print(int(input()) // 3)'] | ['Runtime Error', 'Accepted'] | ['s665117205', 's756111758'] | [2940.0, 2940.0] | [18.0, 18.0] | [19, 24] |
p03423 | u496280557 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N = int(input()) \nprint = N // 3 ', 'N = int(input()) \nprint (N // 3)'] | ['Wrong Answer', 'Accepted'] | ['s661179690', 's557621615'] | [9056.0, 9148.0] | [27.0, 23.0] | [34, 33] |
p03423 | u500207661 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(int(input())num / 3))', 'print(int(int(input()) / 3))'] | ['Runtime Error', 'Accepted'] | ['s968625384', 's519961715'] | [2940.0, 3316.0] | [17.0, 19.0] | [31, 28] |
p03423 | u506858457 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['N=int(input())\nN+=2\nans=N//2\nprint(ans)', 'N=int(input())\nN+=2\nans=N//2\nprint(N)', 'N=int(input())\nN+=2\nans=N//3\nans-=\nprint(ans)\n', 'N=int(input())\nprint(N//3)'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s120404032', 's595587925', 's633273482', 's911533420'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [39, 37, 46, 26] |
p03423 | u516554284 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['n=input()\nprint(n//3)\n', 'n=int(input())\nprint(n//3)'] | ['Runtime Error', 'Accepted'] | ['s837285800', 's727133763'] | [2940.0, 2940.0] | [17.0, 20.0] | [22, 26] |
p03423 | u518042385 | 2,000 | 262,144 | There are N students in a school. We will divide these students into some groups, and in each group they will discuss some themes. You think that groups consisting of two or less students cannot have an effective discussion, so you want to have as many groups consisting of three or more students as possible. Divide ... | ['print(int(input()//3))', 'print(int(input())//3)\n'] | ['Runtime Error', 'Accepted'] | ['s124354003', 's271298317'] | [2940.0, 2940.0] | [17.0, 17.0] | [22, 23] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.