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
p02933
u862243075
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['n = int(input())\n\na = input().split()\n\nsum_a_rev = 0\n\nfor i in range(n):\n sum_a_rev = sum_a_rev + 1/int(a[i])\n\nres = 1/sum_a_rev\n\nprint("{}".format(res))\n\n', 'a = int(input())\n\ns = input()\n\nif a >= 3200:\n print("{}".format(s))\nelse:\n print("red")\n']
['Runtime Error', 'Accepted']
['s848089430', 's840484149']
[2940.0, 2940.0]
[17.0, 17.0]
[158, 94]
p02933
u862569952
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["import sys\nsys.setrecursionlimit(10**7)\n \nN,Q = (int(i) for i in input().split())\nhen = {}\nvalue = [0] * N\n\nfor _ in range(0,N-1):\n a,b = (int(i) for i in input().split())\n if a in hen:\n hen[a].append(b)\n else:\n hen[a] = [b]\n\nfor _ in range(0,Q):\n p,x = (int(i) for i in input(...
['Runtime Error', 'Runtime Error', 'Accepted']
['s748125252', 's853553119', 's662512444']
[3064.0, 3064.0, 2940.0]
[17.0, 18.0, 18.0]
[667, 513, 76]
p02933
u863955163
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['from collections import deque\nN,Q= map(int, input().split())\ntree = [[] for _ in range(N)]\ncounter = [0]*N\nvisited = [False]*N\nq = deque([0])\n\nfor i in range(N-1):\n a,b = map(int, input().split())\n tree[a-1].append(b-1)\n tree[b-1].append(a-1)\n\nfor i in range(Q):\n p,x = map(int, input().split(...
['Runtime Error', 'Accepted']
['s242608609', 's986695505']
[3316.0, 2940.0]
[21.0, 17.0]
[552, 58]
p02933
u864453204
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['if int(input) >= 3200:\n print(input())\nelse:\n print("red")\n exit()', 'a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n \n print("red")']
['Runtime Error', 'Accepted']
['s216513206', 's851183402']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 84]
p02933
u867604473
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a=int(input())\ns=str(input())\n\nif(a>=3200):\n print('red')\n else:\n print(s)", "a=int(input().split())\ns=str(input().split())\n\nif(a>=3200):\n print('red')\nelse:\n print(s)", "a=int(input())\ns=str(input())\n\nif(a>=3200):\n print('red')\nelse:\n print(s)", "a=int(input())\ns=str(input())\n\nif(a>=3200):...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s176491018', 's275652047', 's538357387', 's706451323']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[76, 91, 75, 75]
p02933
u867848444
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a,s=int(input()),input()\nif a>=3200:\n print('s')\nelse:\n print('red')", "a=int(input())\nif a>=3200:\n print('s')\nelse:\n print('red')", 's,t=input(),input()\ncount=0\nfor i in range(3):\n if s[i]==t[i]:\n count+=1\n\nprint(count)', "a,s=int(input()),input()\nif a>=3200:\n print(s)\nelse:...
['Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s090696234', 's506665763', 's759020748', 's716116959']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[74, 64, 96, 73]
p02933
u867849998
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=input()\nif a>=3200:\n print("red")\nelse:\n print(s)', 'a=int(input())\ns=input()\nif a<=3200:\n print("red")\nelse:\n print(s)', 'a=int(input())\ns=input()\nif a<3200:\n print("red")\nelse:\n print(s)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s054955945', 's146782395', 's518447478']
[2940.0, 2940.0, 2940.0]
[17.0, 20.0, 17.0]
[68, 68, 67]
p02933
u870297120
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a=int(input())\nprint(input() if a<3200 else 'red')", "a=int(input())\ns=input()\nprint(s if a<3200 else 'red')", "a=int(input())\nprint('red' if a<3200 else input())"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s236290486', 's759020371', 's488216605']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[50, 54, 50]
p02933
u870793476
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = int(input())\n\nif a >= 3200:\n print(s)\nelse:\n print('red')", "a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print('red')"]
['Runtime Error', 'Accepted']
['s381066489', 's362871477']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 79]
p02933
u872056745
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['n = int(input())\na = list(map(float, input().split()))\n\na.reverse()\n\nanswer = 0.0\nfor i in range(0, len(a)-1):\n a[i+1] = (a[i] + a[i+1]) / 2\n\nprint(a[len(a)-1])', 'a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print("red")']
['Runtime Error', 'Accepted']
['s442580557', 's265645104']
[3060.0, 2940.0]
[17.0, 17.0]
[161, 75]
p02933
u874885251
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\nif 2800 <= a < 5000:\n s = 'red'\nprint(s)", 'N = int(input())\nvalue_list = input().split()\nvalue_list.sort()\ni = 0\n#value_list.reverse()\n#print(value_list)\nfor i in range(N):\n\tif i == 0:\n\t\tnew_value = int(value_list[i])\n\telse:\n\t\tnew_value = (new_value + int(value_list[...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s019967415', 's401361925', 's733762819', 's937401860']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0]
[70, 250, 221, 62]
p02933
u875347753
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = Integer.parseInt(sc.next());\n String s = sc.next();\n\n if(a>=3200){\n System.out.println(s);\n }\n else{\n System.out.println("red");\n }\n }\n} ', 'n...
['Runtime Error', 'Accepted']
['s296886352', 's964684326']
[2940.0, 2940.0]
[17.0, 18.0]
[298, 77]
p02933
u877428733
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['n = int(input())\na = list(map(int,input().split()))\n \na.sort()\nfor i in range(n-1):\n a[i+1] = (a[i] + a[i+1]) / 2\n \nprint(a[-1])', 'a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print("red")']
['Runtime Error', 'Accepted']
['s598779123', 's346269890']
[2940.0, 2940.0]
[17.0, 17.0]
[131, 79]
p02933
u885308433
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse\n print("red")\n \n', "a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse\n print('red')\n \n", "a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse :\n print('red')\n "]
['Runtime Error', 'Runtime Error', 'Accepted']
['s446180462', 's762858035', 's848144263']
[2940.0, 2940.0, 3064.0]
[18.0, 17.0, 17.0]
[70, 70, 71]
p02933
u886902015
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=input()\ns=input()\nif a>=3200:\n print(s)\nelse:\n print("red")', 'a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse:\n print("red")\n']
['Runtime Error', 'Accepted']
['s541844757', 's402027908']
[9060.0, 9024.0]
[25.0, 25.0]
[63, 69]
p02933
u887207211
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import sys\n\nstdin = sys.stdin\nna = lambda: map(int, stdin.readline().split())\n\ndef main():\n N, Q = na()\n\n ab = []\n for _ in range(N-1):\n a, b = na()\n ab.append([a, b])\n ab.sort()\n\n counter = [0] * (N+1)\n for _ in range(Q):\n p, x = na()\n counter[p] += x\n for i in range(N - 1):\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s454854427', 's692816753', 's282342367']
[3064.0, 2940.0, 2940.0]
[18.0, 17.0, 20.0]
[398, 197, 75]
p02933
u887886407
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["A = int(input())\ns = str(input())\nif A > 3200:\n print(s)\nelse:\n print('red')", "A = int(input())\ns = str(input())\nif A >= 3200:\n print(s)\nelse:\n print('red')"]
['Wrong Answer', 'Accepted']
['s712169203', 's646290886']
[2940.0, 2940.0]
[17.0, 19.0]
[78, 79]
p02933
u888380104
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\n\nS = input()\n\nif a >= 3200:\n print('s')\n\nelif a < 3200:\n print('red')\n", "a = int(input())\n\nS = input()\n\nif a >= 3200:\n print(s)\n \nelse:\n print('red')\n", "a = int(input())\n\nS = input()\n\nif a >= 3200:\n print(s)\n\nelif a < 3200:\n print('red')\n", "a = int(i...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s115461529', 's185885705', 's347922929', 's554031309', 's758311853']
[9084.0, 8980.0, 9036.0, 9144.0, 8968.0]
[26.0, 27.0, 27.0, 26.0, 28.0]
[93, 86, 91, 91, 82]
p02933
u889914341
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = int(input())\nprint(s if a >= 3200 else "red")\n', 'a = int(input())\ns = int(input())\nprint(s if a < 3200 else "red")\n', 'a = int(input())\ns = input()\nprint(s if a >= 3200 else "red")\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s286313389', 's382036046', 's224181461']
[2940.0, 2940.0, 3060.0]
[18.0, 17.0, 20.0]
[67, 66, 62]
p02933
u891482208
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\nif a < 3200:\n print(s)\nelse:\n print("red")', 'a = int(input())\ns = input()\nif a >= 3200:\n print(s)\nelse:\n print("red")']
['Wrong Answer', 'Accepted']
['s013283806', 's735475717']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 74]
p02933
u891635666
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["if int(input()) < 3200:\n return 'red'\nelse:\n return input()", "a = int(input())\ns =input()\nif a < 3200:\n return 'red'\nelse:\n return s", "if int(input()) < 3200:\n print('red')\nelse:\n print(input())"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s056703080', 's738042290', 's699028091']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[65, 76, 65]
p02933
u893270619
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\nprint(s if a >= 3200 else 'red)", "a = int(input())\ns = input()\nprint(s if a >= 3200 else 'red')\n"]
['Runtime Error', 'Accepted']
['s505352701', 's518731530']
[2940.0, 2940.0]
[17.0, 17.0]
[60, 62]
p02933
u895040371
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns= input()\nif a>=3200:\n print(s)\nelse if:\n s = "red"\n print(s)', 'N=int(input())\nv=[int(i) for i in input().split()]\nv.sort()\n \nres = v[0]\nfor i in range(1,N):\n res = (res+v[i])/2\nprint(res)', 'a = int(input())\ns = int(input())\nif a>=3200:\n print(s)\nelse if:\n s = "red"\n pr...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s102583771', 's261724414', 's389567367', 's074361529']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[82, 127, 91, 79]
p02933
u896451538
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['def dfs(v,p):\n for i in tree[v]:\n if i==p:\n continue\n res[i]+=res[v]\n dfs(i,v)\n\nn,q = map(int, input().split())\ntree = [[] for _ in range(n)]\nfor i in range(n-1):\n a,b = map(int,input().split())\n tree[a-1].append(b-1)\n tree[b-1].append(a-1)\n\nres = [0]*n\nfor i...
['Runtime Error', 'Accepted']
['s980492390', 's351465868']
[3064.0, 2940.0]
[18.0, 17.0]
[392, 77]
p02933
u896543512
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = str(input())\nprint(s if a > 3200 else "red")\n', 'a = int(input())\ns = str(input())\nprint(s if a >= 3200 else "red")\n']
['Wrong Answer', 'Accepted']
['s218156054', 's319015087']
[2940.0, 2940.0]
[17.0, 17.0]
[66, 67]
p02933
u900848560
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=input()\nb=input()\nif int(a)>3200:\n\tprint("red")\nelif int(a)<3200:\n print(b)', 'a=input()\nif a>=3200\n\tprint("red")\nelse:\n\tb=input()\n print(b)', 'a=input()\nb=input()\nif int(a)>=3200:\n\tprint(b)\nelif int(a)<3200:\n print("red")\n']
['Wrong Answer', 'Runtime Error', 'Accepted']
['s424611540', 's881759627', 's173153802']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[80, 64, 82]
p02933
u901060001
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['def main():\n a = int(input())\n s = input()\n\n if a > 3200:\n print(s)\n else:\n print("red")\n\nif __name__ == "__main__":\n main()', 'def main():\n a = int(input())\n s = input()\n\n if a >= 3200:\n print(s)\n else:\n print("red")\n\n\nif __name__ == "__main_...
['Wrong Answer', 'Accepted']
['s473643736', 's339049234']
[2940.0, 2940.0]
[17.0, 17.0]
[153, 156]
p02933
u901598613
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['n=int(input())\ns=input()\nif n>=3200:\n print("red")\nelse:\n print(s)', 'n=int(input())\ns=input()\nif n<3200:\n print("red")\nelse:\n print(s)']
['Wrong Answer', 'Accepted']
['s224558512', 's680815761']
[2940.0, 2940.0]
[17.0, 17.0]
[72, 71]
p02933
u902024288
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["num = int(input())\ncolor = input()\n\nif num > 3200:\n print(color)\nelse:\n print('red')", "color = input()\n\n\n\nif color >= 3200:\n print(str(color))\nelse:\n print('red')", "color = input()\nif color >= 3200:\n print(color)\n else\n print('red')", "color = input()\nif color > 3199:\n print(str(color))\n...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s134870624', 's513366011', 's525136813', 's525452965', 's535814363', 's888356797', 's966675244', 's296962392']
[2940.0, 2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[86, 77, 70, 73, 71, 78, 73, 88]
p02933
u902140923
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\n\nif a >= 3200:\n print('red')\nelse:\n print(s)", "a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print('red')"]
['Wrong Answer', 'Accepted']
['s411105629', 's506245650']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 75]
p02933
u902430070
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = input()\ncolor = input()\n\nif a < 3200:\n print("red")\n else\n print(color)', 'a = int(input())\ncolor = input()\n\nif a < 3200:\n print("red")\n else\n print(color)', 'a = int(input())\ncolor = input()\n \nif a < 3200:\n print("red")\nelse:\n print(color)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s097956357', 's983156340', 's258007955']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[78, 83, 83]
p02933
u903179665
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=int(input())\n\nif a>=3200:\n print(S)\nelse:\n print("red")', 'a=int(input())\ns=str(input())\n\nif a>=3200:\n print(s)\nelse:\n print("red")']
['Runtime Error', 'Accepted']
['s311344117', 's516555921']
[2940.0, 2940.0]
[18.0, 17.0]
[74, 74]
p02933
u904331908
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['n = int(input())\na = list(map(int,input().split()))\nb = []\n\nfor x in a :\n b.append(1/x)\n \nc = sum(b)\nans = 1/c\nprint(ans)\n ', 'n = int(input())\na = input()\nprint(a if n >= 3200 else "red")']
['Runtime Error', 'Accepted']
['s319040437', 's040768702']
[9088.0, 9080.0]
[24.0, 29.0]
[126, 61]
p02933
u904943473
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['from collections import defaultdict\n\ndef dfs(graph, start):\n stack = [start]\n visited = []\n while stack:\n label = stack.pop(0)\n if label not in visited:\n visited.append(label)\n stack = graph.get(label, []) + stack\n return visited\n \ntree = defaultdict(list)\...
['Runtime Error', 'Accepted']
['s954577325', 's852486843']
[3316.0, 2940.0]
[22.0, 17.0]
[870, 77]
p02933
u909616675
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['N,Q=map(int,input().split())\na=[0]*(N-1)\nb=[0]*(N-1)\np=[0]*Q\nx=[0]*Q\nfor i in range(N-1):\n a[i],b[i]=map(int,input().split())\nfor i in range(Q):\n p[i],x[i]=map(int,input().split())\nv=[0]*N\n \nfor i in range(Q):\n box=[]\n box.append(p[i])\n for k in range(N-1):\n if a[k] in box :\n box.append(b...
['Runtime Error', 'Accepted']
['s046596985', 's800938224']
[3188.0, 2940.0]
[21.0, 17.0]
[412, 57]
p02933
u912134329
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a,s = input().split() \nif int(a) >= 3200:\n print(s)\nelse:\n print('red')", "a,s = [input() for i in range(2)]\nif int(a) >= 3200:\n print(s)\nelse:\n print('red')"]
['Runtime Error', 'Accepted']
['s921708246', 's993796883']
[2940.0, 2940.0]
[18.0, 18.0]
[77, 88]
p02933
u912994895
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = str(input())\nif a > 3200:\n print(s)\nelse:\n print('red')\n", "a = input()\ns = input()\nif a > 3200:\n print(s)\nelse:\n print('red')", "a = int(input())\ns = str(input())\nif a >= 3200:\n print(s)\nelse:\n print('red')\n"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s394460346', 's695637614', 's750712659']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0]
[79, 68, 80]
p02933
u914330401
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\nif a >= 3200:\n print('red')\nelse:\n print(s)", "a = int(input())\ns = input()\nif a >= 3200:\n print(s)\nelse:\n print('red')\n"]
['Wrong Answer', 'Accepted']
['s625912077', 's023124036']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 75]
p02933
u919017918
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\n\nif a >= 3200:\n print('red')\nelse:\n print(input())", "a = int(input())\n\nif a < 3200:\n print('red')\nelse:\n print(input())"]
['Wrong Answer', 'Accepted']
['s497643750', 's084482195']
[2940.0, 2940.0]
[18.0, 17.0]
[69, 68]
p02933
u923270446
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['from math import sqrt\nn = int(input())\ncnt = 0\nfor i in range(1, n):\n for i in range(2, int(sqrt(n)) + 1):\n if i % j == 0:\n continue\n cnt += 1\nprint(cnt)', 'from math import sqrt\nn = int(input())\ncnt = 0\nfor i in range(1, n):\n for i in range(2, int(sqrt(n)) + 1):\n if i %...
['Runtime Error', 'Runtime Error', 'Accepted']
['s614668727', 's705428885', 's905221708']
[3064.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[177, 177, 78]
p02933
u923659712
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['n = input()\nan = list(map(int, input().split()))\ni=0\nk=0\n \n \n\n \nwhile n>i:\n k+=1/an[i]\n i+=1\n \nprint(1/k)', 'n = input()\nan = list(map(int, input().split()))\ni=0\nk=0\n \n \n\n \nwhile n>i:\n k+=1/an[i]\n i+1\n \nprint(1/k)', 'a=int(input())\ns=input()\n\nif a>=3200:\n print(s)\n \nelse:\n pr...
['Runtime Error', 'Runtime Error', 'Accepted']
['s128475700', 's171191869', 's478796509']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[109, 108, 72]
p02933
u928462223
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a =input()\ns =input()\nif(a<=3200):\n\tprint("red")\nprint(pink)', 'a = int(input())\ns = input()\nif (a=>3200):print(s)\nelse:print("red")', 'a = int(input())\ns = input()\nif a<3200:print(s)\nelse:print("red")', 'a = input()\ns = input()\nif s[0]>3199:\n print(s[1])\nelse:\n print ("red") ', '# -...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s298408385', 's432801023', 's510446323', 's617804355', 's790963473', 's950044636', 's981314622']
[2940.0, 2940.0, 2940.0, 3064.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 18.0, 18.0]
[60, 68, 65, 90, 108, 161, 66]
p02933
u930705402
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import sys\nsys.setrecursionlimit(10**6)\ndef dfs(G,v,p):\n for nv in G[v]:\n if(nv==p):\n continue\n point[nv]+=point[v]\n dfs(G,nv,v)\n\nN,Q=map(int,input().split())\nG=[[] for i in range(N)]\nfor i in range(N-1):\n a,b=map(lambda x:int(x)-1,input().split())\n G[a].append(b)...
['Runtime Error', 'Accepted']
['s463181915', 's660417143']
[3064.0, 2940.0]
[18.0, 17.0]
[432, 73]
p02933
u934052933
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['def main():\n a = int(input())\n s = input()\n if a >= 3200:\n pritn(s)\n else:print("red")\n\nif __name__ == "__main__":\n main()', 'def main():\n a = int(input())\n s = input()\n if a >= 3200:\n print(s)\n else:print("red")\n\nif __name__ == "__main__":\n main()']
['Runtime Error', 'Accepted']
['s014757069', 's431182930']
[3056.0, 2940.0]
[17.0, 17.0]
[144, 144]
p02933
u934099192
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\nif a >= 3200:\n print(s)\nelse:\n print('red)", "a = int(input())\ns = input()\nif a >= 3200:\n print(s)\nelse:\n print('red')"]
['Runtime Error', 'Accepted']
['s981954067', 's637122357']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 74]
p02933
u934895668
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = input()\nb = input()\nif a<3200:\n print("red")\nelse:\n print(b)\n', 'a = int(input())\nb = int(input())\nif 2800 <= a and a<3200:\n print("red")\nelif 3200 <=a and a <=5000:\n print(b)\n', 'a = int(input())\nb = int(input())\nif 2800<=a and a<3200:\n print("red")\nelse if 3200 <= a and a <= 5000:...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s117814689', 's276682933', 's283746195', 's424846209', 's459756380', 's467134005', 's513068243', 's723538425', 's737014024', 's299080266']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[71, 117, 120, 107, 93, 94, 120, 120, 120, 113]
p02933
u935388807
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['#coding: utf-8\ni =int(input())\ns = input()\nif i>3200:\n print(s)\nelse:\n print(i)', '#coding: utf-8\ni =int(input())\ns = input()\nif i>=3200:\n print(s)\nelse:\n print("red")\n ']
['Wrong Answer', 'Accepted']
['s438150259', 's650204530']
[2940.0, 2940.0]
[17.0, 17.0]
[81, 89]
p02933
u935450383
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
[" 1 a = int(input())\n 2 s = input()\n 3\n 4\n 5 if a < 3200 :\n 6 print('red')\n 7 else:\n 8 print(s)", "a = int(input())\ns = input()\n\nif a < 3200 :\n print('red')\nelse:\n print(s)"]
['Runtime Error', 'Accepted']
['s399797430', 's313608578']
[2940.0, 2940.0]
[17.0, 17.0]
[110, 79]
p02933
u935522051
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\n\nif a<=3200:\n print("red")\nelse:\n print(s)', 'a = int(input())\ns = input()\n\nif a>=3200:\n print("red")\nelse:\n print(s)', 'a = int(input())\ns = input()\n\nif a<3200:\n print("red")\nelse:\n print(s)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s229234105', 's965619552', 's257523123']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[73, 73, 72]
p02933
u937303520
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = input()\ns = 'pink'\n\nif a >= '3200':\n print('s')\n\nelse:\n print('red')", 'a = input()\ns = input()\n \nif int(a) < 3200:\n print("red")\n \nelse:\n print(s)']
['Wrong Answer', 'Accepted']
['s708623526', 's229373866']
[9024.0, 9132.0]
[29.0, 28.0]
[78, 81]
p02933
u939734474
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["# -*- coding: utf-8 -*-\n\na = int(input())\n\ns = input()\n\nif a >= 3200:\n\tprint(a)\nelse:\n\tprint('red')", '# -*- coding: utf-8 -*-\n\na = int(input())\n\ns = input()\n\nif a >= 3200:\n\tprint(a)\nelse:\n\tprint(s)', "# -*- coding: utf-8 -*-\n\na = int(input())\n\ns = input()\n\nif a >= 3200:\n\tprint(s)\nelse:...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s183059861', 's433432952', 's585337452']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[144, 140, 144]
p02933
u939903905
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['\n#include <string>\n\nusing namespace std;\n\nint main(){\n int a;\n string s;\n cin >> a >> s;\n if(a < 3200){\n cout << "red" << endl;\n }else{\n cout << s << endl;\n }\n}', "a = int(input())\ns = input()\n\nif a < 3200:\n print('red')\nelse:\n print(s)"]
['Runtime Error', 'Accepted']
['s887699298', 's907964661']
[2940.0, 2940.0]
[17.0, 17.0]
[191, 78]
p02933
u941284420
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = str(input())\nif a>=3200:\n s = 'red'\nprint(s)", "a=int(input())\ns=str(input())\nif a<3200:\n s='red'\nelse:\n pass\nprint(s)"]
['Wrong Answer', 'Accepted']
['s500865599', 's661997258']
[2940.0, 2940.0]
[17.0, 17.0]
[66, 72]
p02933
u942051624
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a=int(input())\ns=str(input())\n\nif a>=3200:\n print('red')\nelse:\n print(s)\n ", "a=int(input())\ns=str(input())\nif a>=3200:\n print(s)\nelse:\n print('red')"]
['Wrong Answer', 'Accepted']
['s827278859', 's347268940']
[9020.0, 9080.0]
[28.0, 26.0]
[81, 77]
p02933
u945419374
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=input()\nif a>=3200:a\n print("s")\nelse:\n print("red")', 'a=int(input())\ns=input()\nif a>=3200:\n print("s")\nelse:\n print("red")', 'a=int(input())\ns=input()\nif a>=3200:\n print("s")\nelse:\n print("red")', 'a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse:\n pri...
['Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s046552740', 's428947148', 's801936541', 's414977729']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[75, 74, 74, 72]
p02933
u946969297
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['if int(input())>=3200:\n print("red")\nelse:\n print(input())', 'if int(input())<3200:\n print("red")\nelse:\n print(input())']
['Wrong Answer', 'Accepted']
['s548560716', 's362153038']
[9148.0, 9108.0]
[31.0, 28.0]
[60, 59]
p02933
u947193699
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['num = int(input())\ns =input()\nif num>=3200:\n print("red")\nelse:\n print(s)', 'num = int(input())\ns =input()\nif num>=3200:\n print(s)\nelse:\n print("red")']
['Wrong Answer', 'Accepted']
['s719474253', 's010340527']
[2940.0, 2940.0]
[17.0, 17.0]
[75, 75]
p02933
u948522631
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=input()\nprint(s if a>3200 else "red")', 'a=int(input())\ns=input()\nprint(s if a>=3200 else "red")']
['Wrong Answer', 'Accepted']
['s056987575', 's226729014']
[2940.0, 3064.0]
[17.0, 17.0]
[54, 55]
p02933
u948698724
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\nif a>=3200:\n print("red")\n else:\n print(s)', 'a = int(input())\ns = input()\nif a>=3200:\n print(s)\nelse\n print("red")', 'a = int(input())\ns = input()\nif a>=3200:\n print("red")\nif a<3200:\n print(s)', 'a = int(input())\ns = input()\nif a>=3200:\n print("red")\nelse:\n...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s023697945', 's109373852', 's178822448', 's447668480', 's449660355', 's509137123', 's522635018', 's134420091']
[8936.0, 8912.0, 9028.0, 9072.0, 9144.0, 9116.0, 9060.0, 9132.0]
[24.0, 26.0, 26.0, 24.0, 29.0, 29.0, 31.0, 28.0]
[76, 71, 77, 72, 70, 73, 72, 72]
p02933
u948911484
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import sys\nsys.setrecursionlimit(10**6)\nn,q = map(int,input().split())\ntree = [[] for _ in range(n)]\nfor i in range(n-1):\n a,b = map(int,input().split())\n tree[a-1].append(b-1)\n tree[b-1].append(a-1)\nans = [0]*n\nfor i in range(q):\n p,x = map(int,input().split())\n ans[p-1] += x\ndone = [0]*n\...
['Runtime Error', 'Accepted']
['s710657888', 's165185968']
[3064.0, 2940.0]
[18.0, 17.0]
[454, 61]
p02933
u951323449
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\nif a <= 3200:\n print("red")\nelse:\n print(s)\n', 'a = int(input())\ns = input()\nif a >= 3200:\n print("red")\nelse:\n print(s)\n', 'a = int(input())\ns = input()\nif a >= 3200:\n print(s)\nelse:\n print("red")\n']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s758221327', 's970801907', 's437867548']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0]
[79, 79, 79]
p02933
u952656646
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import sys\nsys.setrecursionlimit(10**6)\ndef walk(n):\n global adj, point\n if len(adj[n])==0:\n return\n else:\n for a in adj[n]:\n point[a] += point[n]\n for a in adj[n]:\n walk(a)\nN, Q = map(int, input().split())\nadj = [[] for _ in range(N)]\npoint = [0 for _ ...
['Runtime Error', 'Accepted']
['s934190941', 's774172174']
[3064.0, 2940.0]
[18.0, 17.0]
[517, 76]
p02933
u953241727
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a =int(input())\nif a <= 3200:\n print('s')\nelse:\n print('red')", "a =int(input())\ns = str(input())\n\nif a >= 3200:\n print(s)\nelse:\n print('red')\n"]
['Wrong Answer', 'Accepted']
['s974494143', 's713928322']
[9156.0, 8992.0]
[25.0, 30.0]
[67, 84]
p02933
u953379577
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\nif a>3219:\n print(s)\nelse:\n print("Red")', 'a = int(input())\ns = input()\nif a>3219:\n print(s)\nelse:\n print("red")', 'if __name__ == "__main__":\n n = int(input())\n s = input()\n if n>3199:\n print(s)\n else:\n print("red")']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s313355216', 's633831666', 's680347576']
[2940.0, 2940.0, 9020.0]
[17.0, 17.0, 28.0]
[75, 75, 126]
p02933
u954488273
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=str(input())\n\nif a >= 3200:\n print("red")\nelse:\n print(s)', 'a=int(input())\ns=str(input())\n\nif a < 3200:\n print("red")\nelse:\n print(s)\n']
['Wrong Answer', 'Accepted']
['s087622134', 's340119071']
[2940.0, 2940.0]
[17.0, 19.0]
[76, 76]
p02933
u957198490
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(ipnut())\ns = str(input())\nif a >= 3200:\n print(s)\nelse:\n print('red')", "a = int(input())\ns = str(input())\nif a >= 3200:\n print(s)\nelse:\n print('red')"]
['Runtime Error', 'Accepted']
['s188368547', 's783827203']
[2940.0, 2940.0]
[18.0, 17.0]
[83, 83]
p02933
u958053648
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\n2 s = input()\n3 print(s if a >= 3200 else 'red')", 'a=', "a = int(input())\n2 s = input()\n3 print(s if a >= 3200 else 'red')", "a = int(input())\ns = input()\nprint(s if a >= 3200 else 'red')"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s023928300', 's211226844', 's576684071', 's946396548']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0]
[65, 2, 65, 61]
p02933
u958210291
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = input()\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print('Red')", "a = input()\ns = input()\n \nif int(a) >= 3200:\n print(s)\nelse:\n print('red')"]
['Runtime Error', 'Accepted']
['s832244743', 's249515851']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 76]
p02933
u959340534
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\nif a >= 3200:\n print('red')\nelse:\n print(s)", "a = int(input())\ns = input()\nif a < 3200:\n print('red')\nelse:\n print(s)\n"]
['Wrong Answer', 'Accepted']
['s554259725', 's103410729']
[2940.0, 2940.0]
[17.0, 17.0]
[74, 74]
p02933
u960267905
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import sys\n\ndef solve(N: int, A: "List[int]"):\n result = 0.\n for i in range(N):\n result += 1./A[i]\n print(1./result)\n return\n\n\ndef main():\n def iterate_tokens():\n for line in sys.stdin:\n for word in line.split():\n yield word\n tokens = iterate_to...
['Runtime Error', 'Accepted']
['s165926523', 's834606708']
[3064.0, 2940.0]
[17.0, 17.0]
[472, 434]
p02933
u962575856
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\nr = 'red' if a >= 3200 else s\nprint(r)", "a = int(input())\ns = input()\nr = 'red' if a < 3200 else s\nprint(r)\n"]
['Wrong Answer', 'Accepted']
['s046396754', 's579850631']
[2940.0, 2940.0]
[17.0, 17.0]
[67, 67]
p02933
u966546644
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = str(input())\ns = int(input())\n\nif a<3200:\n print('red')\nelse:\n print(s)\n", "a = input()\ns = input()\n\nif a<3200:\n print('red')\nelse:\n print(s)", "a = int(input())\ns = str(input())\n\nif a<3200:\n print('red')\nelse:\n print(s)\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s342741111', 's910817889', 's664325827']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[78, 67, 78]
p02933
u967233756
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import numpy as np\n\nn = int(input())\nv = np.array(list(map(int,input().split())))\nv_sort = np.sort(v)\ntemp = 0\n\nfor index in range(n-1):\n temp = (v_sort[0]+v_sort[1])/2\n v_sort = np.delete(v_sort,0)\n v_sort = np.delete(v_sort,0)\n v_sort = np.append(v_sort,temp)\n v_sort = np.sort(v_sort)\n\nprint(v_so...
['Runtime Error', 'Accepted']
['s283613603', 's416802569']
[12500.0, 2940.0]
[157.0, 17.0]
[310, 75]
p02933
u969848070
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = input()\ns = input()\nif a>= 3200:\n print(s)\nelse:\n print('red')", "a = int(input())\ns = input()\nif a>= 3200:\n print(s)\nelse:\n print('red')"]
['Runtime Error', 'Accepted']
['s719754526', 's784537341']
[2940.0, 3064.0]
[18.0, 19.0]
[68, 73]
p02933
u974039925
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = input()\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print("red")', 'a = int(input())\ns = int(input())\n\nif a >= 3200:\n print(s)\nelse:\n print("red")\n ', 'if a <= 3200:\n print(s)\nelse:\n print("red")', 'a = input()\ns = input()\n\nif a <= 3200:\n print(s)\nelse:\n print(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s016861862', 's318162526', 's369249492', 's444469074', 's960427476']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 17.0]
[74, 93, 49, 83, 76]
p02933
u976355444
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a=int(input())\ns=input()\nif a>=3200:\n print(a)\nelse:\n print('red')", "\nCopy\nCopy\na=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse:\n print('red')", "a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse:\n print('red')"]
['Wrong Answer', 'Runtime Error', 'Accepted']
['s046332755', 's681831540', 's969603858']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[68, 79, 68]
p02933
u978252828
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['N = int(input())\nv = [int(x) for x in input().split()]\n\nv.sort()\n#print(v)\nfor i in range(1,N):\n v[:2] = [(v[0]+v[1])/2]\n\nprint(v[0])', "a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print('red')\n "]
['Runtime Error', 'Accepted']
['s672318187', 's602326032']
[3056.0, 2940.0]
[17.0, 17.0]
[134, 80]
p02933
u978494963
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input() if a < 3200 else "red"\nprint(s)', 'a = int(input())\ns = input() if a >= 3200 else "red"\nprint(s)']
['Wrong Answer', 'Accepted']
['s629394543', 's532453775']
[2940.0, 2940.0]
[17.0, 20.0]
[60, 61]
p02933
u979038517
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['print("red" if int(input()) >= 3200 else input())', 'print("red" if int(input()) < 3200 else input())']
['Wrong Answer', 'Accepted']
['s713455682', 's912482848']
[2940.0, 2940.0]
[17.0, 17.0]
[49, 48]
p02933
u979078704
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\n \nif a >= 3200:\n print("red")\nelse:\n print(s)\n \n', 'a = int(input())\ns = str(input())\n \nif a >= 3200:\n print(s)\nelse:\n print("red")\n \n']
['Wrong Answer', 'Accepted']
['s395281399', 's188088121']
[2940.0, 2940.0]
[17.0, 24.0]
[89, 94]
p02933
u982152304
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["import sys\nimport numpy as np\nimport bisect\ns = input()\nt = input()\n\n\n\ncount = 0\ns_len = len(s)\ns_list = np.zeros(len(s))\nt_list = []*len(t)\nindexes = []\n\nfor i in range(26):\n \n indexes.append([j for j, x in enumerate(s) if x == chr(i + ord('a')) ])\n \n\nfor i,k in enumerate(t):\n\n index = index...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s006679221', 's597265607', 's123715114']
[12500.0, 12484.0, 2940.0]
[149.0, 150.0, 17.0]
[724, 79, 74]
p02933
u984989720
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\n\nans = 'red'\nif a < 3200:\n print(ans)\nelse:\n print('s')", "a = int(input())\ns = input()\n\nans = 'red'\nif a < 3200:\n print(ans)\nif a > 3200:\n print(s)\n", "a = int(input())\ns = input()\n\nans = 'red'\nif a < 3200:\n print(ans)\nelse:\n print(s)\n"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s334765952', 's449160698', 's804793925']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[90, 96, 89]
p02933
u986316963
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['N=int(input())\na =list(map(int,input().split()))\ndef myFunction(int i):\n if (i == N-2):\n print((a[i-1]+a[i])/2)\n a[i] = (a[i-1]+a[i])/2\n myFunction(i+1) \na.sort()\nmyFunction(1) ', "a = int(input())\ns= input()\n\nif (a<3200):\n print('red')\nelse:\n print(s)"]
['Runtime Error', 'Accepted']
['s269603988', 's693405898']
[2940.0, 2940.0]
[17.0, 17.0]
[203, 77]
p02933
u987164499
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['from sys import stdin\nn = int(stdin.readline().rsprit())\ns = stdin.readline().rstrip()\n\nif n >= 3200:\n print(s)\nelse:\n print("red")', 'from sys import stdin\nn = int(stdin.readline().rstrip())\ns = stdin.readline().rstrip()\n\nif n >= 3200:\n print(s)\nelse:\n print("red")']
['Runtime Error', 'Accepted']
['s134410605', 's561782723']
[2940.0, 2940.0]
[17.0, 18.0]
[137, 137]
p02933
u989654188
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['import sys\nsys.setrecursionlimit(10**6)\nn,q = map(int,input().split())\na=[[] for i in range(n)]\np=[]*n\nl=[0]*n\nans=[0]*n\n\ndef dfs(parent,current,value):\n value += l[current]\n ans[current] = value\n for i in a[current]:\n if i == parent:\n continue\n dfs(current,i,value)\n\n...
['Runtime Error', 'Accepted']
['s691684421', 's246269585']
[3064.0, 2940.0]
[18.0, 17.0]
[530, 74]
p02933
u991148747
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a = int(input())\ns = input()\n\nif a > 3200:\n print(s)\nelse:\n print("red")', 'a = input()\ns = input()\n\nif a < 3200:\n print(s)\nelse:\n print("red")', 'a = int(input())\ns = input()\n\nif a < 3200:\n print(s)\nelse:\n print("red")', 'a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n pr...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s005643149', 's280011353', 's987548120', 's965939262']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 19.0, 17.0, 17.0]
[74, 69, 74, 75]
p02933
u992648619
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\n\nif (a >= 3200):\n print s\nelse:\n print('red')\n", "a = input()\ns = input()\n\nif (a >= 3200):\n print s\nelse:\n print('red')\n", "a = input()\ns = input()\n\nprint(s if (a >= 3200) else 'red')", 'n = int(input())\na = map(int, input().split())\n\nsum = 0.0\nfor x in a:\n sum ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s087861436', 's161876832', 's848510593', 's900270048', 's908454768', 's563693775']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 18.0, 18.0]
[77, 72, 59, 104, 102, 78]
p02933
u992759582
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\n\nif a >= 32000:\n print(s)\nelse:\n print('red')", "a = int(input())\ns = input()\n\nif a >= 3200:\n print(s)\nelse:\n print('red')\n"]
['Wrong Answer', 'Accepted']
['s949040638', 's640812079']
[2940.0, 2940.0]
[17.0, 17.0]
[80, 80]
p02933
u993435350
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['A = int(input())\nB = input()\n\nif A >= 3200:\n print(red)\nelse:print(B)', 'A = int(input())\nB = input()\n\nif A < 3200:\n print("red")\nelse:print(B)']
['Runtime Error', 'Accepted']
['s291267221', 's735459954']
[2940.0, 2940.0]
[17.0, 17.0]
[70, 71]
p02933
u994882034
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['N = int(input())\na = list(map(int,input().split()))\n\ndef ave(c1,c2):\n av = (c1 + c2)/2\n return av\n\nfor i in range(N-1):\n for j in range(i+1,N):\n if a[j] <= a[i]:\n tmp = a[i]\n a[i] = a[j]\n a[j] =tmp\nprint(a)\n\nfor i in range(N-1):\n average = ave(a[0],a[1])\n a.pop(0)\n a.pop(0)\n...
['Runtime Error', 'Accepted']
['s980533822', 's610422216']
[3064.0, 2940.0]
[17.0, 17.0]
[340, 76]
p02933
u994988729
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
['a=int(input())\ns=input()\nif a>=3200:\n print("red")\nelse:\n print(s)', 'a=int(input())\ns=input()\nif a>=3200:\n print(s)\nelse:\n print("red")\n']
['Wrong Answer', 'Accepted']
['s169346237', 's991470583']
[3316.0, 2940.0]
[21.0, 17.0]
[68, 69]
p02933
u997393081
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["print('red' if int(int(input())<3200 else input())", "print('red' if int(input())<3200 else input())"]
['Runtime Error', 'Accepted']
['s980835652', 's584046982']
[2940.0, 2940.0]
[17.0, 17.0]
[50, 46]
p02933
u998733244
2,000
1,048,576
You will be given an integer a and a string s consisting of lowercase English letters as input. Write a program that prints s if a is not less than 3200 and prints `red` if a is less than 3200.
["a = int(input())\ns = input()\n\nif a>=3200: print(s)\nelse: print 'red'\n", "a = int(input())\ns = input()\n\nif a>=3200: print(s)\nelse: print('red')\n"]
['Runtime Error', 'Accepted']
['s099568318', 's300374403']
[2940.0, 2940.0]
[17.0, 17.0]
[69, 70]
p02934
u000274293
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
['input_size = int(input())\ninputs = map(int, input().split())\nsum = 0\nfor i in range(input_size):\n sum += 1 / inputs[i]\nprint(1 / sum)', 'input_size = int(input())\ninputs = input().split()\nsum = 0\nfor i in range(input_size):\n sum += 1 / int(inputs[i])\nprint(1 / sum)']
['Runtime Error', 'Accepted']
['s660472459', 's943589709']
[2940.0, 2940.0]
[17.0, 17.0]
[134, 129]
p02934
u000488654
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
['N = int(input())\nA = []\nfor i in range(0,N):\n B = int(input())\n A.append(B)\n\nsum1 = float(1/A[0])\n\nfor i in range(0,N-1):\n sum1 = sum1 + 1/A[i+1]\n\nresult = 1/sum1\nprint(result)', 'try:\n N = int(input())\n if N>0 or N<=100:\n A = []\n for i in range(0,N):\n B = int(input())...
['Runtime Error', 'Wrong Answer', 'Time Limit Exceeded', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Time Limit Exceeded', 'Runtime Error', 'Time Limit Exceeded', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s022482600', 's032359635', 's205649720', 's227997583', 's237726457', 's270098022', 's334671780', 's466754113', 's623176263', 's663652141', 's785020742', 's301381602']
[3060.0, 3060.0, 4212.0, 3064.0, 3064.0, 3064.0, 4212.0, 3060.0, 4212.0, 3064.0, 3064.0, 3060.0]
[17.0, 17.0, 2104.0, 17.0, 17.0, 17.0, 2104.0, 17.0, 2104.0, 17.0, 17.0, 17.0]
[179, 343, 430, 342, 263, 291, 437, 179, 331, 342, 257, 289]
p02934
u015647294
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
['n = int(input())\nnumbers = []\ni = 0\nwhile i <= n:\n numbers.append(int(input()))\n i += 1\n\nj = 0\ns = 0\nwhile n >= j:\n s += 1/numbers[j]\n j += 1\n\nprint(1/s)', 'n = int(input())\nnumbers = []\nfor number in numbers:\n numbers.append(int(input))\ni = 0\ns = 0\nwhile i >= n:\n s += 1/numbers[i]\n i += 1...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s198194579', 's516353255', 's773145737', 's901126062', 's740535573']
[3060.0, 2940.0, 3060.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0]
[157, 136, 149, 97, 93]
p02934
u017624958
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
['from functools import reduce\n\nN = [1000]\n\nsum = lambda list: reduce(lambda x, y: x + y, list, 0)\nreciprocal = lambda value: 1 / value\n\nreciprocal_N = map(reciprocal, N)\nsum_reciprocal_N = sum(reciprocal_N)\nanswer = reciprocal(sum_reciprocal_N)\n\nprint(answer)\n ', 'from functools import reduce\n\nN = int...
['Wrong Answer', 'Accepted']
['s493711004', 's744679886']
[3572.0, 3572.0]
[22.0, 22.0]
[263, 316]
p02934
u020091453
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
["a = list()\nfor elem in input().split(' '):\n a.append(int(elem)) \n\nstep = a[1] - a[0]\nnext = a[1] + step\n\nwhile True:\n if next >= a[2]:\n print(next)\n break\n else:\n next += step", "N = int(input())\na = list()\nfor elem in input().split(' '):\n a.append(int(elem))\n\nsum =...
['Runtime Error', 'Accepted']
['s760625820', 's129107393']
[3060.0, 2940.0]
[17.0, 17.0]
[207, 142]
p02934
u020959776
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
["import io\nimport sys\nMOD = 10 ** 9 + 7\n\ndef IN_S():\n return input()\n\n\ndef IN_I():\n return int(input())\n\n\ndef IN_L_I():\n return list(map(int, input().split()))\n\n\ndef IN_L_S():\n return list(map(str, input().split()))\n\n\ndef STR_SPLIT(s, n):\n for l in range(0, len(s), n):\n yield s[0 + l:n + ...
['Wrong Answer', 'Accepted']
['s027664051', 's184478211']
[3064.0, 3064.0]
[17.0, 17.0]
[615, 617]
p02934
u021086907
2,000
1,048,576
Given is a sequence of N integers A_1, \ldots, A_N. Find the (multiplicative) inverse of the sum of the inverses of these numbers, \frac{1}{\frac{1}{A_1} + \ldots + \frac{1}{A_N}}.
['N=int(input())\nA_lis=list(map(int,input().split())\nx=0 \nfor i in A_lis:\n x += 1/i\nans = 1/x\nprint(ans) \n \n ', 'N=int(input())\nA_lis=list(map(int,input().split()))\na=0 \nfor i in A_lis:\n a += 1/i\nans = 1/a\nprint(ans) ']
['Runtime Error', 'Accepted']
['s623212573', 's832145666']
[8952.0, 9164.0]
[24.0, 25.0]
[140, 114]