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 | u628583308 | 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. | ['#coding:utf-8\n\nN = input()\n\np = []\nmax_val = -1\nfor i in range(N):\n p_i = input()\n p.append(p_i)\n max_val = max(max_val, p_i)\n\nsum = 0\nflag = 0\nfor p_i in p:\n if p_i == max_val and flag==0:\n sum += p_i * 0.5\n flag = 1\n else:\n sum += p_i\nprint(int(sum))', '#coding:utf-8\n\nN, K = list(map(int, input().split()))\n\nh=[]\nfor i in range(N):\n h_i = int(input())\n h.append(h_i)\n\nh = sorted(h)\n\nmin_val = 100000000000\nfor i in range(N-K+1):\n min_val = min(abs(h[i+K-1] - h[i]), min_val)\nprint(min_val) \n', "#coding:utf-8\n\nD = str(input())\n\nif D == '22':\n print('Christmas Eve Eve Eve')\nelif D == '23':\n print('Christmas Eve Eve')\nelif D == '24':\n print('Christmas Eve')\nelif D == '25':\n print('Christmas')\n "] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s080456072', 's556299040', 's436513237'] | [3064.0, 3060.0, 2940.0] | [17.0, 17.0, 17.0] | [288, 250, 215] |
p03206 | u629607744 | 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 i():\n\treturn int(input())\ndef i2():\n\treturn map(int,input().split())\ndef s():\n\treturn str(input())\ndef l():\n\treturn list(input())\ndef intl():\n\treturn list(int(k) for k in input().split())\n\nd = i()\nif d == 25:\n\tprint("Christmas")\nelif d = 24:\n\tprint("Christmas Eve")\nelif d == 23:\n\tprint("Christmas Eve Eve")\nelse:\n\tprint("Christmas Eve Eve Eve")\n', 'def i():\n\treturn int(input())\ndef i2():\n\treturn map(int,input().split())\ndef s():\n\treturn str(input())\ndef l():\n\treturn list(input())\ndef intl():\n\treturn list(int(k) for k in input().split())\n\nd = i()\nif d == 25:\n\tprint("Christmas")\nelif d == 24:\n\tprint("Christmas Eve")\nelif d == 23:\n\tprint("Christmas Eve Eve")\nelse:\n\tprint("Christmas Eve Eve Eve")\n'] | ['Runtime Error', 'Accepted'] | ['s933904676', 's521527342'] | [2940.0, 3316.0] | [17.0, 21.0] | [350, 351] |
p03206 | u633548583 | 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('Cristmas')\nelif d==24:\n print('Cristmas Eve')\nelif d==23:\n print('Cristmas Eve Eve')\nelse:\n print('Cristmas Eve Eve Eve')", "d=int(input())\nprint('Cristmas' + 'Eve'*(25-d))", "d=int(input())\nprint('Christmas' + ' Eve'*(25-d))\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s448028531', 's608629992', 's690943317'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [166, 47, 50] |
p03206 | u635339675 | 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=map(int,input().split())\nc=[]\nfor i in range(a):\n\tc.append(int(input()))\nc=sorted(c)\n#print(c)\nf=[]\nfor k in range(a-b+1):\n\te=[]\n\tf.append(e)\n\tfor i in range(b):\n\t\te.append(c[i+k])\n#print(f)\ng=[]\nfor i in range(len(f)):\n\tg.append(max(f[i])-min(f[i]))\nprint(min(g))\n', 'a=int(input())\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")\t\n'] | ['Runtime Error', 'Accepted'] | ['s541299372', 's635070988'] | [3064.0, 2940.0] | [17.0, 17.0] | [269, 160] |
p03206 | u636775911 | 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. | ['#coding:utf-8\ns=[int(i) for i in input().split()]\nn=[]\nfor i in range(s[0]):\n n.append(int(input()))\nn.sort()\nsa=abs(n[0]-n[s[1]]-1)\nfor i in range(s[1]):\n print(n[1],n[i+s[1]-1])\n if(sa>abs(n[i]-n[i+s[1]-1])):\n sa=abs(n[i]-n[i+s[1]-1])\nprint(sa)', '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")', '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")'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s193919510', 's424257344', 's537663907'] | [3064.0, 2940.0, 2940.0] | [17.0, 16.0, 17.0] | [252, 170, 172] |
p03206 | u637175065 | 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 math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools\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\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 r = \'Cristmas\'\n for _ in range(n,25):\n r += " Eve"\n\n return r\n\n\nprint(main())\n', 'import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools\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\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 r = \'Christmas\'\n for _ in range(n,25):\n r += " Eve"\n\n return r\n\n\nprint(main())\n'] | ['Wrong Answer', 'Accepted'] | ['s990163761', 's107142890'] | [7880.0, 5456.0] | [98.0, 42.0] | [789, 790] |
p03206 | u638033979 | 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 = list(map(str,input().split()))\nans = 25\nfor s in S:\n if s == "Eve":\n ans -= 1\n\nprint(ans)\n', 'n = int(input())\nans = "Christmas"\nfor _ in range(25-n):\n ans += " Eve"\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s194934123', 's591686586'] | [9020.0, 8976.0] | [21.0, 27.0] | [104, 86] |
p03206 | u641406334 | 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 = 'Christmas'\ne = 'Eve'\na = 25-d\nif a>=1:\n b=' '\nprint(c+(b+e)*a)", "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)\nelse:\n print(c, e, e, e)"] | ['Runtime Error', 'Accepted'] | ['s631478251', 's603356002'] | [2940.0, 3060.0] | [17.0, 17.0] | [85, 144] |
p03206 | u643714578 | 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())\na=[int(input()) for i in range(n)]\nprint(int(sum(a)-max(a)/2))', 'a=int(input())\nif 22<=a<=25:\n\tprint("Christmas"+" Eve"*(25-a))'] | ['Runtime Error', 'Accepted'] | ['s102996517', 's729391725'] | [2940.0, 2940.0] | [17.0, 18.0] | [77, 62] |
p03206 | u643840641 | 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())\nif n==22:\n print(Christmas Eve Eve Eve)\nelif n==23:\n print(Christmas Eve Eve)\nelif n==24:\n print(Christmas Eve)\nelse:\n print(Christmas)', "n = int(input())\nif n==22:\n print('Christmas Eve Eve Eve')\nelif n==23:\n print('Christmas Eve Eve')\nelif n==24:\n print('Christmas Eve')\nelse:\n print('Christmas')"] | ['Runtime Error', 'Accepted'] | ['s598164712', 's190502240'] | [2940.0, 3060.0] | [17.0, 17.0] | [156, 164] |
p03206 | u648195056 | 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==22:\n (print) "Christmas Eve Eve Eve Eve"\n\nif D==23:\n (print) "Christmas Eve Eve"\n\nif D==24:\n (print) "Christmas Eve"\n\nif D==25:\n (print) "Christmas "\n', "if D=23:\n print('Christmas Eve Eve')\n\nif D=24:\n print('Christmas Eve')\n\nif D=23:\n print('Christmas ')\n", 'D = int(input())\n\nif D==22:\n print ("Christmas Eve Eve Eve Eve")\n\nif D==23:\n print ("Christmas Eve Eve")\n\nif D==24:\n print ("Christmas Eve")\n\nif D==25:\n print ("Christmas ")\n', '\nif D==23:\n print "Christmas Eve Eve"\n\nif D==24:\n print "Christmas Eve"\n\nif D==23:\n print "Christmas "\n', "\nif D==23:\n print('Christmas Eve Eve')\n\nif D==24:\n print('Christmas Eve')\n\nif D==23:\n print('Christmas ')\n", 'D = int(input())\n\nif D==22:\n print "Christmas Eve Eve Eve Eve"\n\nif D==23:\n print "Christmas Eve Eve"\n\nif D==24:\n print "Christmas Eve"\n\nif D==25:\n print "Christmas "\n', 'D = int(input())\n\nif D==23:\n print "Christmas Eve Eve"\n\nif D==24:\n print "Christmas Eve"\n\nif D==23:\n print "Christmas "\n', 'D = int(input())\n\nif D==22:\n print ("Christmas Eve Eve Eve")\n\nif D==23:\n print ("Christmas Eve Eve")\n\nif D==24:\n print ("Christmas Eve")\n\nif D==25:\n print ("Christmas")\n'] | ['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s017261469', 's067721226', 's132484832', 's320680384', 's700404303', 's750744918', 's995505814', 's621998255'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 17.0, 19.0, 17.0, 17.0, 17.0, 17.0] | [186, 111, 186, 112, 115, 178, 129, 181] |
p03206 | u649558044 | 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())\nprice = [int(input()) for _ in range(n)]\nprint(int(sum(price) - max(price) / 2))', "d = int(input())\ns = 'Christmas' + ' Eve' * (25 - d)\nprint(s)"] | ['Runtime Error', 'Accepted'] | ['s286397468', 's789062147'] | [3064.0, 2940.0] | [18.0, 17.0] | [97, 61] |
p03206 | u650932312 | 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 ans = 'Christmas'\nelif D == 24:\n ans = 'Christmas Eve'\nelif D == 23:\n ans = 'Christmas Eve Eve'\nelif D == 22:\n ans = 'Christmas Eve Eve'\n", "D = int(input())\n\nif D == 25:\n ans = 'Christmas'\nelif D == 24:\n ans = 'Christmas Eve'\nelif D == 23:\n ans = 'Christmas Eve Eve'\nelif D == 22:\n ans = 'Christmas Eve Eve'\n", "D = int(input())\n\nif D == 25:\n ans = 'Christmas'\nelif D == 24:\n ans = 'Christmas Eve'\nelif D == 23:\n ans = 'Christmas Eve Eve'\nelif D == 22:\n ans = 'Christmas Eve Eve Eve'\nprint(ans)\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s272600679', 's966845195', 's769717756'] | [9020.0, 9000.0, 8988.0] | [24.0, 21.0, 28.0] | [180, 180, 195] |
p03206 | u652569315 | 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')\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')", "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'] | ['s952935047', 's958031119', 's653413807'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 18.0] | [164, 164, 168] |
p03206 | u652656291 | 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('Christmas' + ' Eve' * (25 - int(input())))", "print('Christmas' + ' Eve' * (25 - int(input())))"] | ['Runtime Error', 'Accepted'] | ['s265197289', 's191499604'] | [2940.0, 2940.0] | [17.0, 17.0] | [50, 49] |
p03206 | u652737716 | 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", "D = int(input())\nprint('Christmas' + ' Eve' * (25 - D))\n"] | ['Runtime Error', 'Accepted'] | ['s854854149', 's997399511'] | [2940.0, 2940.0] | [18.0, 17.0] | [54, 56] |
p03206 | u653363401 | 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("cristmas Eve")\nif(D==23):\n print("cristmas Eve Eve")\nif(D==22):\n print("cristmas Eve Eve Eve")\n', '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")'] | ['Wrong Answer', 'Accepted'] | ['s350958274', 's707433741'] | [2940.0, 2940.0] | [18.0, 18.0] | [173, 175] |
p03206 | u655612181 | 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 = input()\nl = { 25: "Christmas", 24: "Christmas Eve", 23: "Christmas Eve Eve", 22: "Christmas Eve Eve Eve" }\nreturn l[int(x)]', 'x = input()\nl = { 25: "Christmas", 24: "Christmas Eve", 23: "Christmas Eve Eve", 22: "Christmas Eve Eve Eve" }\nprint(l[int(x)])'] | ['Runtime Error', 'Accepted'] | ['s349295831', 's846396316'] | [2940.0, 2940.0] | [17.0, 17.0] | [127, 127] |
p03206 | u656995812 | 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 = list()\nans = list()\n\nfor i in range(n):\n h.append(int(input()))\nh.sort()\n\nfor i in range(n-k+1):\n ans.append(h[i+k-1] - h[i])\n\nprint(min(ans))', "print('Christmas' + ' Eve' * (25 - int(input())))"] | ['Runtime Error', 'Accepted'] | ['s769339211', 's497250296'] | [3060.0, 2940.0] | [16.0, 17.0] | [185, 49] |
p03206 | u661576386 | 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 == 22:\n print('Christmas Eve Eve Eve')\nif s == 23:\n print('Christmas Eve Eve')\nif s == 24:\n print('Christmas Eve')\nif s == 25:\n print('Christmas')\n", "s = int(input())\nif s == 22:\n print('Christmas Eve Eve Eve')\nif s == 23:\n print('Christmas Eve Eve')\nif s == 24:\n print('Christmas Eve')\nif s == 25:\n print('Christmas')\n"] | ['Runtime Error', 'Accepted'] | ['s541869147', 's724424793'] | [2940.0, 2940.0] | [17.0, 17.0] | [179, 181] |
p03206 | u661780649 | 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('Christmas' + *' Eve'(25-int(input())))", "print('Christmas' + ' Eve' * (25 - int(input())))"] | ['Runtime Error', 'Accepted'] | ['s285803212', 's418700753'] | [2940.0, 2940.0] | [17.0, 18.0] | [45, 49] |
p03206 | u662121130 | 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")', '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'] | ['Wrong Answer', 'Accepted'] | ['s875053519', 's619365586'] | [2940.0, 2940.0] | [17.0, 18.0] | [173, 182] |
p03206 | u663710122 | 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('Christmas' + ' Eve' * (int(input()) - D))\n", "print('Christmas' + ' Eve' * (25) - int(input()))", "print('Christmas' + ' Eve' * (25 - int(input())))"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s416351784', 's528046034', 's162292802'] | [2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0] | [49, 49, 49] |
p03206 | u664652300 | 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. | ['q={22:"Christmas Eve Eve Eve",23:"Christmas Eve Eve",24:"Christmas Eve",25:"Christmas"}\nprint(q[int(input())]', 'q={22:"Christmas Eve Eve Eve",23:"Christmas Eve Eve",24:"Christmas Eve",25:"Christmas"}\nprint(q[int(input())])'] | ['Runtime Error', 'Accepted'] | ['s444860325', 's976962564'] | [2940.0, 2940.0] | [18.0, 20.0] | [109, 110] |
p03206 | u667024514 | 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())\nprint(Christmas + " Eve" * (25-n))', 'n = int(input())\nprint("Christmas" + " Eve" * (25-n))'] | ['Runtime Error', 'Accepted'] | ['s817419410', 's926807778'] | [2940.0, 2940.0] | [17.0, 17.0] | [51, 53] |
p03206 | u667469290 | 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. | ["# -*- coding: utf-8 -*-\n\ndef solve():\n D = int(input())\n e = 25-D\n res = ' '.join(['Cristmas'] + ['Eve']*e)\n return res\n\n\n\nif __name__ == '__main__':\n print(solve())", "# -*- coding: utf-8 -*-\n\ndef solve():\n D = int(input())\n e = 25-D\n res = ' '.join(['Christmas'] + ['Eve']*e)\n return res\n\n\n\nif __name__ == '__main__':\n print(solve())"] | ['Wrong Answer', 'Accepted'] | ['s175454144', 's110054459'] | [2940.0, 2940.0] | [17.0, 17.0] | [180, 181] |
p03206 | u669382434 | 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()]\np=[1]\nb=[0]\nz=[]\nfor i in range(n):\n p.append(p[i]*2+1)\n b.append(b[i]*2+2)\n z.append(p[i]+b[i])\nans=0\nici=0\nfor i in range(n-1, -1, -1):\n if x-ici>z[i]+1:\n ici+=z[i]+2\n ans+=p[i]+1\n elif x-ici<z[i]+1:\n ici+=1\n else:\n ans+=p[i]\n break\nprint(ans)', 'd=int(input())\nans="Christmas"\nfor i in range(25-d):\n ans+=" Eve"\nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s438335676', 's339151002'] | [3064.0, 2940.0] | [17.0, 17.0] | [304, 77] |
p03206 | u676496404 | 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 == 25:\n print('Christmas')\nelif s == 24:\n print('Christmas Eve')\nelif s == 23:\n print('Christmas Eve Eve')\nelse:\n print('Christmas Eve Eve Eve')", "s = input()\n \nif s == '25':\n print('Christmas')\nelif s == '24':\n print('Christmas Eve')\nelif s == '23':\n print('Christmas Eve Eve')\nelse:\n print('Christmas Eve Eve Eve')"] | ['Wrong Answer', 'Accepted'] | ['s731931720', 's895409051'] | [2940.0, 2940.0] | [18.0, 18.0] | [166, 173] |
p03206 | u677705680 | 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\nnum = 25 - D\ns = "Christmas"\n\nfor i in num:\n s += " Eve"\n\nprint(s)', 'D = int(input())\n\nnum = 25 - D\ns = "Christmas"\ns += " Eve" * num\n\nprint(s)'] | ['Runtime Error', 'Accepted'] | ['s448908014', 's172301186'] | [2940.0, 2940.0] | [17.0, 17.0] | [87, 74] |
p03206 | u681110193 | 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()\nif D==25:\n print('Christmas')\n\nif D==24:\n print('Christmas Eve')\nif D==25:\n print('Christmas Eve Eve')\n\nif D==25:\n print('Christmas Eve Eve Eve')\n", "D=int(input())\nif D==25:\n print('Christmas')\n\nif D==24:\n print('Christmas Eve')\n \nif D==23:\n print('Christmas Eve Eve')\n\nif D==22:\n print('Christmas Eve Eve Eve')\n"] | ['Runtime Error', 'Accepted'] | ['s794141420', 's846023244'] | [2940.0, 2940.0] | [18.0, 17.0] | [160, 168] |
p03206 | u681323954 | 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(intput())\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'] | ['s873399891', 's518986026'] | [2940.0, 2940.0] | [18.0, 17.0] | [165, 164] |
p03206 | u686036872 | 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 else \'Christmas Eve\' if D==24 else \n\'Christmas Eve Eve\' if D==23 else \'Christmas Eve Eve Eve\' if D==22""")', "D =int(input())\nprint('Christmas' if D==25 else 'Christmas Eve' if D==24 else 'Christmas Eve Eve' if D==23 else 'Christmas Eve Eve Eve' if D==22)", "D =int(input())\nprint('Christmas'+' Eve'*(25-D))"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s260644413', 's780843187', 's764802099'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [152, 145, 48] |
p03206 | u687764591 | 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 N, K = map(int, input().split())\n h = [int(input()) for count in range(N)]\n h.sort()\n min_value = min(h[i + K - 1] - h[i] for i in range(N - K + 1))\n print(min_value)\n\n\nif __name__ == '__main__':\n main()\n", "def main():\n day = int(input())\n if day == 22:\n print('Christmas Eve Eve Eve')\n elif day == 23:\n print('Christmas Eve Eve')\n elif day == 24:\n print('Christmas Eve')\n elif day == 25:\n print('Christmas')\n\n\nif __name__ == '__main__':\n main()\n"] | ['Runtime Error', 'Accepted'] | ['s601340900', 's153443508'] | [2940.0, 2940.0] | [17.0, 17.0] | [235, 285] |
p03206 | u687767456 | 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. | ["'Christmas' + (25 - D) * ' Eve'", 'print(D)', "print('Christmas' + ' Eve' * (25 - int(input())))"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s615088526', 's686624379', 's729223549'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [31, 8, 49] |
p03206 | u690536347 | 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(" ".join(["Christmas"]+["Eve"]*(25-D))', 'D=int(input())\nprint(" ".join(["Christmas"]+["Eve"]*(25-D)))\n'] | ['Runtime Error', 'Accepted'] | ['s065057913', 's033394226'] | [2940.0, 2940.0] | [17.0, 18.0] | [59, 61] |
p03206 | u693933222 | 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 (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")', 'Num = []\nNum = list(map(int,input().split(" "))) #0-all 1-pick\nlists = []\nfor i in range(0,Num[0]):\n lists.append(int(input()))\nlists.sort()\nlists.reverse()\ndist = lists[0] - lists[0+Num[1]-1]\nfor j in range(1,Num[0] - Num[1] + 1):\n tmp = lists[j] - lists[j+Num[1]-1]\n if (dist > tmp):\n dist = tmp\nprint(dist)', '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', 'Runtime Error', 'Accepted'] | ['s728636532', 's902110694', 's597941490'] | [2940.0, 3064.0, 2940.0] | [18.0, 18.0, 18.0] | [184, 325, 184] |
p03206 | u694506377 | 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. | ['nnk = list(map(lambda x: int(x), input().split(" ")))\nn = nnk[0]\nk = nnk[1]\n\nhs = [int(input()) for l in range(n)]\nhs.sort()\n\nhmmm = []\nfor l in range(n-k+1):\n hmmm.append(hs[k+l-1] - hs[l])\n\nhmmm.sort()\nprint(hmmm[0])', '#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\n\n\nnnk = input().split(" ")\nn = int(nnk[0])\nk = int(nnk[1])\n\nhs = [int(input()) for l in range(n)]\nhs.sort()\n\nhmmm = []\nfor l in range(n-k+1):\n hmmm.append(hs[k+l-1] - hs[l])\n\nhmmm.sort()\nprint(hmmm[0])', '#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\n\n\nnnk = list(map(lambda x: int(x), input().split(" ")))\nn = nnk[0]\nk = nnk[1]\n\nhs = [int(input()) for l in range(n)]\nhs.sort()\n\nnum = n - k + 1\n\nhmmm = []\nfor l in range(num):\n hmmm.append(hs[k+l-1] - hs[l])\n\nhmmm.sort()\nprint(hmmm[0])', '#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\n\n\nd = input()\n\nif d == "22":\n print("Christmas Eve Eve Eve")\nelif d == "23":\n print("Christmas Eve Eve")\nelif d == "24":\n print("Christmas Eve")\nelif d == "25":\n print("Cristmas")', '#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\n\n\nd = input()\n\nif d == "22":\n print("Christmas Eve Eve Eve")\nelif d == "23":\n print("Christmas Eve Eve")\nelif d == "24":\n print("Christmas Eve")\nelif d == "25":\n print("Christmas")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s478673662', 's744571449', 's757770022', 's835319739', 's148243190'] | [3064.0, 3060.0, 3064.0, 2940.0, 2940.0] | [18.0, 17.0, 18.0, 18.0, 17.0] | [221, 252, 286, 239, 240] |
p03206 | u701318346 | 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')\nelse:\n print('Christmas 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"] | ['Runtime Error', 'Accepted'] | ['s061865714', 's746941353'] | [2940.0, 2940.0] | [17.0, 17.0] | [168, 172] |
p03206 | u703110933 | 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('Chrismas','Eve '*(25-int(input())))", 'n,*p=map(int,open(0).read().split())\nprint(int(sum(p)-max(p)/2))', "print('Christmas'+' Eve'*(25-int(input())))"] | ['Wrong Answer', 'Runtime Error', 'Accepted'] | ['s172308165', 's503705685', 's662337488'] | [2940.0, 2940.0, 3064.0] | [17.0, 17.0, 17.0] | [42, 64, 43] |
p03206 | u704001626 | 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. | ['# -*- coding: utf-8 -*-\na = 25 - int(input())\nprint("Christmas " + "Eve" * a)\n', '# -*- coding: utf-8 -*-\na = 25 - int(input())\nprint("Christmas" + " Eve" * a)'] | ['Wrong Answer', 'Accepted'] | ['s983851982', 's990734464'] | [2940.0, 2940.0] | [18.0, 17.0] | [78, 77] |
p03206 | u709630872 | 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 = []\nfor i in range(N):\n _p = int(input())\n p.append(_p)\nbiggest = 0\nj = 0\nfor i in range(N):\n if(p[i]>=biggest):\n j = i\n biggest=p[i]\np[j] = p[j] / 2\nprint(int(sum(p)))', 'N, K = list(map(int,input().split()))\nh = [int(input()) for i in range(N)]\nh.sort()\nm = "a"\nfor i in range(N - K + 1):\n if m=="a" or m>h[i+K-1]:\n m = h[i+K-1] - h[i]\nprint(m)', 'N,K=list(map(int,input().split()))\nh=[int(input()) for i in range(N)]\n \nh.sort()\n \nm="a"\nfor i in range(N-K+1):\n\tif m=="a" or m>h[i+K-1]-h[i]: m=h[i+K-1]-h[i]\n \nprint(m)', 'N = int(input())\np = []\nfor i in range(N):\n _p = int(input())\n p.append(_p)\nbiggest = 0\nj = 0\nfor i in range(N):\n if(p[i]>biggest):\n j = i\n biggest=p[i]\np[j] = p[j] / 2\nprint(int(sum(p)))', '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', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s207344614', 's348588894', 's358346972', 's918877186', 's857715227'] | [3064.0, 3188.0, 2940.0, 3064.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 18.0] | [211, 185, 169, 210, 175] |
p03206 | u712284046 | 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\ndate = "Christmas" + " Eve" * (D - 24)\n\nprint(date)', 'D = int(input())\n\ndate = "Christmas" + " Eve" * (25 - D)\n\nprint(date)\n'] | ['Wrong Answer', 'Accepted'] | ['s275650588', 's122763420'] | [2940.0, 2940.0] | [18.0, 18.0] | [69, 70] |
p03206 | u722535636 | 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. | ['l = [1]\np = [1]\nN, X = map(int, input().split())\nfor i in range(N):\n l.append(l[i] * 2 + 3)\n p.append(p[i] * 2 + 1)\n\n\ndef calc(n, x):\n if l[n] <= x:\n return p[n]\n if x == 0 or x == 1:\n return 0\n if x <= l[n] // 2:\n return calc(n - 1, x - 1)\n elif x == l[n] // 2 + 1:\n return p[n - 1] + 1\n else:\n return p[n - 1] + 1 + calc(n - 1, x - (l[n - 1] + 2))\n\n\nprint(calc(N, X))\n', "c='Christmas'\nfor i in range(25-int(input())):\n\tc+=' Eve'\nprint(c)"] | ['Runtime Error', 'Accepted'] | ['s995117792', 's534276635'] | [3064.0, 3060.0] | [18.0, 20.0] | [426, 66] |
p03206 | u723180465 | 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 == 22:\n print('Chistmas Eve Eve Eve')\nelif d == 23:\n print('Chistmas Eve Eve')\nelif d == 24:\n print('Chistmas Eve')\nelse:\n print('Chistmas')", "d = int(input())\n\nif d == 22:\n print('Christmas Eve Eve Eve')\nelif d == 23:\n print('Christmas Eve Eve')\nelif d == 24:\n print('Christmas Eve')\nelse:\n print('Christmas')"] | ['Wrong Answer', 'Accepted'] | ['s199717074', 's709090616'] | [2940.0, 2940.0] | [18.0, 18.0] | [175, 179] |
p03206 | u727787724 | 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())\nif n==22:\n print(Christmas Eve Eve Eve)\nelif n==23:\n print(Christmas Eve Eve)\nelif n==24:\n print(Christmas Eve)\nelse:\n print(Christmas)\n', "n=int(input())\nif n==22:\n print('Christmas Eve Eve Eve')\nelif n==23:\n print('Christmas Eve Eve')\nelif n==24:\n print('Christmas Eve')\nelse:\n print('Christmas')\n"] | ['Runtime Error', 'Accepted'] | ['s225197272', 's805264427'] | [2940.0, 2940.0] | [17.0, 17.0] | [155, 163] |
p03206 | u730476362 | 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(x) for x in input().split())\nburger=[]\nburger.append('P')\nfor i in range(N):\n burger.append('B'+burger[-1]+'P'+burger[-1]+'B')\nprint(burger[-1][0:X].count('P'))", "N,X=(int(x) for x in input().split())\ntmp='P'\nfor i in range(N):\n tmp='B'+tmp+'P'+tmp+'B'\nprint(tmp[0:X].count('P'))", "D=input()\nintD=int(D)\nif intD==25:\n print('Christmas')\nelif intD==24:\n print('Christmas Eve')\nelif intD==23:\n print('Christmas Eve Eve')\nelif intD==22:\n print('Christmas Eve Eve Eve')\nelse:\n print('Error')"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s012542022', 's162305685', 's903036982'] | [2940.0, 2940.0, 2940.0] | [19.0, 17.0, 17.0] | [172, 119, 221] |
p03206 | u730710086 | 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. | ["# -*- coding: <encoding name> -*-\n\nd = int(input())\n\nprint('Chrestmas' + ' Eve' * (25 -d))", "# -*- coding: <encoding name> -*-\n\nd = int(input())\n\nprint('Christmas' + ' Eve' * (25 -d))"] | ['Wrong Answer', 'Accepted'] | ['s142278851', 's495827307'] | [2940.0, 2940.0] | [17.0, 17.0] | [153, 153] |
p03206 | u734876600 | 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 = 22:\n print("Christmas Eve Eve Eve")\nelif d = 23:\n print("Christmas Eve Eve")\nelif d = 24:\n print("Christmas Eve")\nelse:\n print("Christmas")', 'd = int(input())\n\nif d == 22:\n print("Christmas Eve Eve Eve")\nelif d == 23:\n print("Christmas Eve Eve")\nelif d == 24:\n print("Christmas Eve")\nelse:\n print("Christmas")'] | ['Runtime Error', 'Accepted'] | ['s871319449', 's088187921'] | [2940.0, 2940.0] | [17.0, 17.0] | [176, 179] |
p03206 | u743164083 | 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 math\n\nn, k = list(map(int, input().split()))\nh = [int(input()) for _ in range(n)]\nh.sort()\nans = math.inf\nfor i in range(n - k + 1):\n ans = min(ans, h[i + k - 1] - h[i])\n\nprint(ans)\n', 'D = int(input())\nc = "Christmas"\ne = " Eve"\nprint(c, end="")\nif D != 25:\n for i in range(25 - D):\n print(e, end="")\nprint()'] | ['Runtime Error', 'Accepted'] | ['s365408298', 's551258790'] | [9168.0, 2940.0] | [20.0, 17.0] | [192, 133] |
p03206 | u744920373 | 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 sys\nsys.setrecursionlimit(10**8)\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]\ndef dp2(ini, i, j): return [[ini]*i for i2 in range(j)]\ndef dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]\n\n#from collections import defaultdict #d = defaultdict(int) d[key] += value\n#from collections import Counter # a = Counter(A).most_common()\n#from itertools import accumulate #list(accumulate(A))\n\nN, K =mi()\nA = [ii() for _ in range(N)]\n\ntmp = float('inf')\nfor i in range(N-K+1):\n if A[i+K-1] - A[i] < tmp:\n tmp = A[i+K-1] - A[i]\nprint(tmp)\n", "import sys\nsys.setrecursionlimit(10**8)\ndef ii(): return int(sys.stdin.readline())\ndef mi(): return map(int, sys.stdin.readline().split())\ndef li(): return list(map(int, sys.stdin.readline().split()))\ndef li2(N): return [list(map(int, sys.stdin.readline().split())) for i in range(N)]\ndef dp2(ini, i, j): return [[ini]*i for i2 in range(j)]\ndef dp3(ini, i, j, k): return [[[ini]*i for i2 in range(j)] for i3 in range(k)]\n\n#from collections import defaultdict #d = defaultdict(int) d[key] += value\n#from collections import Counter # a = Counter(A).most_common()\n#from itertools import accumulate #list(accumulate(A))\n\nD = ii()\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')"] | ['Runtime Error', 'Accepted'] | ['s913385986', 's161761518'] | [3064.0, 3064.0] | [17.0, 19.0] | [811, 830] |
p03206 | u745554846 | 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 = 25:\n print('Christmas')\nelif a = 24:\n print('Christmas Eve')\nelif a = 23:\n print('Christmas Eve Eve')\nelif a = 22:\n print('Christmas Eve Eve Eve')", "a = int(input())\nif a == 25:\n print('Christmas')\nelif a == 24:\n print('Christmas Eve')\nelif a == 23:\n print('Christmas Eve Eve')\nelif a == 22:\n print('Christmas Eve Eve Eve')"] | ['Runtime Error', 'Accepted'] | ['s986162865', 's747744635'] | [2940.0, 2940.0] | [17.0, 17.0] | [174, 178] |
p03206 | u748377775 | 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())\nEvetimes=25-s\noutput="Cristmus"\nfor cnt in range(Evetimes):\n output+=" Eve"\n\nprint(output)', 's=int(input())\nEvetimes=25-s\noutput="Cristmus"\nfor cnt in range(Evetimes):\n output+=" Eve"\n\nprint(output)', 's=int(input())\nEvetimes=25-s\noutput="Christmas"\nfor cnt in range(Evetimes):\n output+=" Eve"\n\nprint(output)'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s344659129', 's685449417', 's756676947'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0] | [108, 108, 109] |
p03206 | u750275181 | 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 ",end="")\nfor i in range(25-d):\n print("eve ",end="")\nprint("")', 'd = int(input())\nprint("Christmas ",end="")\nfor i in range(25-d):\n print("eve ",end="")', 'd = int(input())\nprint("Christmas"+" Eve"*(25-d))\n'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s175666162', 's730181255', 's681150452'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [100, 90, 50] |
p03206 | u750389519 | 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\nif D==24:\n print("Christmas Eve")\n\nif D==23:\n print("Christmas Eve Eve")\n\nif D==22:\n print("Christmas Eve Eve Eve")', 'D=input()\nD=int(D)\n\nif D==25:\n print("Christmas")\n\nif D==24:\n print("Christmas Eve")\n\nif D==23:\n print("Christmas Eve Eve")\n\nif D==22:\n print("Christmas Eve Eve Eve")\n'] | ['Runtime Error', 'Accepted'] | ['s032661889', 's335722263'] | [8864.0, 9036.0] | [24.0, 20.0] | [178, 179] |
p03206 | u752767312 | 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())\nB = [-1 for i in range(51)]\nP = [-1 for i in range(51)]\n\ndef buns(L):\n if L == 0:\n B[L] = 0\n return B[L]\n else:\n if B[L] == -1:\n B[L] = buns(L-1)*2 + 2\n return B[L]\n else:\n return B[L]\n\ndef patty(L):\n if L == 0:\n P[L] = 1 \n return P[L]\n else:\n if P[L] == -1:\n P[L] = patty(L-1)*2 + 1\n return P[L]\n else:\n return P[L]\n\nbuns(N)\npatty(N)\nmemo = [B[i] + P[i] for i in range(51)]\n\ndef func(L,X):\n\n if L == 0:\n if X <= 0:\n return 0\n else:\n return 1\n elif X <= memo[L-1]+1:\n return func(L-1,X-1)\n else :\n return P[L-1] + 1 + func(L-1,X-2-memo[L-1])\n\n\nprint(func(N,X))', 'D = 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")\nelse:\n pass'] | ['Runtime Error', 'Accepted'] | ['s578434700', 's304406145'] | [3064.0, 2940.0] | [19.0, 17.0] | [829, 195] |
p03206 | u756988562 | 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. | ['#include<stdio.h>\nint main(){\n\tint D;\n\tscanf("%d",&D);\n\tif (D==25){\n\t\tputs("Christmas");\n\t}\n\telse if (D == 24){\n\t\tputs("Christmas Eve");\n\t}\n\telse if(D==23){\n\t\tputs("Christmas Eve Eve");\n\t}\n\telse if(D ==22){\n\t\tputs("Christmas Eve Eve Eve");\n\t}\n}', 'n = int(input())\nif n == 25:\n print("Chiristmas")\nelif(n == 24):\n print("Chiristmas Eve")\nelif(n == 23):\n print("Chiristmas Eve Eve")\nelse:\n print("Chiristmas 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")\nelse:\n print("Christmas Eve Eve Eve")\n\n'] | ['Runtime Error', 'Wrong Answer', 'Accepted'] | ['s748319102', 's963351624', 's900055449'] | [2940.0, 2940.0, 2940.0] | [18.0, 18.0, 18.0] | [244, 184, 182] |
p03206 | u761087127 | 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(f"Christmas {Eve*(25-D)}")', 'D = int(input())\nprint("Christmas" + " Eve"*(25-D))'] | ['Runtime Error', 'Accepted'] | ['s296224745', 's643016319'] | [2940.0, 2940.0] | [17.0, 18.0] | [49, 51] |
p03206 | u761471989 | 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 = input().split()\n\nN = int(N)\nX = int(X)\n\nall = 2**(N+2)-3\nb_all = 0\nfor i in range(N+1):\n if i > 0:\n b_all += 2**i\n\np_all = all - b_all\n\nfirst = 1\nlast = all\n\nget = 0\nfor i in range(N):\n if i < N-1:\n if (first + last) / 2 == X:\n get += (p_all + 1) / 2\n break\n\n elif (first + last) / 2 < X:\n get += (p_all + 1) / 2\n p_all -= (p_all + 1) / 2\n first = (first + last) / 2 + 1\n last = last - 1\n\n if first == X:\n break\n elif (first + last) / 2 > X:\n p_all = (p_all - 1) / 2\n last = (first + last) / 2 - 1\n first = first + 1\n\n if last == X:\n get += p_all\n break\n else:\n if first == X:\n break\n elif last == X:\n get += 3\n else:\n get += X - first\n break\n\nprint(int(get))\n\n', 'a = int(input())\n\nif a == 25:\n print("Christmas")\nelif a == 24:\n print("Christmas Eve")\nelif a == 23:\n print("Christmas Eve Eve")\nelif a == 22:\n print("Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s725296562', 's760374259'] | [3064.0, 2940.0] | [17.0, 17.0] | [936, 187] |
p03206 | u762420987 | 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()\ndate_dict = {"25": "Christmas", \n"24": "Christmas Eve",\n"23": "Christmas Eve Eve", \n"22": "Christmas Eve Eve Eve"}\n\nprint(date_dict(D))\n', 'D = int(input())\ndate_dict = {25: "Christmas", \n24: "Christmas Eve",\n23: "Christmas Eve Eve", \n22: "Christmas Eve Eve Eve"}\n\nprint(date_dict(D))\n', 'D = input()\ndate_dict = {"25": "Christmas", "24": "Christmas Eve","23": "Christmas Eve Eve", "22": "Christmas Eve Eve Eve"}\n\nprint(date_dict[D])\n'] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s413727845', 's510077410', 's168032792'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [148, 145, 145] |
p03206 | u764956288 | 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())\ntrees = [int(input()) for _ in range(N)]\n\ntrees.sort()\n\nprint(min([max_h-min_h for min_h,max_h in zip(trees,trees[K-1:])]))', "D = int(input())\nnames = {\n\t25:'Christmas', \n\t24:'Christmas Eve', \n\t23:'Christmas Eve Eve', \n\t22:'Christmas Eve Eve Eve'\n }\n\nprint(names[D])"] | ['Runtime Error', 'Accepted'] | ['s010418486', 's592548768'] | [2940.0, 2940.0] | [18.0, 18.0] | [155, 141] |
p03206 | u766400023 | 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 = str(input())\ndic = {'22':'Christmas Eve Eve Eve', '23':'Christmas Eve Eve', '24':'Christmas Eve', '25':'Christmas'}\ndic[D]", "D = str(input())\nmsg = 'Christmas'\nev = ' Eve'\ndic = {'22':msg+ev*3, '23':msg+ev*2, '24':msg+ev, '25':msg}\ndic[D]", "D = input()\nmsg = 'christmas'\nev = ' Eve'\ndic = {'22':msg+ev*3, '23':msg+ev*2, '24':msg+ev, '25':msg}\nprint(dic[str(D)])", "D = str(input())\nmsg = 'christmas'\nev = ' Eve'\ndic = {'22':msg+ev*3, '23':msg+ev*2, '24':msg+ev, '25':msg}\nprint(dic[D])", "D = input\nmsg = 'Christmas'\nev = ' Eve'\ndic = {'22':msg+ev*3, '23':msg+ev*2, '24':msg+ev, '25':msg}\nprint(dic[str(D)])", "D = input()\nmsg = 'Christmas'\nev = ' Eve'\ndic = {'22':msg+ev*3, '23':msg+ev*2, '24':msg+ev, '25':msg}\nprint(dic[str(D)])"] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted'] | ['s122423771', 's210157492', 's352260280', 's530246723', 's543934077', 's830924610'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 18.0, 17.0, 17.0, 18.0, 18.0] | [126, 113, 120, 120, 118, 120] |
p03206 | u771406607 | 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\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())\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')"] | ['Wrong Answer', 'Accepted'] | ['s043557431', 's236812878'] | [3060.0, 2940.0] | [17.0, 17.0] | [174, 180] |
p03206 | u771532493 | 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())\nprice=[]\nfor i in range(N):\n price.append(int(input()))\nprice.sort(reverse=True)\nprice[0]=price[0]//2\nsum(price)\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')\nelif D=='22':\n print('Christmas Eve Eve Eve')", 'N,K=(int(i) for i in input().split())\nhlist=[int(input()) for l in range(N)]\nhlist.sort()\nfor j in range(N-K+2):\n dif=[hlist[j+k]-hlist[j]]\nprint(min(dif))', 'N=int(input())\nprice=[int(input()) for i in range(N)]\nprice.sort(reverse=True)\nprice[0]=price[0]//2\nsum(price)\n', "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', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s434333393', 's562149208', 's961642982', 's965516145', 's470918537'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 18.0, 18.0] | [131, 177, 158, 111, 172] |
p03206 | u774160580 | 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", end="")\nfor i in range(D - 22):\n print(" Eve", end="")\nprint()\n', 'D = int(input())\nprint("Christmas", end="")\nfor i in range(25 - D):\n print(" Eve", end="")\nprint()\n'] | ['Wrong Answer', 'Accepted'] | ['s479522782', 's373983722'] | [2940.0, 2940.0] | [17.0, 17.0] | [102, 102] |
p03206 | u776311944 | 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\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())\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')"] | ['Wrong Answer', 'Accepted'] | ['s062553713', 's871486720'] | [2940.0, 2940.0] | [17.0, 17.0] | [182, 187] |
p03206 | u776871252 | 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'] | ['Wrong Answer', 'Accepted'] | ['s929413176', 's174209988'] | [2940.0, 2940.0] | [17.0, 17.0] | [188, 188] |
p03206 | u788137651 | 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())\nx = X\nnums = [1]\np_count = [1]\nfor i in range(N):\n nums.append(2 * nums[-1] + 3)\n p_count.append(2 * p_count[-1] + 1)\n\n\ndef solve_p(N, X):\n if X <= 1:\n return 0\n elif N == 0:\n return 1\n else:\n if X == (nums[N]) // 2:\n return (p_count[N]+1) // 2\n elif X < nums[N] // 2:\n return solve_p(N - 1, X - 1)\n else:\n return p_count[N-1]+1+solve_p(N-1, X-(nums[N]+1)//2)\n\n\nprint(solve_p(N, X))\n"""\nans = 0\nfor i, n in enumerate(nums[:-1]):\n if X == n:\n ans += p_count[i]\n break\n elif X > n // 2:\n X -= p_count[i]//2\n ans += p_count[i] // 2\n elif X == n // 2:\n ans += (p_count[i] + 1) // 2\n break\n# print(ans)\n\nburger = ["P"]\nfor i in range(N):\n burger.append(("B"+burger[i]+"P"+burger[i]+"B"))\nprint(burger) # [N + 1])\n\nprint(burger[N])\n\nprint(burger[N][:x].count("P"))\n"""\n', 'D = int(input())\noutput = "Christmas"\nwhile D < 25:\n output = output + " Eve"\n D += 1\nprint(output)\n'] | ['Runtime Error', 'Accepted'] | ['s490820717', 's865587598'] | [3064.0, 2940.0] | [17.0, 18.0] | [934, 106] |
p03206 | u798260206 | 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")', '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")'] | ['Wrong Answer', 'Accepted'] | ['s730313613', 's111005743'] | [8912.0, 9096.0] | [24.0, 27.0] | [161, 169] |
p03206 | u798314431 | 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())\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')"] | ['Runtime Error', 'Accepted'] | ['s797249450', 's726830488'] | [2940.0, 2940.0] | [17.0, 17.0] | [164, 168] |
p03206 | u798316285 | 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())\nprice_list=[int(input()) for i in range(n)]\nprint(sum(price_list)-max(price_list)//2)', 'print("Christmas"+" Eve"*(25-int(input())))'] | ['Runtime Error', 'Accepted'] | ['s591867728', 's689363486'] | [2940.0, 2940.0] | [17.0, 17.0] | [100, 43] |
p03206 | u798894056 | 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\nans = "Cristmas"\nans += " Eve" * (25 - D)\n\nprint(ans)', 'D = int(input())\n\nans = "Christmas"\nans += " Eve" * (25 - D)\n\nprint(ans)'] | ['Wrong Answer', 'Accepted'] | ['s831816976', 's008364036'] | [9156.0, 9128.0] | [22.0, 23.0] | [71, 72] |
p03206 | u800780376 | 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)', 'D = int(input())\n \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)', '\n\nD = 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', 'Runtime Error', 'Accepted'] | ['s441455485', 's926986266', 's177349075'] | [2940.0, 2940.0, 3060.0] | [17.0, 17.0, 19.0] | [171, 181, 225] |
p03206 | u801512570 | 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 collections\n\ndef conv(cc, ks, K):\n tm=max([sum(cc[j:j+(ks+1)]) for j in range(len(cc)-(ks-1))])\n if tm>=K:\n return ks\n else:\n return conv(cc, ks+1, K)\n\nN, K=map(int, input().split())\nh=[int(input()) for i in range(N)]\n\ncc=list(collections.Counter(h).values())\n\nprint(conv(cc,0,K))', "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')"] | ['Runtime Error', 'Accepted'] | ['s184159087', 's396439713'] | [3316.0, 2940.0] | [23.0, 17.0] | [310, 163] |
p03206 | u802772880 | 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')\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'] | ['s345626964', 's743241875'] | [2940.0, 2940.0] | [18.0, 18.0] | [165, 170] |
p03206 | u812354010 | 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()\nif a==25:\n print("Christmas")\nelif a==24:\n print("Christmas Eve")\nelif a==23:\n print("Christmas Eve Eve")\nelif a==22:\n print("Christmas Eve Eve Eve")', 'a=int(input())\nif a==25:\n print("Christmas")\nelif a==24:\n print("Christmas Eve")\nelif a==23:\n print("Christmas Eve Eve")\nelif a==22:\n print("Christmas Eve Eve Eve")'] | ['Wrong Answer', 'Accepted'] | ['s499989446', 's140550445'] | [2940.0, 2940.0] | [18.0, 18.0] | [171, 176] |
p03206 | u813102292 | 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)\n', '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")\n'] | ['Runtime Error', 'Accepted'] | ['s188070762', 's628445733'] | [2940.0, 2940.0] | [18.0, 18.0] | [165, 173] |
p03206 | u814781830 | 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. | ['cri = {"25":"Christmas",\n\t"24":"Christmas Eve",\n\t"23":"Christmas Eve Eve",\n\t"22":"Christmas Eve Eve Eve"}\nprint(cri[nput()])', 'cri = {"25":"Christmas",\n\t"24":"Christmas Eve",\n\t"23":"Christmas Eve Eve",\n\t"22":"Christmas Eve Eve Eve"}\nprint(cri[input()])'] | ['Runtime Error', 'Accepted'] | ['s630565063', 's138298369'] | [2940.0, 2940.0] | [17.0, 20.0] | [124, 125] |
p03206 | u814986259 | 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="Christmas"\nfor i in range(25 - D):\n ans += " Eve"\n \nprint(ans)', 'D = int(input())\nans="Christmas"\nfor i in range(25 - D):\n ans += " Eve"\n \nprint(ans)'] | ['Runtime Error', 'Accepted'] | ['s095293933', 's157988555'] | [2940.0, 2940.0] | [17.0, 18.0] | [84, 86] |
p03206 | u815498317 | 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 = []\nfor i in range(N):\n p.append(int(input()))\n\nans = sum(p) - max(p)/2\n\nprint(int(ans))\n', "def main():\n #a,b = list(map(int, input().split()))\n \n #print(int(a + (b/2)))\n n = int(input())\n if n == 25:\n print('Christmas')\n if n == 24:\n print('Christmas Eve')\n if n == 23:\n print('Christmas Eve Eve')\n if n == 22:\n print('Christmas Eve Eve Eve')\n\nif __name__ == '__main__':\n\n main()\n"] | ['Runtime Error', 'Accepted'] | ['s236526486', 's267911061'] | [2940.0, 2940.0] | [17.0, 17.0] | [112, 348] |
p03206 | u815659544 | 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. | ["\nimport sys\nINPUT = sys.stdin.readline\n\ndef SINGLE_INT(): return int(INPUT())\ndef MULTIPLE_INT_LIST(): return list(map(int, INPUT().split()))\ndef MULTIPLE_INT_MAP(): return map(int, INPUT().split())\ndef SINGLE_STRING(): return INPUT()\ndef MULTIPLE_STRING(): return INPUT().split()\n\nN, K = MULTIPLE_INT_MAP()\ntrees = [int(input()) for _ in range(N)]\ntrees.sort()\nans = float('inf')\n\n\n# ans = min(ans, trees[i+K-1] - trees[i])\n# if ans == 0:\n# break\n\n# print(ans)\n\nprint(min(trees[i+K-1]-trees[i] for i in range(N-K+1)))", "D = int(input())\n\ns = 'Christmas'\n\nfor _ in range(25-D):\n s += ' Eve'\n\nprint(s)"] | ['Runtime Error', 'Accepted'] | ['s699693216', 's474265874'] | [3064.0, 2940.0] | [17.0, 17.0] | [561, 82] |
p03206 | u818145161 | 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. | ['("Christmas " + ((int(input()) - 25) * "Eve ")).strip()', '("Christmas " + ((25 - (int(input()))) * "Eve ")).strip()', '("Christmas " + (25 - (int(input())) * "Eve ")).strip()', '("Christmas " + ((25 - (int(input()))) * "Eve ")).strip()', 'print(("Christmas "+((25-(int(input())))*"Eve ")).strip())'] | ['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s010334310', 's062410755', 's634019507', 's672994135', 's361062347'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 18.0, 18.0, 18.0, 18.0] | [55, 57, 55, 57, 58] |
p03206 | u818218162 | 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. | ['day = int(input())\n\nprint(day)\n\nif day == 25:\n print("Christmas")\nelif day == 24:\n print("Christmas Eve")\nelif day == 23:\n print("Christmas Eve Eve")\nelif day == 22:\n print("Christmas Eve Eve Eve")', 'day = int(input())\n\nif day == 25:\n print("Christmas")\nelif day == 24:\n print("Christmas Eve")\nelif day == 23:\n print("Christmas Eve Eve")\nelif day == 22:\n print("Christmas Eve Eve Eve")'] | ['Wrong Answer', 'Accepted'] | ['s872093839', 's944972649'] | [2940.0, 2940.0] | [18.0, 18.0] | [201, 189] |
p03206 | u818283165 | 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")\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")'] | ['Wrong Answer', 'Accepted'] | ['s708541518', 's437877807'] | [3060.0, 2940.0] | [17.0, 18.0] | [186, 186] |
p03206 | u819710930 | 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))"] | ['Wrong Answer', 'Accepted'] | ['s168747247', 's631951212'] | [2940.0, 2940.0] | [17.0, 17.0] | [47, 47] |
p03206 | u821084099 | 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("Chirstmas")\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())\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'] | ['Wrong Answer', 'Accepted'] | ['s403127289', 's334080908'] | [2940.0, 2940.0] | [17.0, 17.0] | [180, 188] |
p03206 | u828139046 | 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())\ndict = {'25':'Christmas','24':'Christmas Eve',\n '23':'Christmas Eve Eve',\n '22':'Christmas Eve Eve Eve'}\n\nprint(dict[d])", "d = input()\ndict = {'25':'Christmas','24':'Christmas Eve',\n '23':'Christmas Eve Eve',\n '22':'Christmas Eve Eve Eve'}\n\nprint(dict[d])"] | ['Runtime Error', 'Accepted'] | ['s070255692', 's537869434'] | [2940.0, 2940.0] | [17.0, 17.0] | [151, 146] |
p03206 | u836737505 | 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 else "Christmas Eve" if d =24 else "Christmas Eve Eve" if d=23 else "Christmas Eve Eve Eve")', 'd = int(input())\nprint("Christmas" if d==25 else "Christmas Eve" if d==24 else "Christmas Eve Eve" if d==23 else "Christmas Eve Eve Eve")'] | ['Runtime Error', 'Accepted'] | ['s547494895', 's767466263'] | [2940.0, 2940.0] | [17.0, 17.0] | [135, 137] |
p03206 | u843932857 | 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("Chirstmas")\nelif s == 24:\n print("Chirstmas Eve")\nelif s == 23:\n print("Chirstmas Eve Eve")\nelif s == 22:\n print("Chirstmas Eve Eve Eve")', '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")'] | ['Wrong Answer', 'Accepted'] | ['s673637589', 's670674890'] | [2940.0, 2940.0] | [17.0, 17.0] | [185, 185] |
p03206 | u846522771 | 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. | ['#coding:utf-8\nn,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)))', '#coding:utf-8\nn,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)))', '#coding:utf-8\nn,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)))', '#coding:utf-8\nd=int(input())\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")\nelse:\n\tprint("")'] | ['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s237190725', 's276668084', 's515651387', 's374066960'] | [2940.0, 2940.0, 2940.0, 3060.0] | [18.0, 18.0, 18.0, 19.0] | [134, 137, 135, 195] |
p03206 | u847033024 | 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 a == 25:\n print('Christmas')\n", "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'] | ['s742255808', 's185253578'] | [8804.0, 9032.0] | [25.0, 25.0] | [179, 170] |
p03206 | u848654125 | 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 scipy as sp\n\nN, K = list(map(int, input().split()))\n\ntree = [int(input()) for i in range(N)]\n\ntree.sort()\n\nprint(min(tree[N-K+i] - tree[i] for i in range(N-K+1)))\n ', 'N = int(input())\n\nstring = ["Christmas", "Eve", "Eve", "Eve"]\nans = []\n\nfor i in range(26-N):\n ans.append(string.pop(0))\nprint(" ".join(ans))'] | ['Runtime Error', 'Accepted'] | ['s566551203', 's572994001'] | [13016.0, 2940.0] | [167.0, 18.0] | [174, 144] |
p03206 | u855057563 | 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")\nelif D=22:\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', 'Accepted'] | ['s558271210', 's590642400', 's365134435'] | [8908.0, 8880.0, 9008.0] | [20.0, 25.0, 24.0] | [159, 165, 163] |
p03206 | u857673087 | 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\nprint('Chiristmas'+' Eve'*(25-D))\n", "D = int(input())\n\nprint('Chiristmas'+'Eve'*(25-D))", "D = int(input())\n\nprint('Christmas'+' Eve'*(25-D))\n"] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s432614583', 's880222930', 's908567814'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [52, 50, 51] |
p03206 | u860002137 | 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("Chiristmas" + " Eve" * (3 - d % 22))', 'd = int(input())\nprint("Chiristmas" + " Eve" * (3 - d % 22))', 'd = int(input())\nprint("Christmas" + " Eve" * (3 - d % 22))'] | ['Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s103587743', 's738614966', 's340132542'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [60, 60, 59] |
p03206 | u864197622 | 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 = 25 - int(input()) # 0,1,2,3\nX = [0] * 10 ** (A+8)', 'A = 25 - int(input()) # 0,1,2,3\nX = [0] * (10 ** 8 * (A*2+2))', 'A = 25 - int(input()) # 0,1,2,3\nX = [0] * (10 ** 8 * (A*2+2))', 'A = 25 - int(input()) # 0,1,2,3\nX = [0] * 10 ** (A+5)', 'A = 25 - int(input()) # 0,1,2,3\nX = [0] * (10 ** 8 * (A*2+1))', 'A = 25 - int(input()) # 0,1,2,3\nX = [0] * (10 ** 8 * (2**A))', 'A = 25 - int(input()) # 0,1,2,3\nX = [0] * (10 ** 8 * (A+1))', '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', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted'] | ['s226818309', 's298421074', 's303879770', 's625311959', 's665655730', 's765707705', 's877013335', 's039903581'] | [784244.0, 1565428.0, 1565428.0, 784244.0, 784244.0, 1565428.0, 1565556.0, 3316.0] | [990.0, 2119.0, 2124.0, 983.0, 2123.0, 2125.0, 2128.0, 19.0] | [53, 61, 61, 53, 61, 60, 59, 183] |
p03206 | u869265610 | 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())\nprint("christmas"+"Eve"*(25-a))', 'a=int(input())\nprint(Christmas+"Eve"*(25-a))', 'a=int(input())\nprint(christmas+"Eve"*(25-a))', 'a=int(input())\nprint(Christmas+" Eve"*(25-a))', 'a=int(input())\nprint("Christmas"+" Eve"*(25-a))'] | ['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted'] | ['s071277962', 's781425722', 's788305390', 's789950895', 's318498258'] | [2940.0, 2940.0, 2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0, 18.0, 17.0] | [46, 44, 44, 45, 47] |
p03206 | u871596687 | 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 == 23\n print("Christmas 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'] | ['s583902277', 's592152542'] | [2940.0, 2940.0] | [17.0, 17.0] | [180, 188] |
p03206 | u873269440 | 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\ndef main():\n\n D = int(input())\n ans = "Christams"\n for _ in range(25-D):\n ans += " Eve"\n print(ans)\n\n\nif __name__== "__main__":\n main() ', '\n\ndef main():\n\n D = int(input())\n ans = "Christams"\n for _ in range(25-D):\n ans += " Eve "\n print(ans)\n\n\nif __name__== "__main__":\n main() ', '\n\ndef main():\n\n D = int(input())\n ans = "Christmas"\n for _ in range(25-D):\n ans += " Eve"\n print(ans)\n\n\nif __name__== "__main__":\n main() ', '\n\ndef main():\n\n D = int(input())\n\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")\n \n\n\nif __name__== "__main__":\n main() '] | ['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted'] | ['s033157340', 's107040032', 's636461491', 's727277991'] | [2940.0, 2940.0, 2940.0, 2940.0] | [18.0, 17.0, 17.0, 17.0] | [160, 161, 162, 269] |
p03206 | u881730038 | 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('Christmas' - int(input()) % 5 * ' Eve')", "print('Christmas' + ' Eve' * int(input()) % 5)\n", "print('Christmas' +- int(input()) % 5 * ' Eve')\n"] | ['Runtime Error', 'Runtime Error', 'Accepted'] | ['s006857138', 's635488339', 's916897477'] | [2940.0, 2940.0, 2940.0] | [17.0, 17.0, 17.0] | [46, 47, 48] |
p03206 | u882620594 | 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'] | ['s645347973', 's175707441'] | [2940.0, 2940.0] | [17.0, 17.0] | [185, 176] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.