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 |
|---|---|---|---|---|---|---|---|---|---|---|
p03206 | u883792993 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N = int(input())\nh = list(map(int, input().split()))\nh.append(0)\ncount=0\nwhile 1:\n flag=0\n for i in range(N):\n if h[i]>0:\n h[i] -= 1\n flag = 1\n if h[i+1]==0:\n count+=1\n else:\n pass\n if flag==0:\n break\nprint(count)', "D = int(input())\nprint('Christmas' + ' Eve'*(25-D))"] | ['Runtime Error', 'Accepted'] | ['s240382820', 's778361422'] | [3064.0, 2940.0] | [17.0, 17.0] | [256, 51] |
p03206 | u887207211 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D = int(input())\nprint("CHristmas" + " Eve"*(25-D))', 'N = int(input())\n\nprint("Christmas" + (25-N)*" Eve")'] | ['Wrong Answer', 'Accepted'] | ['s840545941', 's647189640'] | [2940.0, 2940.0] | [18.0, 17.0] | [51, 52] |
p03206 | u888933875 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['d=int(input())\nc="Chrismas"\ne="Eve"\nif d==25:\n print(c)\nelif d==24:\n print(c,e)\nelif d==23:\n print(c,e,e)\nelif d==22:\n print(c,e,e,e)', 'd=int(input())\nc="Christmas"\ne="Eve"\nif d==25:\n print(c)\nelif d==24:\n print(c,e)\nelif d==23:\n print(c,e,e)\nelif d==22:\n print(c,e,e,e)'] | ['Wrong Answer', 'Accepted'] | ['s650931058', 's378047444'] | [9000.0, 9068.0] | [25.0, 23.0] | [137, 138] |
p03206 | u889695981 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['n = int(input())\nl = []\nfor i in range(n):\n x = int(input())\n l.append(x)\nl.sort()\nl = l[::-1]\nans = 0 \nans += l[0]//2\nfor i in range(1,n):\n ans+=l[i]\nprint(ans)\n\n\n', 'n = int(input())\nl = ["Christmas"]\nfor i in range(25-n):\n l.append("Eve")\nprint(*l)\n\n\n'] | ['Runtime Error', 'Accepted'] | ['s271815117', 's331929476'] | [3060.0, 2940.0] | [17.0, 20.0] | [173, 89] |
p03206 | u896430034 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['S = input()\n\nif S ==22:\n print("Christmas Eve Eve Eve")\n\nelif S ==23:\n print("Christmas Eve Eve")\nelif S ==24:\n print("Christmas Eve")\nelif S ==25:\n print("Christmas")', 'S = int(input())\n\nif S == 22:\n print("Christmas Eve Eve Eve")\n\nelif S ==23:\n print("Christmas Eve Eve")\nelif S ==24:\n print("Christmas Eve")\nelif S ==25:\n print("Christmas")'] | ['Wrong Answer', 'Accepted'] | ['s967240317', 's781580065'] | [2940.0, 2940.0] | [18.0, 17.0] | [171, 177] |
p03206 | u896517320 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["n,x = map(int,input().split())\nl1='BPPPB'\nfor i in range(n-1):\n l2 = 'B'+l1+'P'+l1+'B'\n l1 = l2\ny = l1[:x].count('P')\nprint(y)", "d = int(input())\nif d=25:\n print('Christmas')\nelif d= 24:\n print('Christmas Eve')\nelif d = 23:\n print('Christmas Eve Eve')\nelif d = 22:\n print('Christmas Eve Eve Eve')", "d = int(input())\nif d==25:\n print('Christmas')\nelif d== 24:\n print('Christmas Eve')\nelif d == 23:\n print('Christmas Eve Eve')\nelif d == 22:\n print('Christmas Eve Eve Eve')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s087451714', 's586947080', 's140582005'] | [2940.0, 3064.0, 2940.0] | [17.0, 16.0, 17.0] | [132, 179, 183] |
p03206 | u897328029 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['n = int(input().split()[0])\n\ndata = dict(25="Christmas", 24="Christmas Eve",\n 23="Christmas Eve Eve",\n 22="Christmas Eve Eve Eve")\n\nprint(data[n])\n', 'n = int(input().split()[0])\n\ndata = {25:"Christmas",\n 24:"Christmas Eve",\n 23:"Christmas Eve Eve",\n 22:"Christmas Eve Eve Eve"}\n\nprint(data[n])\n'] | ['Runtime Error', 'Accepted'] | ['s673727858', 's870183088'] | [2940.0, 2940.0] | [17.0, 17.0] | [169, 165] |
p03206 | u898269094 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['in_t = input().split()\nn = int(in_t[0])\nk = int(in_t[1])\nlist = []\nfor i in range(k):\n list.append(int(input()))\nfor i in range(n - k):\n new = int(input())\n if (list[k-1] > new) | (new > list[2]):\n list.append(new)\n list.sort()\n diff_max = list[k-1] - list[k-2]\n diff_min = list[1] - list[2]\n if (diff_max > diff_min):\n list.remove(list[0])\n else:\n list.remove(list[k-1])\nprint(list[k-1] - list[0])', 'd = input()\nif d == "25":\n print("Christmas")\nelif d == "24":\n print("Christmas Eve")\nelif d == "23":\n print("Christmas Eve Eve")\nelif d == "22":\n print("Christmas Eve Eve Eve") '] | ['Runtime Error', 'Accepted'] | ['s468520463', 's444753488'] | [3064.0, 2940.0] | [17.0, 17.0] | [409, 183] |
p03206 | u898549691 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N, K = map(int, input().split())\nh = [int(input()) for i in range(N)]\nh.sort()\nprint(min(h[i+K-1] - h[i] for i in range(N-K+1)))', 'IN = int(input())\n\nif IN == 25:\n print("Christmas")\nelif IN == 24:\n print("Christmas Eve")\nelif IN == 23:\n print("Christmas Eve Eve")\nelif IN == 22:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s083719529', 's293120945'] | [2940.0, 3060.0] | [17.0, 17.0] | [128, 192] |
p03206 | u901582103 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["D = int(input)\nif D == 25:\n print('Christmas')\nelif D == 24:\n print('Christmas Eve')\nelif D == 23:\n print('Christmas Eve Eve')\nelse:\n print('Christmas Eve Eve Eve')", "D = int(input())\nif D == 25:\n print('Christmas')\nelif D == 24:\n print('Christmas Eve')\nelif D == 23:\n print('Christmas Eve Eve')\nelse:\n print('Christmas Eve Eve Eve')"] | ['Runtime Error', 'Accepted'] | ['s567187507', 's555375630'] | [2940.0, 2940.0] | [17.0, 17.0] | [176, 178] |
p03206 | u906709787 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['d = input()\nif (d == 25):print("Christmas")\nif (d == 24):print("Christmas Eve")\nif (d == 23):print("Christmas Eve Eve")\nif (d == 22):print("Christmas Eve Eve Eve")', 'd = int(input())\nif (d == 25):print("Christmas")\nif (d == 24):print("Christmas Eve")\nif (d == 23):print("Christmas Eve Eve")\nif (d == 22):print("Christmas Eve Eve Eve")'] | ['Wrong Answer', 'Accepted'] | ['s345151770', 's460196765'] | [2940.0, 2940.0] | [17.0, 17.0] | [163, 168] |
p03206 | u911828387 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["pb_list = []\np_count = 0\n\ndef pb(n):\n if n == 0:\n pb_list.append('p')\n p_count = p_count + 1\n return\n elif n >= 0:\n pb_list.append('b')\n pb(n - 1)\n pb_list.append('p')\n p_count = p_count + 1\n pb(n - 1)\n pb_list.append('b')\n else:\n return\n\nn, x = input().split(' ')\nn = int(n)\nx = int(x)\npb(n)\n\n\n# if pb_list[i] == 'p':\n# p_count = p_count + 1\n\nprint(p_count)", 'c = int(input())\n\nif c == 25:\n print("Christmas")\nelif c == 24:\n print("Christmas Eve")\nelif c == 23:\n print("Christmas Eve Eve")\nelif c == 22:\n print("Christmas Eve Eve Eve")\nelse:\n pass'] | ['Runtime Error', 'Accepted'] | ['s692743835', 's535697931'] | [3064.0, 2940.0] | [17.0, 17.0] | [466, 202] |
p03206 | u918009437 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["d = int(input())\n\nif d=25:\n print('Christmas')\nelif d=24:\n print('Christmas Eve')\nelif d=23:\n print('Christmas Eve Eve')\nelif d=22:\n print('Christmas Eve Eve Eve')\n", "d = int(input())\n\nif d==25:\n print('Christmas')\nelif d==24:\n print('Christmas Eve')\nelif d==23:\n print('Christmas Eve Eve')\nelif d==22:\n print('Christmas Eve Eve Eve')\n"] | ['Runtime Error', 'Accepted'] | ['s217159902', 's630847559'] | [2940.0, 2940.0] | [17.0, 18.0] | [168, 172] |
p03206 | u920204936 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N,K = [int(i) for i in input().split()]\nH = sorted([int(input()) for i in range(N)])\nans = H[K - 1] - H[0]\nfor i in range(N - K + 1):\n t = H[K + i - 1] - H[i]\n if ans > t:\n ans = t\nprint(ans)', 'D = int(input())\nif D == 25:\n print("Christmas")\nelif D == 24:\n print("Christmas Eve")\nelif D == 23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s443483128', 's482353146'] | [3060.0, 2940.0] | [18.0, 18.0] | [204, 178] |
p03206 | u924205134 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["D = input()\nD = int(D)\n\nif D == 25:\n print('Christmas')\n\nelse D <= 25:\n D = 25 - D\n print ('Christmas' + D * 'Eve')", "D = input()\nD = int(D)\n\nD = 25 - D\n\nprint ('Christmas' + ' Eve'* D)\n"] | ['Runtime Error', 'Accepted'] | ['s528744665', 's775086233'] | [2940.0, 3064.0] | [17.0, 17.0] | [118, 68] |
p03206 | u927282564 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["x=int(input())\nif x==25:\n print('Christmas')\nif x==24:\n print('Christmas Eve')\nif x==23:\n print('Christmas Eve Eve')\nelse:\n print('Christmas Eve Eve Eve')", "x=int(input())\nif x==25:\n print('Christmas')\nif x==24:\n print('Christmas Eve')\nif x==23:\n print('Christmas Eve Eve')\nif x==22:\n print('Christmas Eve Eve Eve')\n"] | ['Wrong Answer', 'Accepted'] | ['s518350568', 's036958115'] | [2940.0, 2940.0] | [18.0, 18.0] | [158, 163] |
p03206 | u932913455 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['import numpy as np\n\nN = int(input())\nprice = []\n\nfor i in range(N):\n price.append(int(input()))\n \nprice = np.array(price)\nmax_index = np.argmax(price)\n\nprint(int(np.sum(price) - price[max_index] / 2))\n', 'import numpy as np\n\nN = int(input())\nprice = []\n\nfor i in range(N):\n price.append(int(input()))\n\nprice = np.array(price)\nmax_index = np.argmax(price)\n\nprint(int(np.sum(price) - price[max_index] / 2))', 'day = int(input())\n\ndifference = int(25 - day)\n\nif difference > 0:\n answer = "Christmas " + "Eve " * (difference - 1) + "Eve"\nelse:\n answer = "Christmas"\n\nprint(answer)'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s132069393', 's628150947', 's820423952'] | [21368.0, 21344.0, 2940.0] | [1302.0, 301.0, 18.0] | [207, 202, 174] |
p03206 | u940279019 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D = int(input())\nif(D == 25):\n print("Christmas")\nelse if(D == 24):\n print("Christmas Eve")\nelse if(D == 23):\n print("Christmas Eve Eve")\nelse if(D == 22):\n print("Christmas Eve Eve Eve")', 'D = int(input())\nif(D == 25):\n print("Christmas")\nelif(D == 24):\n print("Christmas Eve")\nelif(D == 23):\n print("Christmas Eve Eve")\nelif(D == 22):\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s375700638', 's287469879'] | [2940.0, 3060.0] | [18.0, 17.0] | [191, 182] |
p03206 | u944192521 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["D = input('ε
₯εγγγγ€γγ¦γγΎγ')\nif int(D) == 25 :\n print('Christmas')\nelif int(D) == 24 :\n print('Christmas Eve')\nelif int(D) == 23:\n print('Christmas Eve Eve')\nelif int(D) == 22:\n print('Christmas Eve Eve Eve')\nelse:\n print('γγγγΎγγ')", "D = int(input())\nif D == 25 :\n print('Christmas')\nelif D == 24 :\n print('Christmas Eve')\nelif D == 23:\n print('Christmas Eve Eve')\nelif D == 22:\n print('Christmas Eve Eve Eve')"] | ['Wrong Answer', 'Accepted'] | ['s489812944', 's688193956'] | [2940.0, 3060.0] | [18.0, 18.0] | [276, 188] |
p03206 | u945945701 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['input = int(input)\nif(input == 22):\n print("Christmas Eve Eve Eve")\nelif(input == 23):\n print("Christmas Eve Eve")\nelif(input == 24):\n print("Christmas Eve")\nelif(input == 25):\n print("Christmas")\n', 'input = int(input())\nif(input == 22):\n print("Christmas Eve Eve Eve")\nelif(input == 23):\n print("Christmas Eve Eve")\nelif(input == 24):\n print("Christmas Eve")\nelif(input == 25):\n print("Christmas")'] | ['Runtime Error', 'Accepted'] | ['s257313568', 's141796840'] | [2940.0, 2940.0] | [18.0, 18.0] | [201, 202] |
p03206 | u946026022 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['a, b = (int(i) for i in input().split()) \n\nlist=[]\n \nfor i in range(a):\n list.append(int(input()))\n\nnew_list = sorted(list)\n\nsabun = None\n\nfor i in range(len(new_list)-1):\n\n if i+b == len(new_list):\n break\n\n bbb = new_list[i+b-1] - new_list[i]\n\n if sabun == None:\n sabun = bbb\n continue\n\n if sabun > bbb:\n sabun = bbb\n \nprint(sabun)', 'n = int(input())\n\nif n == 25:\n print("Christmas")\n\nif n == 24:\n print("Christmas Eve")\n\nif n == 23:\n print("Christmas Eve Eve")\n\nif n == 22:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s370815649', 's335264902'] | [3064.0, 2940.0] | [17.0, 17.0] | [378, 184] |
p03206 | u948524308 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N = int(input())\np = [0]*N\ns = 0\n\nfor i in range(N):\n p[i] = int(input())\n s = s + p[i]\n \nprint(s-max(p)//2)\n \n', 'D=int(input())\nprint("Christmas"+" Eve"*(25-D))'] | ['Runtime Error', 'Accepted'] | ['s181893449', 's585142695'] | [2940.0, 2940.0] | [18.0, 17.0] | [120, 47] |
p03206 | u951601135 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['n=int(input())\np=[]\n[p.append(int(input())) for i in range(n)]\nprint(sum(p)-max(p)//2)', "s=int(input())\nif (s==25):\n print('Christmas')\nelif (s==24):\n print('Christmas Eve')\nelif (s==23):\n print('Christmas Eve Eve')\nelif (s==22):\n print('Christmas Eve Eve Eve')"] | ['Runtime Error', 'Accepted'] | ['s709323672', 's492209152'] | [2940.0, 2940.0] | [18.0, 18.0] | [86, 176] |
p03206 | u952708174 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["print(' '.join('Christmas','Eve'*(25-int(input()))))", "D = int(input())\n_ans = ['Christmas']\nfor _ in range(25 - D):\n _ans.append('Eve')\nans = ' '.join(_ans)\nprint(ans)"] | ['Runtime Error', 'Accepted'] | ['s809155656', 's930854003'] | [2940.0, 2940.0] | [17.0, 17.0] | [52, 116] |
p03206 | u956092408 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["D = input()\nif D == 25:\n print('Christmas')\nelif D == 24:\n print('Christmas Eve')\nelif D == 23:\n print('Christmas Eve Eve')\nelif D == 22:\n print('Christmas Eve Eve Eve')\n", "D = input()\nD = int(D)\nwhile True:\n pass\n\nif D == 25:\n print('Christmas')\nelif D == 24:\n print('Christmas Eve')\nelif D == 23:\n print('Christmas Eve Eve')\nelif D == 22:\n print('Christmas Eve Eve Eve')\n", "D = input()\nD = int(D)\nif D == 25:\n print('Christmas')\nelif D == 24:\n print('Christmas Eve')\nelif D == 23:\n print('Christmas Eve Eve')\nelif D == 22:\n print('Christmas Eve Eve Eve')\n"] | ['Wrong Answer', 'Time Limit Exceeded', 'Accepted'] | ['s572815117', 's986211763', 's499734503'] | [2940.0, 2940.0, 2940.0] | [18.0, 2104.0, 18.0] | [182, 215, 193] |
p03206 | u956194864 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['d = int(input())\n\nif d == 25:\n out = "Christmas"\nelif d == 24:\n out = "Christmas Eve"\nelif d == 23:\n out = "Christmas Eve Eve"\nelse:\n out = "Christmas Eve Eve Eve"\n\n', 'd = int(input())\n\nif d == 25:\n out = "Christmas"\nelif d == 24:\n out = "Christmas Eve"\nelif d == 23:\n out = "Christmas Eve Eve"\nelse:\n out = "Christmas Eve Eve Eve"\n\nprint(out)'] | ['Wrong Answer', 'Accepted'] | ['s981748390', 's119612232'] | [2940.0, 2940.0] | [17.0, 17.0] | [177, 187] |
p03206 | u959236700 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N = input()\np = []\nfor i in range(N):\n p.append(input())\n\nprint(sum(p)-max(p)//2)\n\n', 'a = input()\nif a == "25":\n print("Christmas Eve")\nelif a == "24":\n print("Christmas Eve")\nelif a == "23":\n print("Christmas Eve Eve")\nelse: print("Christmas Eve Eve Eve")', 'a = input()\nif a == "25":\n print("Christmas")\nelif a == "24":\n print("Christmas Eve")\nelif a == "23":\n print("Christmas Eve Eve")\nelse: print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s142536322', 's827008565', 's867361660'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [86, 179, 175] |
p03206 | u959277666 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D=int(input())\nif D == 25:\n print("Chiristmas")\nelif D== 24:\n print("Christmas Eve")\nelif D== 23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")', 'D=int(input())\nif D == 25:\n print("Christmas")\nelif D== 24:\n print("Christmas Eve")\nelif D== 23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")'] | ['Wrong Answer', 'Accepted'] | ['s288036220', 's295852705'] | [2940.0, 3064.0] | [17.0, 17.0] | [175, 174] |
p03206 | u960171798 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D = int(input())\nprint(Christmas if D == 25, Christmas Eve if D ==24, Christmas Eve Eve if D == 23, Christmas Eve Eve Eve else)', 'D = int(input())\nprint("Christmas"+" Eve"*(25-D))'] | ['Runtime Error', 'Accepted'] | ['s358031650', 's149702331'] | [2940.0, 2940.0] | [17.0, 18.0] | [127, 49] |
p03206 | u961916328 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['n,k = map(int,input().split())\nlist = []\nfor i in range(n):\n list.append(int(input()))\nlist.sort()\nmin = list[n-1]\nfor j in range(n-k+1):\n if list[j+k-1]-list[j] < min:\n min = list[j+k-1]-list[j]\nprint(min)', "D = int(input())\na = abs(D-25)\nC = list('Christmas')\nfor i in range(a):\n C.append(' ')\n C.append('E')\n C.append('v')\n C.append('e')\n \nprint(''.join(C))"] | ['Runtime Error', 'Accepted'] | ['s728550712', 's632244625'] | [2940.0, 2940.0] | [17.0, 17.0] | [211, 156] |
p03206 | u962609087 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["def main():\n D = int(input().split())\n if D == 25:\n print('Christmas')\n elif D == 24:\n print('Christmas Eve')\n elif D == 23:\n print('Christmas Eve Eve')\n else:\n print('Christmas Eve Eve')\nmain()", "def main():\n D = int(input())\n if D == 25:\n print('Christmas')\n elif D == 24:\n print('Christmas Eve')\n elif D == 23:\n print('Christmas Eve Eve')\n else:\n print('Christmas Eve Eve Eve')\nmain()"] | ['Runtime Error', 'Accepted'] | ['s249401869', 's066446334'] | [9000.0, 8924.0] | [21.0, 27.0] | [210, 206] |
p03206 | u962829271 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['import pdb\n\ndef eat(n, x):\n ret = 0\n\n if x == 0:\n return 0, x\n\n if n == 0:\n x -= 1\n return 1, x\n\n if allnum[n] <= x:\n x -= allnum[n]\n return pnum[n], x\n \n \n x -= 1 # eat bread\n if x == 0:\n return 0, x\n\n # eat n-1 beager\n tmp, x = eat(n - 1, x)\n ret += tmp\n if x == 0:\n return ret, x\n\n # eat patty\n x -= 1\n ret += 1\n if x == 0:\n return ret, x\n\n # eat n-1 beager\n tmp, x = eat(n - 1, x)\n ret += tmp\n if x == 0:\n return ret, x\n\n x -= 1 # eat bread\n \n return ret, x\n\n\ndef main():\n tmp = input().split()\n n = int(tmp[0])\n x = int(tmp[1])\n global pnum\n global allnum\n pnum = [1]\n allnum = [1]\n for i in range(1, 52):\n pnum.append(pnum[i-1] * 2 + 1)\n allnum.append(allnum[i-1] * 2 + 3)\n\n ans, tmp = eat(n, x)\n\n print("%d" % ans)\n\n \nif __name__ == \'__main__\':\n main()\n', 'import pdb\nimport sys\nsys.setrecursionlimit(10000)\n\ndef eat(n, x):\n ret = 0\n\n if x == 0:\n return 0, x\n\n if n == 0:\n x -= 1\n return 1, x\n\n if allnum[n] <= x:\n x -= allnum[n]\n return pnum[n], x\n \n \n x -= 1 # eat bread\n if x == 0:\n return 0, x\n\n # eat n-1 beager\n tmp, x = eat(n - 1, x)\n ret += tmp\n if x == 0:\n return ret, x\n\n # eat patty\n x -= 1\n ret += 1\n if x == 0:\n return ret, x\n\n # eat n-1 beager\n tmp, x = eat(n - 1, x)\n ret += tmp\n if x == 0:\n return ret, x\n\n x -= 1 # eat bread\n \n return ret, x\n\n\ndef main():\n tmp = input().split()\n n = int(tmp[0])\n x = int(tmp[1])\n global pnum\n global allnum\n pnum = [1]\n allnum = [1]\n for i in range(1, 52):\n pnum.append(pnum[i-1] * 2 + 1)\n allnum.append(allnum[i-1] * 2 + 3)\n\n ans, tmp = eat(n, x)\n\n print("%d" % ans)\n\n \nif __name__ == \'__main__\':\n main()\n', 'import pdb\n\n\ndef main():\n num = int(input())\n\n ans = ""\n \n if num == 25:\n ans = "Christmas"\n elif num == 24:\n ans = "Christmas Eve"\n elif num == 23:\n ans = "Christmas Eve Eve"\n elif num == 22:\n ans = "Christmas Eve Eve Eve"\n \n print(ans)\n\n \nif __name__ == \'__main__\':\n main()\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s475579216', 's477035814', 's105190691'] | [5380.0, 5388.0, 5680.0] | [49.0, 49.0, 143.0] | [955, 995, 345] |
p03206 | u963903527 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['d = int(input())\nif d=25:\n print("Christmas")\nif d=24:\n print("Christmas Eve")\nif d=23:\n print("Christmas Eve Eve")\nif d=22:\n print("Christmas Eve Eve Eve")', 'd = int(input())\nif d=25:\n\tprint("Christmas")\nif d=24:\n\tprint("Christmas Eve")\nif d=23:\n\tprint("Christmas Eve Eve")\nif d=22:\n\tprint("Christmas Eve Eve Eve")', 'd = int(input())\nif d==25:\n print("Christmas")\nif d==24:\n print("Christmas Eve")\nif d==23:\n print("Christmas Eve Eve")\nif d==22:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s213545175', 's554872737', 's454992198'] | [2940.0, 2940.0, 2940.0] | [17.0, 16.0, 17.0] | [168, 156, 172] |
p03206 | u966880389 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["a = input()\n\nif a == 25:\n\tprint('Christmas')\nelif a == 24:\n\tprint('Christmas Eve')\nelse:\n\tprint('Christmas Eve Eve Eve')\n", "a = input()\n\nif a == 25:\n\tprint('Christmas')\nelif a == 24:\n\tprint('Christmas Eve')\nelif a == 23:\n\tprint('Christmas Eve Eve')\nelse:\n\tprint('Christmas Eve Eve Eve')\n", "a = int(input().strip())\n\nif a == 25:\n\tprint('Christmas')\nelif a == 24:\n\tprint('Christmas Eve')\nelif a == 23:\n\tprint('Christmas Eve Eve')\nelse:\n\tprint('Christmas Eve Eve Eve')\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s027271341', 's564311205', 's990083405'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [121, 163, 176] |
p03206 | u969190727 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D=int(input())\nif D==25:\n print("Christmas")\nelse:\n if D==24:\n print("Christmas Eve")\n else:\n if D=23:\n print("Christmas Eve Eve")\n else:\n print("Christmas Eve Eve Eve")', 'D=int(input())\nif D==25:\n print("Christmas")\nelse:\n if D==24:\n print("Christmas Eve")\n else:\n if D==23:\n print("Christmas Eve Eve")\n else:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s975099947', 's325947206'] | [2940.0, 2940.0] | [17.0, 17.0] | [191, 192] |
p03206 | u969848070 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["a = int(input())\nif a = 22:\n print('Christmas Eve Eve Eve')\nelif a = 23:\n print('Christmas Eve Eve')\nelif a = 24:\n print('Christmas Eve')\nelse:\n print('Christmas')", "a = int(input())\nif a == 22:\n print('Christmas Eve Eve Eve')\nelif a == 23:\n print('Christmas Eve Eve')\nelif a == 24:\n print('Christmas Eve')\nelse:\n print('Christmas')"] | ['Runtime Error', 'Accepted'] | ['s700518941', 's653251997'] | [2940.0, 2940.0] | [17.0, 17.0] | [167, 170] |
p03206 | u970809473 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['n = input()\nif n == 25:\n print("Christmas")\nelif n == 24:\n print("Christmas Eve")\nelif n == 23:\n print("Christmas Eve Eve")\nelif n == 22:\n print("Christmas Eve Eve Eve")', 'n = int(input())\nif n == 25:\n print("Christmas")\nelif n == 24:\n print("Christmas Eve")\nelif n == 23:\n print("Christmas Eve Eve")\nelif n == 22:\n print("Christmas Eve Eve Eve")'] | ['Wrong Answer', 'Accepted'] | ['s193230946', 's298561516'] | [2940.0, 2940.0] | [17.0, 17.0] | [173, 178] |
p03206 | u972658925 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["d int(input())\nprint('Christmas'+' Eve'*(25-d))", "d = int(input())\nprint('Christmas'+' Eve'*(25-d))"] | ['Runtime Error', 'Accepted'] | ['s844978539', 's827201677'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 49] |
p03206 | u973549339 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['d = int(input())\n\nif d == 25:\n print("Chrirstmas")\nif d == 24:\n print("Christmas Eve")\nif d == 23:\n print("Christmas Eve Eve")\nif d == 22:\n print("Christmas Eve Eve Eve")', 'd = int(input())\n\nif d == 25:\n print("Christmas")\nif d == 24:\n print("Christmas Eve")\nif d == 23:\n print("Christmas Eve Eve")\nif d == 22:\n print("Christmas Eve Eve Eve")'] | ['Wrong Answer', 'Accepted'] | ['s231227134', 's421851901'] | [2940.0, 2940.0] | [18.0, 17.0] | [182, 181] |
p03206 | u973991908 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['a=int(input())\nb="Christmas"\nfor i in range(25-a)\n\tb+=" Eve"\n print(b)', 'a=int(input())\nb="Christmas"\nfor i in range(25-a)\n\tb+=" Eve"\nprint(b)\n', 'a=int(input())\nb="Christmas"\nfor i in range(25-a):\n\tb+=" Eve"\nprint(b)\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s695702784', 's954304921', 's537164934'] | [2940.0, 3064.0, 2940.0] | [17.0, 16.0, 18.0] | [71, 70, 71] |
p03206 | u977547071 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['S=int(input())\nif S==25:\n print("Crisitmas")\nif S==24:\n print("Christmas Eve")\nif S==23:\n print("Christmas Eve Eve")\nif S==22:\n print("Christmas Eve Eve Eve")\n', 'S=int(input())\nif S==25:\n print("Crisitmas ")\nif S==24:\n print("Christmas Eve")\nif S==23:\n print("Christmas Eve Eve")\nif S==22:\n print("Christmas Eve Eve Eve")\n', 'S=input()\nif S==25:\n print("Crisitmas")\nif S==24:\n print("Christmas Eve")\nif S==23:\n print("Christmas Eve Eve")\nif S==22:\n print("Christmas Eve Eve Eve")', 'S=int(input())\nif S==25:\n print(\'Crisitmas\')\nif S==24:\n print("Christmas Eve")\nif S==23:\n print("Christmas Eve Eve")\nif S==22:\n print("Christmas Eve Eve Eve")\n', 'S=input()\nif S==\'25\':\n print("Christmas")\nif S==\'24\':\n print("Christmas Eve")\nif S==\'23\':\n print("Christmas Eve Eve")\nif S==\'22\':\n print("Christmas Eve Eve Eve")\n'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s279632302', 's342205205', 's382358920', 's784469096', 's874155390'] | [9024.0, 9076.0, 9104.0, 8968.0, 8916.0] | [21.0, 25.0, 27.0, 27.0, 25.0] | [163, 164, 157, 163, 166] |
p03206 | u984110693 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["print('Chiristmas' + ' Eve'*(25-int(input())))", "print('Christmas' + ' Eve'*(25-int(input())))"] | ['Wrong Answer', 'Accepted'] | ['s174687994', 's351427270'] | [2940.0, 2940.0] | [18.0, 18.0] | [46, 45] |
p03206 | u984989720 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D = input()\n\ntoday = "Christmas"\n\nx = 25 - D\n\ntoday += x * " Eve"\n\nprint(today)\n \n\n', 'D = int(input())\n\n\ntoday = "Christmas"\n\nx = 25 - D\n\ntoday += x * " Eve"\n\nprint(today)\n \n\n'] | ['Runtime Error', 'Accepted'] | ['s534028356', 's301677575'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 105] |
p03206 | u985125584 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D = input()\neve = \'Eve\'\nprint("Christmas " + eve * (25 - D))', "D = input()\neve = ' Eve' * (25 - int(D))\nprint('Christmas' + eve)"] | ['Runtime Error', 'Accepted'] | ['s408068199', 's831336829'] | [2940.0, 3060.0] | [18.0, 20.0] | [60, 65] |
p03206 | u987170100 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N, K = map(int, input().split())\nlst = []\nfor _ in range(N):\n lst.append(int(input()))\nlst = sorted(lst)\nret = 100000000000\n \nfor idx, x in enumerate(lst[:-K+1], 0):\n tmp = lst[idx + K-1] - x\n if tmp < ret:\n ret = tmp\nprint(ret)', "D = int(input())\nlst = ['Christmas'] + ['Eve'] * (25 - D)\nprint(' '.join(lst))"] | ['Runtime Error', 'Accepted'] | ['s577100022', 's011620529'] | [3316.0, 2940.0] | [22.0, 17.0] | [244, 78] |
p03206 | u989281149 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["d=int(input())\nif d=25:\n print('christmas')\n \nelif d=24:\n print('Christmas Eve')\n\nelif d=23:\n print('Christmas Eve Eve')\nelse :\n print('Christmas Eve Eve Eve')\n ", "d=int(input())\nif d=25:\n print('Christmas') \nelif d=24:\n print('Christmas Eve')\nelif d=23:\n print('Christmas Eve Eve')\nelse :\n print('Christmas Eve Eve Eve')\n ", "d=input()\nif d=25:\n print('christmas')\n \nelif d=24:\n print('Christmas Eve')\n\nelif d=23:\n print('Christmas Eve Eve')\nelse :\n print('Christmas Eve Eve Eve')\n ", "d=int(input())\nif d==25:\n print('Christmas') \nelif d==24:\n print('Christmas Eve')\nelif d==23:\n print('Christmas Eve Eve')\nelse :\n print('Christmas Eve Eve Eve')\n "] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s719750546', 's726440764', 's784548629', 's362850808'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 16.0, 17.0] | [168, 163, 163, 166] |
p03206 | u989306199 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["d = int(input())\nans = 'Chrimstmas'\ne = 'Eve'\nif d == 25:\n print(ans)\nelif d == 24:\n print(ans, e)\nelif d == 23:\n print(ans, e, e)\nelse:\n print(ans, e, e, e)\n", "d = int(input())\nans = 'Christmas'\ne = 'Eve'\nif d == 25:\n print(ans)\nelif d == 24:\n print(ans, e)\nelif d == 23:\n print(ans, e, e)\nelse:\n print(ans, e, e, e)\n"] | ['Wrong Answer', 'Accepted'] | ['s202647800', 's857945677'] | [2940.0, 2940.0] | [18.0, 17.0] | [170, 169] |
p03206 | u989345508 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['d=int(input())\nif d=25:\n print("Christmas")\nelif d=24:\n print("Christmas Eve")\nelif d=23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")\n', 'd=int(input())\nif d==25:\n print("Christmas")\nelif d==24:\n print("Christmas","Eve")\nelif d==23:\n print("Christmas","Eve","Eve")\nelse:\n print("Christmas","Eve","Eve","Eve")'] | ['Runtime Error', 'Accepted'] | ['s811714671', 's907080779'] | [2940.0, 2940.0] | [19.0, 17.0] | [168, 182] |
p03206 | u990824124 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['D = int(input())\n\nif D == 25:\n print("Chiristmas")\nelif D == 24:\n print("Chiristmas Eve")\nelif D == 23:\n print("Chiristmas Eve Eve")\nelse:\n print("Chiristmas Eve Eve Eve")', 'D = int(input())\n\nif D == 25:\n print("Christmas")\nelif D == 24:\n print("Christmas Eve")\nelif D == 23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")\n '] | ['Wrong Answer', 'Accepted'] | ['s515357319', 's618446444'] | [2940.0, 2940.0] | [17.0, 17.0] | [175, 174] |
p03206 | u991148747 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['input = (int)input()\n\nif input == 22:\n print("Christmas Eve Eve Eve")\nelse if input == 23:\n print("Christmas Eve Eve")\nelse if input == 24:\n print("Christmas Eve")\nelse if input == 25:\n print("Christmas")\nelse:\n print(null)', 'input = (int)(input())\n \nif input == 22:\n print("Christmas Eve Eve Eve")\nelif input == 23:\n print("Christmas Eve Eve")\nelif input == 24:\n print("Christmas Eve")\nelif input == 25:\n print("Christmas")\nelse:\n print(null)'] | ['Runtime Error', 'Accepted'] | ['s942210180', 's220804645'] | [2940.0, 2940.0] | [19.0, 18.0] | [228, 222] |
p03206 | u992910889 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["D=input()\nif D==25:\n print('Christmas')\nif D==24:\n print('Christmas Eve')\nif D==23:\n print('Christmas Eve Eve')\nif D==22:\n print('Christmas Eve Eve Eve')\n", "# coding: utf-8\n# Your code here!\nD=int(input())\nif D==25:\n print('Christmas')\nif D==24:\n print('Christmas Eve')\nif D==23:\n print('Christmas Eve Eve')\nif D==22:\n print('Christmas Eve Eve Eve')\n"] | ['Wrong Answer', 'Accepted'] | ['s040643937', 's074517186'] | [2940.0, 2940.0] | [17.0, 17.0] | [166, 205] |
p03206 | u993642190 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N,X = [int(i) for i in input().split()]\n\ndef get_next_burger(current_burger) :\n\treturn "B" + current_burger + "P" + current_burger + "B"\n\ncurrent = "P"\n\nfor i in range(N) :\n\tcurrent = get_next_burger(current)\n\ntarget = current[:X]\nprint(target.count("P"))', 'D = int(input())\n\nif (D == 25) :\n\tprint("Christmas")\nelif (D == 24) :\n\tprint("Christmas Eve")\nelif (D == 23):\n\tprint("Christmas Eve Eve")\nelif (D == 22):\n\tprint("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s053592019', 's499859193'] | [3060.0, 2940.0] | [17.0, 17.0] | [255, 185] |
p03206 | u994521204 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["dict={25:'Christmas',24:'Christmas Eve',23:'Christmas Eve Eve',22;'Christmas Eve Eve Eve'}\nprint(dict[input()])", "dict={25:'Christmas',24:'Christmas Eve',23:'Christmas Eve Eve',22:'Christmas Eve Eve Eve'}\nprint(dict[input()])", "dict={25:'Christmas',24:'Christmas Eve',23:'Christmas Eve Eve',22:'Christmas Eve Eve Eve'}\nprint(dict[int(input())])"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s330819968', 's452594514', 's392945212'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [111, 111, 116] |
p03206 | u994767958 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['import random, time\nrandom.seed(time.time())\nprint("Christmas"+" Eve"*random.randrange(4))', 'import random, time\nrandom.seed(time.time())\nprint("Christmas"+" Eve"*random.randrange(4))', 'import random, time\nrandom.seed(time.time())\nprint("Christmas"+" Eve"*random.randrange(4))', 'print("Christmas"+" Eve"*(25-int(input())))'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s429911502', 's638545562', 's995642318', 's194084181'] | [5608.0, 5604.0, 4592.0, 2940.0] | [55.0, 52.0, 39.0, 17.0] | [90, 90, 90, 43] |
p03206 | u998618379 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ["D = int(input())\nD = 25 - D\nprint('Christams{}!'.format(' Eve'*D))", "D = int(input())\nD = 25 - D\nprint('Christams{}'.format(' Eve'*D))", "D = int(input())\nD = 25 - D\nprint('Christmas{}'.format(' Eve'*D))"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s282292340', 's650943054', 's253827754'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [66, 65, 65] |
p03206 | u999893056 | 2,000 | 1,048,576 | In some other world, today is December D-th. Write a program that prints `Christmas` if D = 25, `Christmas Eve` if D = 24, `Christmas Eve Eve` if D = 23 and `Christmas Eve Eve Eve` if D = 22. | ['N = int(input())\np = [int(input()) for _ in range(N)]\n\nprint(sum(p) - int(max(p)/2))', 'n = int(input())\nif n == 25:\n print("Christmas")\nelif n == 24:\n print("Christmas Eve")\nelif n == 23:\n print("Christmas Eve Eve")\nelse:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s728206761', 's233325025'] | [2940.0, 2940.0] | [17.0, 17.0] | [84, 178] |
p03207 | u013408661 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['import sys\nn=int(input())\np=[int(i) for i in sys.stdin]\nans=p.pop()//2\nprint(sum(p)+ans)', 'import sys\nn=int(input())\np=[int(i) for i in sys.stdin]\np.sort()\nans=p.pop()//2\nprint(sum(p)+ans)'] | ['Wrong Answer', 'Accepted'] | ['s601780138', 's569291939'] | [2940.0, 2940.0] | [17.0, 17.0] | [88, 97] |
p03207 | u013629972 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['4\n4320\n4320\n4320\n4320', 'import math, string, itertools, fractions, heapq, collections, re, array, bisect, sys, random, time, copy, functools\n\n\nsys.setrecursionlimit(10**7)\ninf = 10 ** 20\neps = 1.0 / 10**10\nmod = 10**9+7\ndd = [(-1, 0), (0, 1), (1, 0), (0, -1)]\nddn = [(-1, 0), (-1, 1), (0, 1), (1, 1), (1, 0), (1, -1), (0, -1), (-1, -1)]\n\n\ndef LI(): return [int(x) for x in sys.stdin.readline().split()]\ndef LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]\ndef LF(): return [float(x) for x in sys.stdin.readline().split()]\ndef LS(): return sys.stdin.readline().split()\ndef I(): return int(sys.stdin.readline())\ndef F(): return float(sys.stdin.readline())\ndef S(): return input()\ndef pf(s): return print(s, flush=True)\n\n\ndef main():\n N = I()\n p = []\n for i in range(N):\n p.append(I())\n\n highest = max(p)\n del p[p.index(highest)]\n result = highest / 2 + sum(p)\n print(int(result))\n\nmain()\n'] | ['Wrong Answer', 'Accepted'] | ['s796777583', 's237591904'] | [2940.0, 5584.0] | [17.0, 45.0] | [21, 905] |
p03207 | u013756322 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['print(sum(p)-max([int(input()) for i in range(int(input()))])//2)', 'p=[int(input()) for i in range(int(input()))]\nprint(sum(p)-max(p)//2)'] | ['Runtime Error', 'Accepted'] | ['s244036084', 's504193957'] | [2940.0, 2940.0] | [18.0, 19.0] | [65, 69] |
p03207 | u016901717 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['l=[int(input()) for range(int(input())]\nprint(sum(l)-int(max(l)/2)) ', 'n=int(input())\nP=[int(input()) for i in range(n)]\nprint(sum(P)-max(P)+max(P)//2)'] | ['Runtime Error', 'Accepted'] | ['s484017039', 's610594901'] | [2940.0, 2940.0] | [19.0, 17.0] | [92, 80] |
p03207 | u018017456 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = int(input())\na = [int(input()) for i in range(N)]\n\ntotal = int(max(a)/2)\nprint(max(a))\nprint(total)\na.remove(max(a))\nprint(a)\ntotal += sum(a)\n\nprint(total)', 'N = int(input())\na = [int(input()) for i in range(N)]\n\ntotal = int(max(a)/2)\na.remove(max(a))\nprint(a)\ntotal += sum(a)\n\nprint(total)', 'N = int(input())\na = [int(input()) for i in range(N)]\n\ntotal = max(a)/2\nprint(max(a))\nprint(total)\na.remove(max(a))\nprint(a)\ntotal += sum(a)', 'total = max(a)/2\na.remove(max(a))\ntotal += sum(a)\nprint(total)', 'N = int(input())\na = [int(input()) for i in range(N)]\n\ntotal = int(max(a)/2)\na.remove(max(a))\ntotal += sum(a)\n\nprint(total)'] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s041463105', 's052727899', 's329799095', 's629933337', 's691043073'] | [3068.0, 2940.0, 3060.0, 2940.0, 2940.0] | [17.0, 19.0, 17.0, 17.0, 17.0] | [159, 132, 140, 62, 123] |
p03207 | u020604402 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['#include <stdio.h>\n#include <string.h>\n#include <math.h>\n\nint main(void){\n int N = 0;\n scanf("%d", &N);\n int l[N];\n for (int i = 0; i < N; i++) {\n scanf("%d", &l[i]);\n }\n int tmp = -1;\n int sum = 0;\n for (int i = 0; i < N; i++) {\n if (tmp < l[i]) tmp = l[i];sum += l[i];\n }\n printf("%d\\n",sum - tmp / 2);\n// for (int i = 0; i < N; i++) {\n// printf("%d\\n",l[i]);\n// }\n return 0;\n}', 'N=int(input())\nL=[int(input()) for _ in range(N)]\n\nans=sum(L)-max(L)/2\nprint(int(ans))\n'] | ['Runtime Error', 'Accepted'] | ['s648207040', 's077954185'] | [2940.0, 2940.0] | [16.0, 17.0] | [533, 87] |
p03207 | u022871813 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | [' = int(input())\nhighest_price = 0\nsum = 0\nfor i in range(n):\n product = int(input())\n if highest_price < product:\n sum += highest_price/2\n highest_price = product\n sum += highest_price/2\n else:\n sum += product\nprint(int(sum))', 'n = int(input())\nhighest_price = 0\nsum = 0\nfor i in range(n):\n product = int(input())\n if highest_price < product:\n sum += highest_price/2\n highest_price = product\n sum += highest_price/2\n else:\n sum += product\nprint(int(sum))\n'] | ['Runtime Error', 'Accepted'] | ['s359940240', 's642955310'] | [2940.0, 2940.0] | [18.0, 18.0] | [262, 264] |
p03207 | u023229441 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n=int(input())\nA=[]\nfor i in range(n):\n A.append(int(input())\nA.sort()\nprint(sum(A)-A[-1]/2)', 'n=int(input())\nA=[]\nfor i in range(n):\n A.append(int(input()))\nA.sort()\nprint(int(sum(A)-A[-1]/2))'] | ['Runtime Error', 'Accepted'] | ['s911103071', 's119857378'] | [2940.0, 2940.0] | [17.0, 17.0] | [93, 99] |
p03207 | u027403702 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = int(input())\nList = [int(input()) for _ in range(N)]\nlast = sorted(List)[-1] * 0.1\nprint(sum(List) - last)', 'N = int(input())\nList = [int(input()) for _ in range(N)]\nlast = sorted(List)[-1] * 0.5\nprint(sum(List) - last)', 'N = int(input())\nList = [int(input()) for _ in range(N)]\nlast = sorted(List)[-1] * 0.5\nprint(int(sum(List) - last))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s585669311', 's910525195', 's182841352'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [110, 110, 115] |
p03207 | u033524082 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['a =int(input())\nm =0\nfor i in range(N):\n p=int(input())\n m=max(m,p)\na=int(sum(p)-m/2)\nprint(a)', 'N = int(input()), sum = 0, mx = 0\nfor i in range(N):\n P = int(input())\n sum += P\n mx = max(mx, P)\n\nprint(sum - mx / 2)\n', 'N = int(input())\np = []\nfor i in range(N):\n p.append(int(input()))\n \nprint(int(sum(p)-max(p)/2)\n', 'N = int(input())\nsum,mx = 0,0\nfor i in range(N):\n\tP = int(input())\n\tsum += P\n\tmx = max(mx, P)\n\nprint(sum - mx / 2)', 'N = int(input())\nsm,mx = 0,0\nfor i in range(N):\n P = int(input())\n sm += P\n mx = max(mx, P)\n\nprint(sm - mx / 2)\n', 'N = int(input()), sum = 0, mx = 0\nfor i in range(n):\n P = int(input())\n sum += P\n mx = max(mx, P)\n\nprint(sum - mx / 2)', 'N = int(input())\nsum,mx = 0,0\nfor i in range(N):\n P = int(input())\n sum += P\n mx = max(mx, P)\n\nprint(sum - mx / 2)\n', 'N = int(input())\nfor i in range(N):\n p =int(input())\n \nprint(int(sum(p)-max(p)/2)', 'a =int(input())\nm,n =0,0\nfor i in range(a):\n p=int(input())\n n += p\n m=max(m,p)\na=int(n-m/2)\nprint(a)'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s001589367', 's028434684', 's031678553', 's274813965', 's484766969', 's518958437', 's554977132', 's871834719', 's758640398'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0, 18.0, 18.0, 17.0, 18.0, 17.0, 18.0] | [96, 122, 98, 114, 115, 121, 118, 83, 104] |
p03207 | u035445296 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = input()\np = [int(input()) for _ in range(n)]\nprint(p.pop()//2 + sum(p))', 'N = int(input())\nP = [int(input()) for _ in range(N)]\nP.sort()\nprint(P[-1]//2 + sum(P[:N-1]))'] | ['Runtime Error', 'Accepted'] | ['s875681720', 's814359268'] | [2940.0, 2940.0] | [17.0, 21.0] | [75, 93] |
p03207 | u037098269 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\nans_ = []\nfor i in range(n):\n num = int(input())\n ans_.append(num)\nans_.sort()\na = int(ans_[0]/2)\nans_[0] = a\nans = 0\nfor i in ans_:\n ans += i\nprint(ans)', 'n = int(input())\nans_ = []\nfor i in range(n):\n num = int(input())\n ans_.append(num)\nans_.sort()\na = int(ans_[n-1]/2)\nans_[n-1] = a\nans = 0\nfor i in ans_:\n ans += i\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s722933008', 's664718009'] | [3060.0, 3064.0] | [17.0, 17.0] | [179, 183] |
p03207 | u044026875 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['h,w=map(int,input().split())\nlst=[]\nfor _ in range(h):\n lst.append(input())\nhl=[0]*h\nwl=[0]*w\nfor i in range(h):\n for j in range(w):\n if lst[i][j]=="#":\n hl[i]=1\n wl[j]=1\n if hl[i]==1 and wl[j]==1:\n print(lst[i][j],end="")\n print("")', 'n=int(input())\np=[]\nfor _ in range(n):\n p.append(int(input()))\nprint(sum(p)-max(p)//2) '] | ['Runtime Error', 'Accepted'] | ['s455396112', 's807375801'] | [3064.0, 2940.0] | [17.0, 17.0] | [297, 93] |
p03207 | u045408189 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['input()\nx=sum(input())\ny=max(input())\nprint(x-y//2)', 'n=int(input())\np=[int(input()) for i in range(n)]\nprint(sum(p)-max(p)//2)'] | ['Runtime Error', 'Accepted'] | ['s257718944', 's565342384'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 73] |
p03207 | u046585946 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n=int(input())\np=[int(input())for i in range(n)]\nmaxp=p.pop(p.index(max(p)))\nans=0\nfor i in p:\n ans=ans+i\nans=ans+maxp\nprint(ans)', 'n=int(input())\np=[int(input())for i in range(n)]\nmaxp=p.pop(p.index(max(p)))\nans=0\nfor i in p:\n ans=ans+i\nans=ans+maxp//2\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s428302830', 's690794918'] | [3060.0, 3060.0] | [17.0, 17.0] | [130, 133] |
p03207 | u054471580 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['num = int(input())\nprices = []\n\nfor i in range(num):\n prices[i].append(input())\n\nmax = prices[0]\nfor i in range(1,num):\n if prices[i]>max:\n max=prices[i]\n max_i = i\n\nsum=0\nfor i in range(num):\n if i==max_i:\n sum = sum + int(prices[i]/2)\n else:\n sum = sum + prices[i]', 'num = int(input())\nprices = []\n \nfor i in range(num):\n prices.append(int(input()))\n\nmax_i=0\nmax = prices[0]\nfor i in range(1,num):\n if prices[i]>max:\n max=prices[i]\n max_i = i\n \nsum=0\nfor i in range(num):\n if i==max_i:\n sum += int(prices[i]/2)\n else:\n sum += prices[i]\n\nprint(sum)'] | ['Runtime Error', 'Accepted'] | ['s550388267', 's601969493'] | [3064.0, 3064.0] | [17.0, 17.0] | [282, 296] |
p03207 | u055154255 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['a = int(input())\nlist=[]\nfor i in range(a):\n i=int(input())\n list.append(i)\nfor i in list:\n if i == max(list):\n list.append(i/2)\n list.remove(i)\nsum(list)', 'a = int(input())\nlist=[]\nfor i in range(a):\n i=int(input())\n list.append(i)\nfor i in list:\n if i == max(list):\n list.append(i/2)\n list.remove(i)\n break\nsum(list)', 'N = input()\np = [int(input()) for i in range(N)]\nprint(sum(p) - max(p) // 2)\n', 'N = int(input())\np = [int(input()) for i in range(N)]\nprint(sum(p) - max(p) // 2)'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s495236748', 's516638529', 's736160846', 's566676713'] | [2940.0, 2940.0, 2940.0, 2940.0] | [19.0, 17.0, 18.0, 18.0] | [163, 173, 77, 81] |
p03207 | u057429331 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = input()\np=[]\nmax=0\nfor i in range(N):\n p.append(input())\n if max<=p:\n max=p[i]\nsum=0\nfor i in range(N):\n sum+=p[i]\nsum-=max\nsum+=max/2\nprint(sum)\n', 'N = input()\np=[]\nmax=0\nfor i in range(N):\n p.append(input())\n if max<=p:\n max=p[i]\nsum=0\nfor i in range(N):\n sum+=p[i]\nsum-=max\nsum+=max/2\nprint(sum)\n', 'N = int(input())\np=[]\nmax=0\nfor i in range(N):\n p.append(int(input()))\n if max<=p[i]:\n max=p[i]\nsum=0\nfor i in range(N):\n sum+=p[i]\nsum-=max\nsum+=max/2\nprint(int(sum))\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s223442422', 's226215778', 's215636831'] | [3060.0, 2940.0, 3060.0] | [17.0, 18.0, 17.0] | [166, 166, 184] |
p03207 | u059262067 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = input()\na = [input() for i in range(N)]\nb = sorted(a ,reverse = True)\nres = sum(b[0]/2,sum(b[1:]))\nprint(res)', 'N = int(input())\na = [int(input()) for i in range(N)]\nb = sorted(a ,reverse = True)\nres = int(b[0]/2 + sum(b[1:]))\nprint(res)'] | ['Runtime Error', 'Accepted'] | ['s165983902', 's462271771'] | [2940.0, 2940.0] | [18.0, 18.0] | [113, 125] |
p03207 | u060569392 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['S=int(input())\n\np=[int(input()) for i in range(S)]\n\np.sort(reverse=True)\n\nmoney=0\n\nfor i in range(S):\n money+=p[i]\n\nprint(money-p[0]/2)\n', 'S=int(input())\n\np=[int(input()) for i in range(S)]\n\np.sort(reverse=True)\n\nmoney=0\n\nfor i in range(S):\n money+=p[i]\n\nprint(int(money-p[0]/2))'] | ['Wrong Answer', 'Accepted'] | ['s243778258', 's921236902'] | [2940.0, 2940.0] | [17.0, 18.0] | [140, 144] |
p03207 | u060938295 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['# -*- coding: utf-8 -*-\n"""\nCreated on Wed Jan 2 09:53:30 2019\n\n@author: Yamazaki Kenichi\n"""\n\nN = int(input())\np = [int(input()) for i in range(N)]\n\nmax(p)\nans = sum(p) - max(p)/2\nint(ans)\n\nprint(ans)\n', '# -*- coding: utf-8 -*-\n"""\nCreated on Wed Jan 2 09:53:30 2019\n\n@author: Yamazaki Kenichi\n"""\n\nN = int(input())\np = [int(input()) for i in range(N)]\n\nmax(p)\nans = int(sum(p) - max(p)/2)\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s704515985', 's202618695'] | [3060.0, 2940.0] | [18.0, 18.0] | [203, 198] |
p03207 | u066455063 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\np = list(map(int, input().split()))\np.sort(reverse=True)\na = p[1:]\nb = p[0] // 2\nprint(sum(a, b))', 'N = int(input())\np = [int(input()) for i in range(N)]\np.sort(reverse=True)\n\np[0] = p[0] // 2\nprint(sum(p))\n'] | ['Wrong Answer', 'Accepted'] | ['s412926463', 's271387410'] | [2940.0, 2940.0] | [17.0, 19.0] | [114, 107] |
p03207 | u067694718 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\np = [int(i) for i in input().split()]\nprint(sum(p) - (max(p) // 2))', 'n = int(input())\np = [int(input()) for i in range(n)]\nprint(sum(p) - (max(p) // 2))'] | ['Wrong Answer', 'Accepted'] | ['s461221632', 's426762074'] | [9152.0, 9104.0] | [30.0, 30.0] | [84, 83] |
p03207 | u072723535 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = int(input())\np = [int(input()) for i in range(N)]\nprint(sum() - max(p))', 'N = int(input())\np = [int(input()) for i in range(N)]\nprint(sum(p) - max(p)/2)\n', 'N = int(input())\np = [int(input()) for i in range(N)]\np.sort()\nhangaku = p[N-1]/2\nsum = 0\nfor i in range(N) :\n sum += p[i]\nsum -= hangaku\nprint(sum)\n', 'N = int(input())\np = [int(input()) for i in range(N)]\nprint(sum(p) - max(p) // 2)'] | ['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s031537335', 's150048697', 's537888746', 's918916373'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [75, 79, 152, 81] |
p03207 | u073606136 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['# coding: utf-8\n\nnum = int(input())\ntable = []\ntotal = 0\nfor i in range(num):\n table.append(int(input()))\nprint(table)\nlist.sort(table)\ntotal += table[num-1] / 2\nfor i in range(num-1):\n total += table[i]\nprint(int(total))', '# coding: utf-8\n\nnum = int(input())\ntable = []\ntotal = 0\nfor i in range(num):\n table.append(int(input()))\nlist.sort(table)\ntotal += table[num-1] / 2\nfor i in range(num-1):\n total += table[i]\nprint(int(total))'] | ['Wrong Answer', 'Accepted'] | ['s428931640', 's613636850'] | [9128.0, 8996.0] | [28.0, 25.0] | [227, 214] |
p03207 | u074445770 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n=int(input())\na=[]\nfor i in range(n)\n p=int(input())\n a.append(p)\na.sort()\na[n-1]=int(a[n-1]/2)\nprint(sum(a))', 'n=int(input())\na=[]\nfor i in range(n):\n p=int(input())\n a.append(p)\na.sort()\na[n-1]=int(a[n-1]/2)\nprint(sum(a))'] | ['Runtime Error', 'Accepted'] | ['s875117678', 's961568082'] | [2940.0, 3060.0] | [17.0, 17.0] | [116, 117] |
p03207 | u076363290 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = int(input())\nP = list (map(int,input().split()))\na = max(P)\nP.remove(a)\ns = 0\nfor i in P:\n s += i\nprint(s + a//2)\n', 'N = int(input())\np = []\nfor i in range(N):\n p.append(int(input()))\na = max(p)\np.remove(a)\ns = 0\nfor i in p:\n s += i\nprint(s + a//2)\n\n'] | ['Wrong Answer', 'Accepted'] | ['s271501250', 's979092451'] | [9096.0, 8968.0] | [28.0, 24.0] | [121, 139] |
p03207 | u076764813 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N=int(input())\np = [int(input) for _ in range(len(N))]\n\nprint(sum(p) - int(max(p)/2))\n', 'N=int(input())\np = [int(input()) for _ in range(N)]\n\nprint(sum(p) - int(max(p)/2))\n'] | ['Runtime Error', 'Accepted'] | ['s195164654', 's195762132'] | [2940.0, 2940.0] | [17.0, 17.0] | [86, 83] |
p03207 | u076996519 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N, *d = map(int, open(0))\nprint(sum(d)-max(s)/2)', 'N, *d = map(int, open(0).read().split())\nprint(sum(d)-max(s)/2)', 'N, *d = map(int, open(0).read().split())\nprint(sum(d)-max(d)/2)', 'N, *d = map(int, open(0).read().split())\nprint(int(sum(d)-max(d)/2))'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s320145840', 's816278487', 's828289891', 's595015781'] | [2940.0, 3060.0, 2940.0, 2940.0] | [18.0, 20.0, 17.0, 17.0] | [48, 63, 63, 68] |
p03207 | u084647893 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = int(input())\np = list()\nfor i in range(N):\n p.append(int(input()))\nsum = 0\nfor i in range(0,N):\n sum += p[i]\nprint(sum - max(p) + max(p)/2)\n', 'N = int(input())\np = list()\nfor i in range(N):\n p.append(int(input()))\nsum = 0\nfor i in range(0,N):\n sum += p[i]\nprint(sum - max(p) + max(p)//2)\n'] | ['Wrong Answer', 'Accepted'] | ['s243054655', 's372440951'] | [2940.0, 2940.0] | [18.0, 18.0] | [150, 151] |
p03207 | u106103668 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['def resolve():\n P = list(int(input()) for _ in range(int(input())))\n print(sum(P)-max(P)//2)\nprint(resolve())', 'def resolve():\n P = list(int(input()) for _ in range(int(input())))\n print(sum(P)-max(P)//2)\nresolve()'] | ['Wrong Answer', 'Accepted'] | ['s248915058', 's889667105'] | [2940.0, 2940.0] | [18.0, 17.0] | [115, 108] |
p03207 | u109200592 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N=int(input())\ncnt=0\nans=0\nmax=0\nwhile cnt<N:\n cnt+=1\n p=int(input())\n ans += p\n if p>max:\n max=p\nans-=(max/2)\nprint(ans)', 'N=int(input())\ncnt=0\nans=0\nmax=0\nwhile cnt<N:\n cnt++\n p=int(input())\n ans += p\n if p>max:\n max=p\nans-=(max/2)\nprint(ans)', 'N=int(input())\ncnt=0\nans=0\nmax=0\nwhile cnt<N:\n cnt+=1\n p=int(input())\n ans += p\n if p>max:\n max=p\nans-=int(max/2)\nprint(ans)'] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s399167641', 's533334688', 's063669954'] | [3060.0, 2940.0, 3060.0] | [19.0, 18.0, 17.0] | [128, 127, 131] |
p03207 | u113255362 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['Row = int(input())\nList = []\nfor i in range (Row):\n List.append(int(input()))\nList.sort()\nList[Row-1] = List[Row-1]//2\nfor i in range (Row):\n res = List[i]\nprint(res)', 'Row = int(input())\nList = []\nres = 0\nfor i in range (Row):\n List.append(int(input()))\nList.sort()\nList[Row-1] = List[Row-1]//2\nfor i in range (Row):\n res += List[i]\nprint(res)'] | ['Wrong Answer', 'Accepted'] | ['s519675429', 's807882645'] | [9184.0, 9124.0] | [28.0, 27.0] | [168, 177] |
p03207 | u113971909 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n=int(input())\na=[]\nfor i in range(n):\n a.append(i)\na.sort()\nprint(sum(a)-a[-1]//2)', 'n=int(input())\na=[]\nfor i in range(n):\n a.append(int(input()))\na.sort()\nprint(sum(a)-a[-1]//2)'] | ['Wrong Answer', 'Accepted'] | ['s435064192', 's347164152'] | [2940.0, 2940.0] | [17.0, 18.0] | [84, 95] |
p03207 | u117348081 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\np = [int(input()) for i in range(n)]\n\np.sort()\nprint(sum(p) - int(a[-1]/2))', 'n = int(input())\na = [int(input()) for i in range(n)]\n\na.sort()\nprint(sum(a) - int(a[-1]/2))'] | ['Runtime Error', 'Accepted'] | ['s247508876', 's036203751'] | [2940.0, 2940.0] | [17.0, 17.0] | [92, 92] |
p03207 | u117545210 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n=int(input())\n\nlist=[]\n\nfor i in range(n):\n list.append(int(input()))\n \nprint(sum(list)-max(list)/2)', 'n=int(input())\n\nlist=[]\n\nfor i in range(n):\n list.append(int(input()))\n \nprint(int(sum(list)-max(list)/2))'] | ['Wrong Answer', 'Accepted'] | ['s478484748', 's499842566'] | [2940.0, 2940.0] | [18.0, 17.0] | [103, 108] |
p03207 | u119015607 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['str = input()\n\nlist=[]\nfor i in range (int(str)):\n teika = int(input())\n list.append(teika)\n waribiki=max(list)\n goukei=sum(list)+waribiki/2-waribiki\nprint(goukei)\n', 'str = input()\n\nlist=[]\nfor i in range (int(str)):\n teika = int(input())\n list.append(teika)\n waribiki=max(list)\n #print(max(list))\n goukei=sum(list)+waribiki/2-waribiki\nprint(int(goukei))\n'] | ['Wrong Answer', 'Accepted'] | ['s840876847', 's941596814'] | [2940.0, 2940.0] | [17.0, 18.0] | [176, 203] |
p03207 | u119655368 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\n l = [int(input()) for i in range(n)]\n l = sorted(l)\n print(sum(l) - l[-1]//2)', 'n = int(input())\nl = [int(input()) for i in range(n)]\nl = sorted(l)\nprint(sum(l) - l[-1]//2)'] | ['Runtime Error', 'Accepted'] | ['s567005765', 's938154901'] | [2940.0, 2940.0] | [17.0, 17.0] | [104, 92] |
p03207 | u126232616 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\nP = [int(input()) for _ in range(n)]\n\nP.sort()\nprint(int(P[n-1]/2) + sum(P[1:]))\n', 'n = int(input())\nP = [int(input()) for _ in range(n)]\n\nP.sort()\nprint(int(P[0]/2) + sum(P[1:]))\n', 'v', 'n = int(input())\nP = [int(input()) for _ in range(n)]\n\nP.sort()\nprint(int(P[n-1]/2) + sum(P[:n-1]))\n'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s502820596', 's702628418', 's833708679', 's246274874'] | [2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 17.0] | [98, 96, 1, 100] |
p03207 | u128740947 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\np = []\nfor i in range(n):\n p.append(int(input()))\np.reverse()\nans = 0\nfor i in range(n):\n if i == 0:\n ans += p[i]/2\n else:\n ans += p[i]\nif ans - int(ans) != 0:\n print(ans)\nelse :\n print(int(ans))', 'n = int(input())\np = []\nfor i in range(n):\n p.append(int(input()))\np.sort()\np.reverse()\nans = 0\nfor i in range(n):\n if i == 0:\n ans = p[i]/2\n else:\n ans += p[i]\nif ans - int(ans) != 0:\n print(ans)\nelse :\n print(int(ans))\n'] | ['Wrong Answer', 'Accepted'] | ['s459134945', 's104853539'] | [3060.0, 3060.0] | [18.0, 18.0] | [241, 250] |
p03207 | u128914900 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\n#p =[]\nmax_p = 0\ns =0\nfor i in range(n):\n pi = int(input())\n max_p = max(pi, max_p)\n s += pi\ns = s-max_p + max_p/2\nprint(s)\n \n', 'n = int(input())\n#p =[]\nmax_p = 0\ns =0\nfor i in range(n):\n pi = int(input())\n max_p = max(pi, max_p)\n s += pi\ns = s-max_p + max_p//2\nprint(s)'] | ['Wrong Answer', 'Accepted'] | ['s978772454', 's883892149'] | [2940.0, 2940.0] | [18.0, 17.0] | [147, 144] |
p03207 | u136090046 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\np_array = []\nprice_sum = 0\nprice_max = 0\nfor _ in range(n):\n element = int(input())\n price_sum += element\n price_max = max(element, price_sum)\n\nprint(price_sum - price_max//2)', 'N = int(input())\np_array = []\nprice_sum = 0\nprice_max = 0\nfor _ in range(N):\n price = int(input())\n \n price_sum += price\n \n price_max = max(price, price_max)\n\nprint(price_sum - price_max//2)'] | ['Wrong Answer', 'Accepted'] | ['s589478972', 's187795021'] | [3064.0, 2940.0] | [18.0, 18.0] | [195, 270] |
p03207 | u137808818 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['n = int(input())\np = [int(input()).for i in range(n)]\nprint(sam(p)-p[-1]/2)', 'n = int(input())\np = [int(input()) for i in range(n)]\nprint(sum(p)-max(p)/2)', 'n = int(input())\np = [int(input()) for i in range(n)]\nprint(int(sum(p)-max(p)/2))'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s386834100', 's603718334', 's807805889'] | [2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0] | [75, 76, 81] |
p03207 | u142415823 | 2,000 | 1,048,576 | In some other world, today is the day before Christmas Eve. Mr. Takaha is buying N items at a department store. The regular price of the i-th item (1 \leq i \leq N) is p_i yen (the currency of Japan). He has a discount coupon, and can buy one item with the highest price for half the regular price. The remaining N-1 items cost their regular prices. What is the total amount he will pay? | ['N = int(input())\np = [int(input()) for _ in range(N)]\nans = sum(p) + max(p) // 2\nprint(ans)', 'N = int(input())\np = [int(input()) for _ in range(N)]\nans = sum(p) - max(p) // 2\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s879155901', 's547977413'] | [2940.0, 2940.0] | [18.0, 17.0] | [91, 91] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.