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
p03233
u985443069
2,000
1,048,576
We have a directed weighted graph with N vertices. Each vertex has two integers written on it, and the integers written on Vertex i are A_i and B_i. In this graph, there is an edge from Vertex x to Vertex y for all pairs 1 \leq x,y \leq N, and its weight is {\rm min}(A_x,B_y). We will consider a directed cycle in thi...
[" import sys\nimport socket\n\nif socket.gethostname() in ['N551J', 'F551C']:\n sys.stdin = open('c1.in')\n\n\ndef read_int_list():\n return list(map(int, input().split()))\n\n\ndef read_int():\n return int(input())\n\n\ndef read_str_list():\n return input().split()\n\n\ndef read_str():\n return input()...
['Runtime Error', 'Accepted']
['s666518748', 's628237790']
[2940.0, 86824.0]
[17.0, 1126.0]
[1254, 1381]
p03238
u002459665
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['def main():\n n = int(input())\n if n == 1:\n print("Hello, World")\n else:\n a = int(input())\n b = int(input())\n print(a + b)\n\n\nif __name__ == \'__main__\':\n main()\n', "from collections import defaultdict\n\n\ndef main():\n N = int(input())\n pairs = []\n for _...
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s078151662', 's639341806', 's732969033', 's221256951']
[2940.0, 3316.0, 3316.0, 2940.0]
[17.0, 21.0, 21.0, 17.0]
[199, 542, 542, 198]
p03238
u003501233
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N=int(input())\nA=int(input())\nB=int(input())\n\nif N == 1:\n print("Hello World")\nelse:\n print(A+B)', 'N=int(input())\nA=int(input())\nB=int(input())\n\nif N == 1:\n print("Hello World")\nelif N == 2:\n print(A+B)', 'N=int(input())\n\nif N == 1:\n print("Hello World")\nelif N == 2:\n\tA=int(input())\n\tB=int...
['Runtime Error', 'Runtime Error', 'Accepted']
['s929806741', 's943709169', 's180578825']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[98, 105, 106]
p03238
u003928116
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\na=int(input())\nb=int(input())\nif n==1:\n print("Hello World")\nelse:\n print(a+b)', 'n=int(input())\nif n==1:\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)']
['Runtime Error', 'Accepted']
['s633395208', 's635299156']
[2940.0, 3064.0]
[19.0, 19.0]
[95, 99]
p03238
u005977014
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['A,B,C,D=map(int,input().split())\nif A<=C:\n if D<=B:\n t=B-C\n else:\n t=D-C\nelse:\n if D<=B:\n t=B-A\n else:\n t=D-A\n t=D-A\nif t<=0:\n print(0)\nelse:\n print(t)', "N=int(input())\nif N==1:\n print('Hello World')\n exit()\nelse:\n A=int(input())\n B=int(input())\n print(A+B)"]
['Runtime Error', 'Accepted']
['s074549950', 's287547136']
[9188.0, 8940.0]
[25.0, 26.0]
[170, 108]
p03238
u007263493
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\na = int(input())\nb = int(input())\nif n ==1:\n print('Hello World')\nif n ==2:\n print(a+b)", "n = int(input())\na = int(input())\nb = int(input())\nif n ==1:\n print('Hello World')\nif n ==2:\n print(a+b)", "n = int(input())\nif n ==1:\n print('Hello World')\nelse:\n a = int(inpu...
['Runtime Error', 'Runtime Error', 'Accepted']
['s935038902', 's951614982', 's205761262']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[110, 110, 114]
p03238
u007569200
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["import numpy as np\nN, T = map(int, input().split())\ncosts = []\ntimes = []\nfor i in np.arange(N):\n ci, ti = map(int, input().split())\n costs.append(ci)\n times.append(ti)\nindex = np.argmin(times)\nt_min = times[index]\nif t_min < T:\n print(costs[index])\nelse:\n print('TLE')\n", "N = int(input()...
['Runtime Error', 'Accepted']
['s887273757', 's477400764']
[12504.0, 2940.0]
[149.0, 17.0]
[285, 122]
p03238
u008582165
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['a = int(input())\nif a == 1:\n print("Hello world")\nelse:\n A = int(input())\n B = int(input())\n print(A + B)', 'a = int(input())\nif a == 1:\n print("Hello world")\nelif a == 2:\n A = int(input())\n B = int(input())\n print(A + B)', 'a = int(input())\nif a == 1:\n print("Hello World")\ne...
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s139068911', 's828355586', 's804830882']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[117, 124, 124]
p03238
u010437136
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['import io\nimport sys\n\n line1 = sys.stdin.readline().rstrip()\n line2 = sys.stdin.readline().rstrip()\n line3 = sys.stdin.readline().rstrip()\n if int(line1) == 1:\n return "Hello World"\n else:\n return int(line2)+int(line3)\nsolve()', 'import io\nimport sys\n\ndef solve():\n \n ...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s142652236', 's379958706', 's784628172']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[255, 273, 268]
p03238
u013408661
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['import sys\nn=int(input())\ns=[[int(i) for i in l.split()] for l in sys.stdin]\nfor cx in range(101):\n for cy in range(101):\n flag=True\n flag2=True\n stack2==10**18\n for i in range(n):\n if flag==False:\n break\n x,y,h=s[i]\n H=abs(x-cx)+abs(y-cy)+h\n if h!=0 and flag2:\n ...
['Runtime Error', 'Accepted']
['s196873742', 's636757799']
[3064.0, 2940.0]
[17.0, 17.0]
[536, 99]
p03238
u017415492
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\na=int(input())\nb=int(input())\n\nif n>1:\n print(a+b)\nelse:\n print("Hello World")', 'n=int(input())\na=int(input())\nb=int(input())\n\nif n==2:\n print(a+b)\nelse:\n print("Hello World")', 'n=int(input())\n\nif n==2:\n a=int(input())\n b=int(input())\n print(a+b)\nelse:\n print("Hello World...
['Runtime Error', 'Runtime Error', 'Accepted']
['s054710912', 's832990923', 's810200602']
[2940.0, 3316.0, 2940.0]
[17.0, 22.0, 17.0]
[95, 96, 100]
p03238
u018586085
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = input()\n\nif n == 1:\n print ("Hello World")\nelse:\n a = input()\n b = input()\n a = int(a)\n b = int(b)\n c = a + b\n print (c)', 'n = input()\nn = int(n)\n\nif n == 1:\n print ("Hello World")\nelse:\n a = input()\n b = input()\n a = int(a)\n b = int(b)\n c = a + b\n print (c)']
['Runtime Error', 'Accepted']
['s373255315', 's416330049']
[2940.0, 3060.0]
[17.0, 17.0]
[131, 142]
p03238
u021548497
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\na = int(input())\nb = int(input())\nc = a+b\nprint("Hello World" if n == 1 else c)', 'n = int(input())\na = int(input())\nb = int(input())\nc = a+b\nif n == 1:\n print("Hello World")\nelse:\n print(c)', 'n = int(input())\na = int(input())\nb = int(input())\nprint("Hello World" if n == 1 else a...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s238176102', 's588237960', 's886616302', 's255158633']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[96, 113, 90, 116]
p03238
u022215787
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = input()\nif N == 1:\n print('Hello World')\nelse:\n A = int(input())\n B = int(input())\n print(A + B)", "N, T = map(int, input().split())\ni = 0\nmin_cost = 1000\nfg = False\nwhile i < N:\n i += 1\n c, t = map(int, input().split())\n if t <= T:\n if c <= min_cost:\n fg = Tr...
['Runtime Error', 'Runtime Error', 'Accepted']
['s524095287', 's974743928', 's891061642']
[2940.0, 3188.0, 2940.0]
[17.0, 17.0, 17.0]
[112, 265, 117]
p03238
u023229441
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N,A,B=[ int(x) for x in input().split()]\nif N == 1:\n print("Hello,world")\n\t\nelse:\n print(A+B)\n\t', 'if int(input()) == 1:\n print("Hello World")\n\nelse:\t\n A=int(input())\n\tB=int(input())\n\tprint(A+B)\n', 'if int(input()) == 1:\n print("Hello,World")\n\nelse:\t\n A=int(input())\n B=int...
['Runtime Error', 'Runtime Error', 'Wrong Answer', 'Accepted']
['s601377582', 's810689139', 's842634113', 's599284649']
[2940.0, 2940.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0, 17.0]
[101, 102, 107, 100]
p03238
u026075806
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['def chg(n):\n if n==1:\n return 9\n elif n==9:\n return 1\n return n\n\nn = int(input())\nn,a1 = divmod(n,10)\nn,a2 = divmod(n,10)\nn,a3 = divmod(n,10)\n\n\nprint(100*chg(a3)+10*chg(a2)+chg(a1))', 'n = int(input())\nif n == 1:\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)']
['Wrong Answer', 'Accepted']
['s873618665', 's896993738']
[3060.0, 2940.0]
[17.0, 17.0]
[190, 103]
p03238
u026155812
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(input())\nA = int(input())\nB = int(input())\nif N == 1:\n print('Hello World')\nelse:\n print(A+B)", "import sys\nN = int(input())\nif N == 1:\n print('Hello World')\n sys.exit()\nA = int(input())\nB = int(input())\nprint(A+B)"]
['Runtime Error', 'Accepted']
['s774284489', 's733924596']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 119]
p03238
u026788530
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['\nlis = []\n\nN,M = [int(i) for i in input().split()]\nM_ = M\ni = 2\n\nwhile True:\n if M % i == 0:\n M = M // i\n lis.append(i)\n elif M == 1:\n break\n else:\n i += 1\nans = M_\n\nfor n in range(2**len(lis)):\n m = bin(n)[-1:1:-1]\n ret = 1\n for l in range(len(m)):\n ...
['Runtime Error', 'Accepted']
['s078616443', 's850553873']
[3064.0, 2940.0]
[17.0, 17.0]
[499, 96]
p03238
u027675217
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nif n in 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(a+b)\n', 'n = int(input())\nif n == 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(a+b)\n']
['Runtime Error', 'Accepted']
['s723480781', 's875060315']
[2940.0, 2940.0]
[19.0, 17.0]
[116, 116]
p03238
u033524082
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int(input())\nA,B = map(int,input().split())\nif N % 2 == 0:\n print(A+B)\nelse:\n print("Hello World")', 'a = int(input())\nif a==1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A+B)']
['Runtime Error', 'Accepted']
['s830883227', 's077698125']
[3060.0, 2940.0]
[20.0, 18.0]
[104, 105]
p03238
u033627628
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['if input()="1":\n print("Hello World")\nelse:\n print(int(input())+int(input()))', 'if input()=="1":\n print("Hello World")\nelse:\n print(int(input())+int(input()))']
['Runtime Error', 'Accepted']
['s673837722', 's463295090']
[2940.0, 2940.0]
[17.0, 17.0]
[83, 84]
p03238
u035445296
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\na = input()\nb = input()\nprint('Hello World' if n ==1 else int(a)+int(b))", "n = int(input())\nprint('Hello World' if n ==1 else int(input())+int(input()))"]
['Runtime Error', 'Accepted']
['s500220298', 's574094474']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 77]
p03238
u036340997
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\nxy = [[i, j] for i in range(101) for j in range(101)]\n\ndef md(x1, x2):\n return abs(x1[0]-x2[0]) + abs(x1[1]-x2[1])\n \ninfos = []\nfor i in range(n):\n info = list(map(int, input().split()))\n infos.append(info)\n \n if i != 0:\n for j in range(i):\n if infos[j][0] != 0:\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s120284467', 's309635082', 's761167411']
[4084.0, 4084.0, 2940.0]
[22.0, 22.0, 17.0]
[643, 710, 81]
p03238
u039189422
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input()\nif n==1:\n\tprint("Hello World")\nelse:\n\ta=int(input())\n\tb=int(input())\n\tprint(a+b)', 'n=int(input())\nif n==1:\n\tprint("Hello World")\nelse:\n\ta=int(input())\n\tb=int(input())\n\tprint(a+b)']
['Runtime Error', 'Accepted']
['s186244488', 's515902678']
[2940.0, 3060.0]
[17.0, 19.0]
[94, 95]
p03238
u044635590
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nab = list(map(int, input().split()))\n\nif n == 1:\n print("Hello World")\nif n == 2:\n print(ab[0] + ab[1])\n\n', 'n = int(input())\nif n == 2:\n a = int(input())\n b = int(input())\n\nif n == 1:\n print("Hello World")\nif n == 2:\n print(a + b)\n\n']
['Runtime Error', 'Accepted']
['s722941334', 's233210386']
[2940.0, 2940.0]
[17.0, 18.0]
[128, 136]
p03238
u044952145
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int(input())\n\nif(N==1):\n print("Hello world")\nelif(N==2):\n A =int(input())\n B=int(input())\n C=A+B\n print(C)', 'N = int(input())\n\nif(N==1):\n print("Hello World")\nelif(N==2):\n A =int(input())\n B=int(input())\n C=A+B\n print(C)']
['Wrong Answer', 'Accepted']
['s024817327', 's401719314']
[2940.0, 2940.0]
[17.0, 17.0]
[126, 126]
p03238
u045408189
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n=input()\nif n==1:\n print('Hello World')\nelse:\n a=input()\n b=input()\n print(a+b)", "n=int(input())\nif n==1:\n print('Hello World')\nelse:\n a=int(input())\n b=int(input())\n print(a+b)\n"]
['Runtime Error', 'Accepted']
['s931316916', 's219234339']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 100]
p03238
u048945791
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['import sys\n\nn = int(input())\n\nxyh = [list(map(int, sys.stdin.readline().split())) for _ in range(n)]\n\nisOk = False\ni = 0\nj = 0\nconstant = -1\n\nfor i in range(101):\n for j in range(101):\n\n constant = -1\n for xyhTemp in xyh:\n if xyhTemp[2] != 0:\n temp = xyhTemp...
['Runtime Error', 'Runtime Error', 'Accepted']
['s309062494', 's357897050', 's179066210']
[3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[767, 742, 118]
p03238
u050121913
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(input())\nA = int(input())\nB = int(input())\n\nif N==1:\n print('Hello World')\n\nelse:\n print(A+B)", "N = int(input())\n \nif N==1:\n print('Hello World')\n \nelse:\n A = int(input())\n B = int(input())\n print(A+B)"]
['Runtime Error', 'Accepted']
['s633067591', 's283042004']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 109]
p03238
u054931633
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\na=int(input())\nb=int(input())\nif n==1:\n print("Hello World")\nelse:\n print(a+b)', 'n=int(input())\nif n==1:\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)']
['Runtime Error', 'Accepted']
['s829315761', 's644571696']
[9008.0, 9072.0]
[29.0, 27.0]
[95, 103]
p03238
u055687574
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\n\nif n == 1:\n print(1)\nelse:\n a = int(input())\n b = int(input())\n print(a + b)\n', 'N, T = map(int, input().split())\n\nc_min = 1001\nt_ = None\nfor _ in range(N):\n c, t = map(int, input().split())\n if T >= t and c_min > c:\n c_min = c\n t_ = t\nif t_ == None:\...
['Wrong Answer', 'Runtime Error', 'Accepted']
['s071427682', 's238879048', 's584262523']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[107, 229, 119]
p03238
u057993957
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(intput())\n\nif N == 1:\n print('Hello World')\n\nelse:\n print(sum([int(input()) for i in range(2)]))\n", "N, a, b = [int(input()) for i in range(3)]\n\nprint('Hello World' if N == 1 else a + b)", "N, a, b = [int(input()) for i in range(3)]\n\nprint('Hello World' if N == 1 else str(a + b))", "print('Hello ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s165226808', 's801677456', 's988780233', 's233960854']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[107, 85, 90, 82]
p03238
u058592821
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["age = int(input())\nif age == 1:\n print('Hello'World)\nelse:\n a = int(input())\n b = int(input())\n print(a+b)\n ", "age = int(input())\nif age == 1:\n print('HelloWorld')\nelse:\n a = int(input())\n b = int(input())\n print(a+b)\n ", "age = int(input())\nif age == 1:\n print('Hello World')\nelse:\n a =...
['Runtime Error', 'Wrong Answer', 'Accepted']
['s021383667', 's473417513', 's548721983']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[113, 113, 114]
p03238
u059210959
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['#encoding utf-8\n\nn = int(input())\ndata = []\nfor i in range(n):\n x,y,h=map(int,input().split())\n data.append([x,y,h])\n\ndef calH(cx,cy,data):\n return data[2]+abs(data[0]-cx)+abs(data[1]-cy)\n\ndef conh(temH,cx,cy,data):\n return temH-abs(data[0]-cx)-abs(data[1]-cy)\n\n\nfor i in range(101):\n fo...
['Runtime Error', 'Runtime Error', 'Accepted']
['s105716131', 's277757666', 's517169430']
[3064.0, 3064.0, 10792.0]
[17.0, 17.0, 38.0]
[1221, 1221, 580]
p03238
u059262067
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\n\nif n = 1:\n print("Hello World")\nelse:\n print(int(input())+int(input()))\n\n\n', 'n = int(input())\n \nif n == 1:\n print("Hello World")\nelse:\n print(int(input())+int(input()))\n ']
['Runtime Error', 'Accepted']
['s398800094', 's015572295']
[2940.0, 2940.0]
[17.0, 17.0]
[94, 95]
p03238
u063346608
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int(input())\n\nif N == 1:\n\tanswer = "Hello World"\n print(answer)\nelif N == 2:\n\tA = input(int())\n B = input(int())\n\tanswer = A + B\n\tprint(int(answer))', 'N = int(input())\n \nif N == 1:\n\tanswer = "Hello World"\n\tprint(answer)\nelif N == 2:\n\tA = input(int())\n B = input(int())\n\tanswer = ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s004610017', 's664732621', 's779492564', 's828426069']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0]
[158, 156, 151, 147]
p03238
u064408584
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\na=[]\nfor i in range(n):\n a.append(list(map(int, input().split())))\na.sort(key=lambda x:(-x[2],x[0]+x[1]))\nif n==1:\n print(a[0][0],a[0][1],a[0][2])\nelse:\n for i in range(101):\n for j in range(101):\n ansh=[0]*(n+2)\n for k,(x,y,h) in enumerate(a):\n ...
['Runtime Error', 'Accepted']
['s117847309', 's512008069']
[3064.0, 2940.0]
[17.0, 17.0]
[471, 86]
p03238
u064563749
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N=int(input())\nA=int(input())\nB=int(input())\nif N==1:\n print('Hello World')\nelse:\n print(A+B)", "N=int(input())\nif N==2:\n A,B=map(int,[input() for i in range(2)])\n print(A+B)\nelse:\n print('Hello World')\n"]
['Runtime Error', 'Accepted']
['s776698575', 's362247891']
[2940.0, 2940.0]
[17.0, 18.0]
[99, 115]
p03238
u071970578
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = input()\nif N == 1:\n print('Hello World')\nelif N == 2:\n A = input()\n B = input()\n print(A+B)\n", "N = input()\nif N == '1':\n print('Hello World')\nelif N == '2':\n A = int(input())\n B = int(input())\n print(A+B)\n"]
['Wrong Answer', 'Accepted']
['s004800952', 's150212526']
[2940.0, 2940.0]
[17.0, 17.0]
[108, 122]
p03238
u072606168
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["x = input().split()\nN,T = int(x[0]),int(x[1])\na,b,c,d = [],[],[],[]\nfor i in range(N):\n v = input().split()\n v = [int(s) for s in v]\n a.append(v)\nfor i in range(N):\n b.append(a[i][0])\nfor i in range(N):\n c.append(a[i][1])\nfor i in range(N):\n if b[i] < T:\n d.append(a[b.index(b[i])...
['Runtime Error', 'Runtime Error', 'Accepted']
['s746733551', 's927890056', 's415950290']
[3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[464, 470, 117]
p03238
u075303794
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\na = int(input())\nb = int(input())\nif n == 1:\n print('Hello World')\nelse:\n print(a + b)", "n = int(input())\nif n == 1:\n print('Hello World')\nelse:\n a = int(input())\n b = int(input())\n print(a + b)"]
['Runtime Error', 'Accepted']
['s637230087', 's956680500']
[2940.0, 2940.0]
[17.0, 17.0]
[105, 109]
p03238
u075595666
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['import sys\ninput = sys.stdin.readline\nn = int(input())\nc = []\nfor i in range(n):\n a = [int(i) for i in input().split()]\n c.append(a)\n\np,q,r = c[0]\nif n == 1:\n print(p,q,r)\n exit()\n\nend = c[-1]\nc = c[1:]\nfor i in range(101):\n for j in range(101):\n chk = abs(p-i)+abs(q-j)+r\n for num,k in en...
['Runtime Error', 'Accepted']
['s197751184', 's897267505']
[3064.0, 2940.0]
[18.0, 17.0]
[445, 123]
p03238
u077291787
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['# ABC112A - Programming Education\ndef main():\n N, A, B = map(int, open(0).read().split())\n flg = N == 1\n print("Hello World" if flg else A + B)\n\n\nif __name__ == "__main__":\n main()', '# ABC112A - Programming Education\ndef main():\n N, *A = map(int, open(0).read().split())\n flg = N == 1\n ...
['Runtime Error', 'Accepted']
['s025767435', 's750562939']
[2940.0, 2940.0]
[17.0, 17.0]
[192, 191]
p03238
u077898957
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\nif n ==1:\n print('Hello world')\nelse:\n print(int(input())+int(input()))\n", "n=int(input())\nif n==1:\n ans='Hello World'\nelse:\n a=int(input())\n b=int(input())\n ans=a+b\nprint(ans)\n"]
['Wrong Answer', 'Accepted']
['s520663545', 's613809664']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 113]
p03238
u079022116
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\nif n==1:print("Hello World")exit()\nelse:print(int(input())+int(input()))', 'n=int(input())\nif n==1:print("Hello World")\nelse:print(int(input())+int(input()))']
['Runtime Error', 'Accepted']
['s888571727', 's016660495']
[2940.0, 2940.0]
[17.0, 17.0]
[87, 81]
p03238
u081688405
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["if input()=='1':\n print('Hello World')\nelse:\n print(sum(int(input()) for _ in range(2))", "if input()=='1':\n print('Hello World')\nelse:\n print(sum(int(input()) for _ in range(2)))\n"]
['Runtime Error', 'Accepted']
['s345101291', 's615298820']
[2940.0, 2940.0]
[17.0, 17.0]
[89, 91]
p03238
u083960235
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N=int(input())\nL=[list(map(int,input().split())) for i in range(N)]\nx=[]\ny=[]\nh=[]\nfor l in L:\n x.append(l[0])\n y.append(l[1])\n h.append(l[2])\nCx=0\nCy=0\nH=0\n\nfor i in range(101):#Cx\n for j in range(101):#Cy\n flag=True\n for k in range(N):\n if h[k]!=0:\n ...
['Runtime Error', 'Accepted']
['s921847439', 's831269481']
[3064.0, 3892.0]
[18.0, 26.0]
[635, 821]
p03238
u086866608
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['w=input()\nif w == 1:\n print("Hello World")\nelif w == 2:\n a=input()\n b=input()\n print(a+b)\n', 'w=int(input())\nif w == 1:\n print("Hello World")\nelif w == 2:\n a=int(input())\n b=int(input())\n print(a+b)\n\n']
['Wrong Answer', 'Accepted']
['s557061665', 's782054342']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 118]
p03238
u089142196
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['def main()\n N= input()\n A= input()\n B= input()\n\n If N==1:\n print("Hello World") \n else:\n print(A+B)\n \nmain()', 'def main():\n N= int(input())\n A= int(input())\n B= int(input())\n\n if N==1:\n print("Hello World") \n else:\n print(A+B)\n ...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s424250550', 's517624887', 's634014178', 's765832970']
[2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0, 17.0]
[144, 160, 155, 168]
p03238
u089376182
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\na = int(input())\nb = int(input())\n\nprint('Hello World' if n==1 else a+b)\n", "n = int(input())\n\nprint('Hello World' if n==1 else int(input())+int(input()))\n"]
['Runtime Error', 'Accepted']
['s743230912', 's528394374']
[2940.0, 2940.0]
[17.0, 17.0]
[90, 78]
p03238
u094191970
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(input())\nA = int(input())\nB = int(input())\n\nif N == 1:\n print('Hello World')\nelif N == 2:\n print(A+B)", "Old = int(input())\nif Old == 1:\n print('Hello world')\nelse:\n A, B = map(int, input().split())\n print(A + B)", "n=int(input())\nif n==1:\n print('Hello World')\nelse:\n a=int(in...
['Runtime Error', 'Runtime Error', 'Accepted']
['s499458790', 's576690339', 's091040771']
[2940.0, 2940.0, 9116.0]
[17.0, 17.0, 27.0]
[115, 116, 99]
p03238
u094565093
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N=int(input())\nxyh=[list(map(int,input().split())) for i in range(N)]\nMAX=100\nfor PosY in range(MAX+1):\n for PosX in range(MAX+1):\n needH=-1\n for i in range(N):\n if xyh[i][2]>0:\n tmp=xyh[i][2]+abs(PosX-xyh[i][0])+abs(PosY-xyh[i][1])\n if needH==-1:\n ...
['Runtime Error', 'Accepted']
['s176879657', 's305155657']
[3064.0, 2940.0]
[17.0, 18.0]
[776, 110]
p03238
u099566485
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n=int(input())\nif n==1:\n print('Hello World!')\nelse:\n a=int(input())\n b=int(input())\n print(a+b)", "n=int(input())\nif n==1:\n print('Hello World')\nelse:\n a=int(input())\n b=int(input())\n print(a+b)"]
['Wrong Answer', 'Accepted']
['s673275418', 's503215092']
[3316.0, 2940.0]
[20.0, 17.0]
[108, 107]
p03238
u102902647
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\na = int(input())\nb = int(input())\nif n==1:\n print('Hello World')\nelse:\n print(a+b)", "n = int(input())\nif n==1:\n print('Hello World')\nelse:\n a = int(input())\n b = int(input())\n print(a+b)"]
['Runtime Error', 'Accepted']
['s166851610', 's774609297']
[2940.0, 2940.0]
[18.0, 17.0]
[105, 113]
p03238
u102960641
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nif n == 1:\n\tprint("Hello World")\nelif n == 2:\n\ta = int(input())\n b = int(input())\n print(a+b)', 'n, t = map(int,input().split())\nmydict = {}\nfor i in range(n):\n\ta, b = map(int,input().split())\n\tmydict.setdefault(a, b)\nsortedDict = sorted(mydict.items())\nk = 0\nfor j in sortedDic...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s617852812', 's662595744', 's784633607', 's781771524']
[2940.0, 3188.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[116, 270, 278, 111]
p03238
u103730790
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\n\nif n == 1:\n print("Heloo World")\n \nelse:\n a = int(input())\n b = int(input())\n print(a + b)', 'n = int(input())\n\nif n == 1:\n \tprint("Hello World")\n \nelse:\n \ta = int(input())\n \tb = int(input())\n print(a + b)', 'n = int(input())\n\nif n == 1:\n print("Hello Word")\n \...
['Wrong Answer', 'Runtime Error', 'Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s242608972', 's420771186', 's622392559', 's646952201', 's963333829', 's987500671', 's077407757']
[2940.0, 3068.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 20.0, 17.0, 17.0, 17.0]
[113, 116, 123, 123, 122, 116, 113]
p03238
u103902792
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\ndef get_h(pos,cx,cy,H):\n r= H - abs(pos[0]-cx) - abs(pos[1]-cy)\n return r\n\npoints = []\nfor i in range(n):\n x,y,h = map(int,input().split())\n if h == 0:\n continue\n points.append([x,y,h])\n \nans = []\nif ans == []:\n for i in range(101):\n for j in range(101):\n d = get_h(p...
['Runtime Error', 'Runtime Error', 'Accepted']
['s119826608', 's981579571', 's613826761']
[3064.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0]
[805, 99, 107]
p03238
u106297876
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n=int(input())\na=int(input())\nb=int(input())\nif n == 1:\n print('Hello World')\nelse:\n print(a+b)", "n=int(input())\n\nif n == 2:\n a=int(input())\n b=int(input())\n print(a+b)\nelse:\n print('Hello World')"]
['Runtime Error', 'Accepted']
['s840789488', 's892946956']
[2940.0, 2940.0]
[18.0, 17.0]
[101, 110]
p03238
u107091170
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N=int(input())\nA=int(input())\nB=int(input())\nif N==1:\n print("Hello World")\nelse:\n print(A+B)\n ', 'N=int(input())\nif N==1:\n print("Hello World")\nelse:\n A=int(input())\n B=int(input())\n print(A+B)\n ']
['Runtime Error', 'Accepted']
['s426701859', 's500269554']
[2940.0, 2940.0]
[17.0, 17.0]
[98, 102]
p03238
u111652094
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int(input())\nA = int(input())\nB = int(input())\n\nif N ==1:\n print("Hello world")\nelse:\n print(A+B)', 'N = int(input())\nA = int(input())\nB = int(input())\n\nif N ==1:\n print("Hello World")\nelse:\n print(A+B)', 'N = int(input())\n\n\nif N ==1:\n print("Hello World")\nelse:\n A = int(inpu...
['Runtime Error', 'Runtime Error', 'Accepted']
['s022425320', 's176608580', 's128055992']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 18.0]
[107, 107, 116]
p03238
u114648678
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\na=int(input())\nb=int(input())\nif n==1:\n print("Hello World")\nelse:\n print(a+b)', 'n=int(input())\nif n==2:\n a=int(input())\n b=int(input())\nif n==1:\n print("Hello World")\nelse:\n print(a+b)']
['Runtime Error', 'Accepted']
['s443058223', 's680877814']
[2940.0, 2940.0]
[17.0, 17.0]
[95, 108]
p03238
u115877451
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["a=int(input())\nif a==1:\n print('Heelo World')\nelse:\n b=int(input())\n c=int(input())\n print(b+c)", "a=int(input())\nif a==1:\n print('Hello World')\nelse:\n b=int(input())\n c=int(input())\n print(b+c)"]
['Wrong Answer', 'Accepted']
['s798699306', 's338607055']
[3060.0, 2940.0]
[20.0, 17.0]
[99, 99]
p03238
u116233709
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\nli=[]\ncnt=[]\nfor i in range(n):\n x,y,h=map(int,input().split())\n li.append([x,y,h])\nfor j in range(0,101):\n for k in range(0,101):\n for l in range(n):\n if li[l][2]!=0:\n cnt.append(li[l][2]+abs(li[l][0]-j)+abs(li[l][1]-k))\n elif l!=0 and li...
['Runtime Error', 'Accepted']
['s282364213', 's061866198']
[3064.0, 2940.0]
[18.0, 17.0]
[682, 101]
p03238
u118211443
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N=int(input())\nA=int(input())\nB=int(input())\nif N==1:\n print("Hello World")\nelse:\n print(A+B)', 'N=int(input())\nA=int(input())\nB=int(input())\nif N==1:\n print("Hello World")\nelse:\n print(A+B)', 'N=int(input())\nA=int(input())\nB=int(input())\nC=A+B\nif N==1:\n print("Hello World")\nif N==2:\...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s005941918', 's273407945', 's602197920', 's756394315', 's101592708']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0, 17.0, 18.0]
[99, 99, 106, 110, 125]
p03238
u119982147
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nif n == 1:\n print("Hello world")\nelse:\n a = int(input())\n b = int(input())\n print(a+b)', 'n = int(input())\nif n == 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(a+b)']
['Wrong Answer', 'Accepted']
['s785133999', 's261797539']
[2940.0, 2940.0]
[17.0, 17.0]
[115, 115]
p03238
u123745130
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\nif n=1:\n print("Hello World")\nelse:\n A=int(input())\n B=int(input())\n print(A+B)', 'n=int(input())\nif n==1:\n print("Hello World")\nelse:\n A=int(input())\n B=int(input())\n print(A+B)\n']
['Runtime Error', 'Accepted']
['s777150111', 's982065404']
[2940.0, 2940.0]
[17.0, 17.0]
[98, 100]
p03238
u124498235
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nif n == 1:\n\tprint ("Hello Wolrd")\n\texit()\nelse:\n\ta = int(input())\n\tb = int(input())\n\tprint (a+b)\n\texit()\n', 'n = int(input())\nif n == 1:\n\tprint ("Hello World")\nelse:\n\ta = int(input())\n\tb = int(input())\n\tprint (a+b)']
['Wrong Answer', 'Accepted']
['s871115502', 's257654153']
[2940.0, 2940.0]
[17.0, 17.0]
[122, 105]
p03238
u126183307
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=int(input())\na=int(input())\nb=int(input())\nans=[]\nif n == 1:\n ans="Hello World"\nelse:\n ans=a+b\nprint(ans)', 'n=int(input())\na=int(input())\nb=int(input())\nans=[]\nif n == 1:\n ans="Hello World"\nelse:\n ans=a+b\nprint(ans)', 'n=int(input())\ns = [int(input()) for i in range((n-1)*2)]\nans=[]\n...
['Runtime Error', 'Runtime Error', 'Accepted']
['s440237282', 's700416919', 's792541765']
[2940.0, 2940.0, 3064.0]
[17.0, 17.0, 17.0]
[113, 113, 132]
p03238
u127499732
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['IN=open(0).read().split()\nif len(IN)==1:\n print("Hello world")\nelse:\n print(int(IN[1])+int(IN[2]))', 'IN=open(0).read().split()\nif len(IN)==1:\n print("Hello World")\nelse:\n print(int(IN[1])+int(IN[2]))']
['Wrong Answer', 'Accepted']
['s497119274', 's029334367']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 100]
p03238
u127856129
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['a=int(input())\nb=int(input())\nc=int(input())\nif a==1:\n print("Hello World")\nelse:\n print(b+c)', 'a=int(input())\nb=int(input())\nc=int(input())\nif a==1:\n print("Hello World")\nelif a==2:\n print(b+c)\n', 'a=int(input())\nif a==1:\n print("Hello World")\nelse:\n b=int(input())\n c=int(input())\n print(...
['Runtime Error', 'Runtime Error', 'Accepted']
['s557710418', 's712913914', 's469041319']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0]
[95, 101, 99]
p03238
u128740947
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nA = int(input())\nB = int(input())\n\nif n == 1:\n print("Hello World")\nelse :\n print("A+B")', 'n = int(input())\nA,B = map(int,input().split())\n\n\nif n == 1:\n print("Hello World")\nelse :\n print("A+B")', 'n = int(input())\nA,B = map(int,input().split())\n\n\nif n == 1:\n print(...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s186523646', 's191583323', 's415109299', 's666322584', 's076707734']
[2940.0, 3188.0, 2940.0, 2940.0, 2940.0]
[19.0, 19.0, 18.0, 18.0, 17.0]
[111, 109, 107, 109, 119]
p03238
u129019798
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["I=input()\nif I==1:\n print('hello world')\nelse:\n A=Input()\n B=Input()\n print(A+B)", "I=input()\nif I=='1':\n print('hello world')\nelse:\n A=input()\n B=input()\n print(int(A)+int(B))\n", "I=input()\nif I==1:\n print('hello world')\nelse:\n A=input()\n B=input()\n print(int(A)+int(B))\n", "I=input()\nif...
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Accepted']
['s023431068', 's400756828', 's732996113', 's327039282']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[83, 96, 94, 96]
p03238
u129749062
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(input())\nif N == 1:\n print('Hello World')\nelif:\n A,B = int(input())\n print(A+B)", 'print(int(input()) + int(input()) if int(input()) == 2 else "Hello World\n")', 'N = int(input())\nif N == 1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A+B)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s181256641', 's323146269', 's286796989']
[2940.0, 2940.0, 9016.0]
[17.0, 17.0, 28.0]
[90, 75, 107]
p03238
u129978636
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(input())\n\nif( N == 1):\n print('Hello World')\n \nif( N == 2):\n A = int(input())\n B = int(input())\n \n print(int( A + B))", "N = int(input())\n\nif( N == 1):\n print('Hello World')\n \nif( N ==2):\n A = int( input())\n B = int( input())\n print( int( A + B))"]
['Runtime Error', 'Accepted']
['s669822970', 's663476699']
[2940.0, 2940.0]
[17.0, 17.0]
[130, 130]
p03238
u131264627
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\na, b = map(int, input().split())\nif a == 1:\n print('Hellp World')\nelse:\n print(a + b)", "n = int(input())\nprint('Hello World' if n == 1 else int(input()) + int(input())) "]
['Runtime Error', 'Accepted']
['s301538375', 's510099314']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 81]
p03238
u132583371
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\nif n ==1:\n print('Hello world')\nif n ==2:\n a,b = map(int,input().split())\n print(a+b)", "n = int(input())\nif n ==1:\n print('Hello world')\nif n ==2:\n a,b = map(int,input().split())\n print(a+b)\n ", "n = int(input())\nif n ==1:\n print('Hello World')\nif n ==2:\n a ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s270152266', 's835252720', 's624655628']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[111, 116, 132]
p03238
u133347536
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N=int(input("N="))\nif N == 1:\n\tprint(\'HelloWorld\')\nelif N == 2:\n\tA=int(input("A="))\n\tB=int(input("B="))\n\tprint(A+B)', 'N = int(input())\nif N == 1:\n print(\'HelloWorld\')\nelif N == 2:\n A = int(input("A="))\n B = int(input("B="))\n print(A+B)', "N = int(input())\nif N == 1:\n print('Hello...
['Wrong Answer', 'Wrong Answer', 'Wrong Answer', 'Accepted']
['s369254703', 's404880449', 's428053169', 's187373290']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[115, 129, 122, 123]
p03238
u138486156
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\na = [list(map(int, input().split())) for i in range(n)]\nfor i in range(101):\n for j in range(101):\n H = []\n check = []\n for k in range(n):\n x = a[k][0]\n y = a[k][1]\n h = a[k][2]\n if h == 0:\n check.append((x...
['Runtime Error', 'Accepted']
['s705736301', 's571436688']
[3064.0, 2940.0]
[18.0, 17.0]
[764, 117]
p03238
u140680196
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n, t = map(int, input().split())\n\na = []\n\nfor i in range(n):\n cost, time = map(int, input().split())\n if time <= t:\n a.append(cost)\n\nif len(a) is 0:\n print("TLE")\nelse:\n a.sort()\n print(a[0])\n', 'n = input()\n\nif n is\'1\':\n print("Hello World")\nelif n is \'2\':\n a = int(input())\n b = in...
['Runtime Error', 'Accepted']
['s075369867', 's911441583']
[3060.0, 2940.0]
[17.0, 17.0]
[200, 115]
p03238
u142415823
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["border = 101\n\n\ndef manhattan_distance(Cx, Cy, H, X, Y):\n return max(H - abs(X - Cx) - abs(Y - Cy), 0)\n\n\ndef judge_center(Cx, Cy, cords):\n for x, y, h in cords:\n if h > 0:\n H = abs(cords[0][0] - Cx) + abs(cords[0][1] - Cy) + cords[0][2]\n break\n for x, y, h in cords:\n ...
['Runtime Error', 'Runtime Error', 'Accepted']
['s180082968', 's512482882', 's952669536']
[3064.0, 3316.0, 2940.0]
[18.0, 19.0, 17.0]
[820, 109, 118]
p03238
u143173995
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['\nN, T = map(int, input().split())\n\nans = 1001\n\nif N < 1 or N > 100 or T < 1 or T > 1000:\n SystemExit\n\nfor i in range(N):\n cost, time = map(int, input().split())\n if time < T:\n ans = min(ans, cost)\n\nif ans == 1001:\n print("TLE")\nelse:\n print(ans)', '\nN, T = map(int, input().split...
['Runtime Error', 'Runtime Error', 'Accepted']
['s011913181', 's027239685', 's534149465']
[3060.0, 2940.0, 2940.0]
[19.0, 17.0, 17.0]
[401, 329, 276]
p03238
u143492911
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n=list(input())\nif n==1:\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)\n', 'n=int(input())\nif n==1:\n print("Hello World")\nelse:\n a=input()\n b=input()\n print(int(a)+int(b))\n']
['Runtime Error', 'Accepted']
['s229482563', 's227455623']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 108]
p03238
u145915236
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int(input())\nA = int(input())\nB = int(input())\n\nif N == 1:\n print("Hello World")\nelse:\n print(A+B)', 'N = int(input())\nif N == 1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A+B)']
['Runtime Error', 'Accepted']
['s766991901', 's881775396']
[2940.0, 2940.0]
[17.0, 17.0]
[104, 107]
p03238
u149752754
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['import math\nN, M = map(int, input().split())\n\nif int(math.sqrt(M)) > N:\n divlist = []\n for i in range (N, int(math.sqrt(M))):\n if M%i == 0:\n divlist.append(i)\n else:\n continue\n \n if divlist != []:\n for i in range(N, int(math.sqrt(M))):\n if...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s343687233', 's524466797', 's590630931', 's456649795']
[3064.0, 3064.0, 3060.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[719, 562, 352, 141]
p03238
u151042563
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N = int(input())\nif N ==1:\n print('Helo World')\nelif N==2:\n A = int(input())\n B = int(input())\n print(A+B)", "N = int(input())\nif N ==1:\n print('Hello World')\nelif N==2:\n A = int(input())\n B = int(input())\n print(A+B)"]
['Wrong Answer', 'Accepted']
['s444221782', 's933401088']
[2940.0, 2940.0]
[17.0, 17.0]
[118, 119]
p03238
u151365505
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['A = int(input())\nB = int(input())\nprint(6 - A - B)', 'n =int(input())\nif n == 1:\n print("Hello world")\nelse:\n a = int(input())\n b = int(input())\n print(a+b)', 'n = int(input())\nif n == 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(a+b)']
['Runtime Error', 'Wrong Answer', 'Accepted']
['s842748203', 's949115436', 's517373848']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[50, 114, 115]
p03238
u152614052
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["input_num = input()\n\nif input_num != 1:\n a = int(input())\n b = int(input())\n print(a + b)\nelse:\n print('Hello World')", "input_num = input()\n\nif input_num == '1':\n print('Hello World')\n\nelse:\n a = int(input())\n b = int(input())\n print(a + b)\n"]
['Runtime Error', 'Accepted']
['s217135834', 's278632956']
[2940.0, 2940.0]
[18.0, 17.0]
[129, 133]
p03238
u152638361
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['Age = int(input())\nif Age ==1:\n \tprint("Hello World")\nelse:\n\tAB = [int(input()) for i in range(2)]\n print(AB[0]+AB[1])', 'Age = int(input())\nif Age ==1:\n print("Hello World")\nelse:\n AB = [int(input()) for i in range(2)]\n print(AB[0]+AB[1])']
['Runtime Error', 'Accepted']
['s588894777', 's749928726']
[3064.0, 2940.0]
[18.0, 17.0]
[122, 126]
p03238
u157850041
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int(input())\ndata = []\nfor _ in range(N):\n x, y, h = list(map(int, input().split()))\n data.append([x,y,h])\nfor x in range(101):\n flag2 = True\n for y in range(101):\n result = abs(data[0][0] - x) + abs(data[0][1] - y) + data[0][2]\n flag = True\n for dat in data:\n ...
['Runtime Error', 'Accepted']
['s504770388', 's193927427']
[3064.0, 2940.0]
[17.0, 17.0]
[559, 117]
p03238
u158620769
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = input()\n\nif N == 1:\n print("Hello World")\nelse:\n a = input()\n b = input()\n print(a + b)', 'N = int(input())\n\nif N == 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(str(a + b))']
['Runtime Error', 'Accepted']
['s820346448', 's447267296']
[2940.0, 2940.0]
[17.0, 18.0]
[96, 116]
p03238
u162893962
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["N, T = map(int, input().split())\n\nd = {}\nfor _ in range(N):\n Ns = [int(i) for i in input().split()]\n time = Ns[1]\n if time <= T:\n d[Ns[0]] = time\nif d:\n print(min(d))\nelse:\n print('TLE')", "N = int(input())\n\n\nif N == 1:\n print('Hello World')\nelse:\n A = int(input())\n B ...
['Runtime Error', 'Accepted']
['s712452497', 's715727084']
[3060.0, 2940.0]
[17.0, 16.0]
[208, 119]
p03238
u163874353
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = int(input())\nif n == 1:\n print("Hello World")\n break\nelse:\n a = int(input())\n b = int(input())\n print(a + b)', '\nn = int(input())\nif n == 1:\n print("Hello World")\n exit()\nelse:\n a = int(input())\n b = int(input())\n print(a + b)']
['Runtime Error', 'Accepted']
['s078992506', 's977443213']
[2940.0, 2940.0]
[17.0, 17.0]
[127, 129]
p03238
u169138653
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n=int(input())\na=int(input())\nb=int(input())\nif n==1:\n print('Hello World')\nelse:\n print(a+b)", "n,t=map(int,input().split())\nct=[list(map(int,input().split())) for i in range(n)]\nans=float('inf')\nok=False\nfor i in range(n):\n if ct[i][1]<=t:\n ans=min(ans,ct[i][0])\n ok=True\nif ok:\n print(ans)\...
['Runtime Error', 'Runtime Error', 'Accepted']
['s475869057', 's545593638', 's512918812']
[2940.0, 3060.0, 2940.0]
[17.0, 17.0, 17.0]
[95, 225, 100]
p03238
u170324846
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = input()\nif N == 1:\n print("Hello World")\nelse:\n A = input()\n B = input()\n print(A + B)', 'N = int(input())\nif N == 1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A + B)']
['Runtime Error', 'Accepted']
['s179478771', 's871118428']
[2940.0, 2940.0]
[18.0, 18.0]
[94, 109]
p03238
u173374079
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['n = input()\na = input()\nb = input()\n\nif n == 1:\n print("Hello World")\nelif n == 2:\n print(a + b)', 'n = int(input())\na = int(input())\nb = int(input())\n\nif n == 1:\n print("Hello World")\nelif n == 2:\n print(a + b)', 'n = input()\na = int(input())\nb = int(input())\n\nif n == "1":\n print("Hello...
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s470037440', 's749645841', 's770379309', 's470917998']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[98, 117, 116, 119]
p03238
u178192749
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n = int(input())\nif n == 1:\n print('Hello Wolrd')\nelse:\n a = int(input())\n b = int(input())\n print(a+b)", "n = int(input())\nif n == 1:\n print('Hello World')\nelse:\n a = int(input())\n b = int(input())\n print(a+b)\n"]
['Wrong Answer', 'Accepted']
['s376175836', 's252247306']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 108]
p03238
u181215519
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['N = int( input() )\nif N == 1 : \n print( "Hello World" )\nelse : \n{\n A = int( input() )\n B = int( input() )\n print( A + B )\n}', 'N = int( input() )\nif N == 1 : \n print( "Hello World" )\nelse : \n A = int( input() )\n B = int( input() )\n print( A + B )']
['Runtime Error', 'Accepted']
['s295151657', 's382010073']
[2940.0, 2940.0]
[17.0, 18.0]
[131, 127]
p03238
u181937133
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['import numpy as np,math,itertools\nn=int(input())\na=int(input())\nb=int(input())\nif n==1:print("Hello World")\nelse:print(a+b)', 'import numpy as np,math,itertools\nn=int(input())\nif n==1:print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)']
['Runtime Error', 'Accepted']
['s359664477', 's249429730']
[21888.0, 18604.0]
[1493.0, 1347.0]
[123, 136]
p03238
u183200783
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
['age = int(input())\n\nif age == 1:\n "Hello World"\nelse:\n A = int(input())\n B = int(input())\n print(A + B)', 'age = int(input())\n\nif age == 1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A + B)\n']
['Wrong Answer', 'Accepted']
['s791269343', 's572145059']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 115]
p03238
u185037583
2,000
1,048,576
In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education. One day, there was an exam where a one-year-old child must write a program that prints `Hello World`, and a two-year-old child must write a program that receives integers A,...
["n, a, b = [int(input()) for i in range(3)]\nif n==1:\n print('Hello World')\nelse:\n print(a+b)\n \n \n", "n = int(input())\nif n == 1:\n print('Hello World')\nelse:\n a, b = [int(input()) for i in range(2)]\n print(a+b)\n"]
['Runtime Error', 'Accepted']
['s943509841', 's884654179']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 118]