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
p03238
u186838327
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = int(input())\nif N == 2:\n\tA = int(input())\n \tB = int(input())\n print(A+B)\nelse:\n \tprint('Hello World')", "N = input()\nif N == 2:\n\tA = int(input())\n \tB = int(input())\n print(A+B)\nelse:\n \tprint('Hello World')", "N = int(input())\nif N == 2:\n A = int(input())\n B = int(input())\n print(A + B)\nelif N == 1:\n print('Hello World')\n "]
['Runtime Error', 'Runtime Error', 'Accepted']
['s722401269', 's782486044', 's723913210']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[110, 105, 119]
p03238
u186950791
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n = int(input())\nif n == 1:\n print('Hello world')\nif n == 2:\n A = int(input())\n B = int(input())\n print(A + B)\n", "n = int(input())\nif n == 1:\n print('Hello World')\nif n == 2:\n A = int(input())\n B = int(input())\n print(A + B)\n"]
['Wrong Answer', 'Accepted']
['s682269986', 's943020604']
[2940.0, 2940.0]
[17.0, 17.0]
[123, 123]
p03238
u189188797
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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', 'Accepted']
['s184520473', 's000424656']
[2940.0, 2940.0]
[17.0, 17.0]
[106, 107]
p03238
u191829404
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\nA = int(input())\nB = int(input())\n\nif N==1:\n print("Hello World")\nelse:\n print(A+B)\n', 'N = int(input())\nA = int(input())\nB = int(input())\n\nif N==1:\n print("Hello World")\nelse:\n print(A+B)\n ', 'N = int(input())\n\nif N==1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A+B)\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s018820368', 's994119465', 's246338954']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[103, 111, 107]
p03238
u196236448
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(input())\nx = []; y = []; h = []\n\nxmin = 0; ymin = 0; xmax = 101; ymax = 101\n\nfor i in range(n):\n xx, yy, hh = list(map(int, input().split(\' \')))\n x.append(xx)\n y.append(yy)\n h.append(hh)\n\nfield = []\n\nfor i in range(n):\n if i == 0:\n for xx in range(xmin, xmax):\n f = []\n for yy in range(ymin, ymax):\n f.append(max(abs(xx - x[i]) + abs(yy - y[i]) + h[i], 0))\n field.append(f)\n \n else:\n for xx in range(xmin, xmax):\n for yy in range(ymin, ymax):\n f = max(abs(xx - x[i]) + abs(yy - y[i]) + h[i], 0)\n if field[xx][yy] != f:\n field[xx][yy] = -1\n\nmaxx = 0; maxy = 0; maxV = 0\nfor xx in range(xmin, xmax):\n for yy in range(ymin, ymax):\n if maxV <= field[xx][yy]:\n maxx = xx; maxy = yy; maxV = field[xx][yy]\n\nprint(str(maxx) + " " + str(maxy) + " " + str(maxV))', 'old = int(input())\n\nif old == 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(a + b)']
['Runtime Error', 'Accepted']
['s958968673', 's042017693']
[3064.0, 2940.0]
[17.0, 17.0]
[924, 122]
p03238
u196368253
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['data = [int(input()) for i in range(3)]\nN = data[0];A = data[1];B = data[2]\nif N == 1:\n print("Hello World")\nelse:\n print(A + B)', 'data = [int(input()) for i in range(3)]\nN = data[0]\nA = data[1]\nB = data[2]\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")\nelif N == 2:\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())\nif N == 1:\n print("Hello World")\nelse:\n A = int(input())\n B = int(input())\n print(A + B)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s214671554', 's464626214', 's513323384', 's876922912', 's283475460']
[3056.0, 3056.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 18.0, 18.0]
[134, 134, 116, 109, 117]
p03238
u200030766
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["ct=[]\nfor i in range(N):\n ct.append(list(map(int, input().strip().split(' '))))\n \ntle=True\nc=10000\n\nfor i in range(N):\n if ct[i][1]<=T:\n tle=False\n c=min(c,ct[i][0])\n \nif tle:\n print('TLE')\nelse:\n print(c)", 'N=int(input().strip())\n\nxyh=[]\nfor i in range(N):\n xi,yi,hi = map(int, input().split(\' \'))\n if hi>0:\n xyh.append([xi,yi,hi])\n\nfl=False\nfor ny in range(101):\n for nx in range(101):\n nh=abs(xyh[0][0]-nx)+abs(xyh[0][1]-ny)+xyh[0][2]\n nh=max(nh,0)\n fl=True\n for i in range(len(xyh)):\n if nh!=max(0,abs(xyh[i][0]-nx)+abs(xyh[i][1]-ny)+xyh[i][2]):\n fl=False\n if fl:\n ax=nx\n ay=ny\n ah=nh\n\nprint("{} {} {}".format(ax,ay,ah))\n', 'N=int(input().strip())\n\nxyh=[]\nfor i in range(N):\n xi,yi,hi = map(int, input().split(\' \'))\n if hi>0:\n xyh.append([xi,yi,hi])\n\nfl=False\nfor ny in range(101):\n for nx in range(101):\n nh=abs(xyh[0][0]-nx)+abs(xyh[0][1]-ny)+xyh[0][2]\n nh=max(nh,0)\n fl=True\n for i in range(len(xyh)):\n if nh!=max(0,abs(xyh[i][0]-nx)+abs(xyh[i][1]-ny)+xyh[i][2]):\n fl=False\n if fl:\n ax=nx\n ay=ny\n ah=nh\n\nprint("{} {} {}".format(ax,ay,ah))\n', "N=int(input().strip())\nif N==1:\n print('Hello World')\nelif N==2:\n A=int(input().strip())\n B=int(input().strip())\n print(A+B)"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s560677703', 's906340029', 's952598323', 's160758069']
[3060.0, 3188.0, 3188.0, 2940.0]
[18.0, 18.0, 18.0, 17.0]
[241, 535, 535, 136]
p03238
u201082459
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n = int(input())\na = int(input())\nb = int(input())\nif n == 1:\n print('Hellow World')\nelif n == 2:\n print(a + b)", "n = int(input())\nif n == 1:\n print('Hellow 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)"]
['Runtime Error', 'Wrong Answer', 'Accepted']
['s502247695', 's706185728', 's027790305']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[117, 125, 124]
p03238
u204260373
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n=input()\na,b=map(int,input().split())\nif n=="1":\n print("Hello World")\nelif n=="2":\n print(a+b)\n', 'n=int(input())\na,b=map(int,input().split())\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,b=map(int,input().split())\n print(a+b)\n', 'n=int(input())\na,b=map(int,input().split())\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', 'n=input()\na,b=map(int,input().split())\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)\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s113361561', 's194354436', 's222884285', 's270598625', 's401150523', 's906531206', 's635382474']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 18.0, 17.0, 17.0, 17.0]
[99, 97, 99, 95, 102, 91, 100]
p03238
u206460435
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["#!/usr/bin/env python3\nimport sys\nfrom math import *\nfrom itertools import *\nfrom collections import *\nfrom functools import *\ntry:\n from math import gcd\nexcept Exception:\n from fractions import gcd\nreadInt = lambda: int(sys.stdin.readline())\nreadIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]\n\n\n\ndef main():\n n = readInt()\n result = 'Hello World'\n if n == 2\n a = readInt()\n b = readInt()\n result = a + b\n print(result)\n\nif __name__ == '__main__':\n main()\n", "#!/usr/bin/env python3\nimport sys\nfrom math import *\nfrom itertools import *\nfrom collections import *\nfrom functools import *\ntry:\n from math import gcd\nexcept Exception:\n from fractions import gcd\nreadInt = lambda: int(sys.stdin.readline())\nreadIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]\n\n\n\ndef main():\n n = readInt()\n a = readInt()\n b = readInt()\n result = 'Hello World' if n == 1 else (a + b)\n print(result)\n\nif __name__ == '__main__':\n main()\n", "#!/usr/bin/env python3\nimport sys\nfrom math import *\nfrom itertools import *\nfrom collections import *\nfrom functools import *\ntry:\n from math import gcd\nexcept Exception:\n from fractions import gcd\nreadInt = lambda: int(sys.stdin.readline())\nreadIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]\n\n\n\ndef main():\n n = readInt()\n result = 'Hello World'\n if n == 2:\n a = readInt()\n b = readInt()\n result = a + b\n print(result)\n\nif __name__ == '__main__':\n main()\n"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s389065110', 's893282564', 's287250847']
[2940.0, 5140.0, 5140.0]
[17.0, 36.0, 35.0]
[516, 494, 517]
p03238
u209918867
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n=int(input())\na=int(input())\nb=int(input())\nprint('Hello World' if n==1 else 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']
['s101229021', 's541606938']
[2940.0, 2940.0]
[17.0, 18.0]
[82, 99]
p03238
u212253038
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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\nif N == 1:\n print('Hello World')\nelse:\n A = int(input())\n B = int(input())\n print(A+B)"]
['Runtime Error', 'Accepted']
['s777986697', 's676310393']
[3316.0, 2940.0]
[25.0, 17.0]
[108, 116]
p03238
u216459554
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['xx=int(input())\nif(x==1):\n print("Hello World")\nelse:\n x=int(input())\n y=int(input())\n print(x+y)\n', 'x=int(input())\nif(x==1):\n print("Hello World")\nelse:\n x=int(input())\n y=int(input())\n print(x+y)\n']
['Runtime Error', 'Accepted']
['s819423594', 's968684820']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 101]
p03238
u217303170
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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']
['s057950429', 's298604724']
[2940.0, 2940.0]
[17.0, 18.0]
[108, 116]
p03238
u217627525
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['y=int(input())\nif y==1:\n print("Hello world")\nelse:\n a,b=[int(input()) for _ in range(2)]\n print(a+b)', 'y=int(input())\nif y==1:\n print("Hello World")\nelse:\n a,b=[int(input()) for _ in range(2)]\n print(a+b)']
['Wrong Answer', 'Accepted']
['s278747714', 's587273600']
[2940.0, 2940.0]
[17.0, 20.0]
[110, 110]
p03238
u220345792
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = int(input())\nA = int(input())\nB = int(input())\n\nprint('Hello World' if N == 1 else A+B )", "N = int(input())\n\nif N==1:\n print('Hello World')\nelse:\n \n A = int(input())\n B = int(input())\n\n print(A+B )"]
['Runtime Error', 'Accepted']
['s823377198', 's453017603']
[2940.0, 2940.0]
[17.0, 18.0]
[92, 121]
p03238
u220991851
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N,T = map(int,input().split())\nback=[]\n\nfor i in range(N):\n a,b = map(int,input().split())\n if b >= T:\n back.append(a)\n\nif len(back) == 0:\n print('TLE')\nelse:\n print(min(back))", "N = int(input())\n\nif N == 1 :\n print( 'Hello World' )\nelse :\n A = int(input())\n B = int(input())\n print( A + B )"]
['Runtime Error', 'Accepted']
['s418550260', 's012292008']
[3060.0, 2940.0]
[17.0, 17.0]
[195, 124]
p03238
u221345507
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N, M =map(int,input().split())\nans=1\nfor i in range (1,M//N):\n if M%i==0:\n if M//i>=N:\n ans=i\nprint(ans)', "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']
['s945906466', 's044328484']
[2940.0, 3316.0]
[17.0, 21.0]
[125, 112]
p03238
u227085629
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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']
['s994018185', 's240566968']
[2940.0, 3064.0]
[17.0, 17.0]
[101, 105]
p03238
u227476288
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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)\n exit()", "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)\n exit()"]
['Wrong Answer', 'Accepted']
['s307580403', 's246629861']
[2940.0, 2940.0]
[18.0, 17.0]
[137, 137]
p03238
u229518917
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N,T=map(int,input().split())\nct=[list(map(int,input().split())) for a in range(N)]\n\nct=sorted(ct, key=lambda x:(x[0],x[1]))\n\nprint(ct[0])\nfor i in range(N):\n if ct[i][1]<=t:\n print(ct[i][0])\n break\nelse:\n print('TLE')", "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']
['s620909276', 's894896980']
[3188.0, 2940.0]
[18.0, 17.0]
[237, 107]
p03238
u236127431
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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")\n exit()\na=int(input())\nb=int(input())\nprint(a+b)\n']
['Runtime Error', 'Accepted']
['s613546798', 's190722430']
[2940.0, 2940.0]
[18.0, 18.0]
[95, 97]
p03238
u239091426
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(input())\nif n == 1:\n print("Hell 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']
['s922856173', 's438025137']
[9084.0, 9156.0]
[31.0, 28.0]
[106, 107]
p03238
u244118793
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\n if N == 1:\n print("Hello World")\n elif N == 2\n a,b = int(input().split())\n print(a+b)\n', 'N = int(input())\nif N == 1:\n print("Hello World)\nelif N == 2\n a,b = int(input().split())\n print(a+b)\n', 'N = int(input())\n if N == 1:\n print("Hello World")\n elif N == 2\n a,b = int(input().split())\n print(a+b)\n\n', 'n = int(input())\n if n == 1:\n print("Hello World")\n elif n == 2:\n a = int(input())\n b = int(input())\n print(a+b)', 'N = int(input())\n if N == 1:\n print("Hello World")\n elif N == 2:\n a,b = int(input().split())\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)']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s053297062', 's204233580', 's604563360', 's802196422', 's858225331', 's099740939']
[2940.0, 3060.0, 3064.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0, 17.0, 17.0]
[131, 110, 132, 146, 131, 124]
p03238
u244836567
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['a=int(input())\nb=int(input())\nc=int(input())\nif a==1:\n print("Hello World")\nif a==2:\n print(int(b+c))', 'a=int(input())\nb=int(input())\nc=int(input())\nif a==1:\n print("Hello World")\nif a==2:\n print(b+c)', 'a=int(input())\nb=int(input())\nc=int(input())\nif a==1:\n print("Hello World")\nelse:\n print(b+c)', 'a=int(input())\nif a==1:\n print("Hello World")\nif a==2:\n b=int(input())\n c=int(input())\n print(int(b+c))\n']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s361839391', 's688030143', 's722826707', 's563909631']
[9024.0, 9080.0, 9016.0, 9076.0]
[26.0, 23.0, 26.0, 29.0]
[103, 98, 95, 108]
p03238
u247623772
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\nif N == 1:\n print("Hello world")\nelse:\n A =int(input())\n B =int(input())\n C = A+B\n print(C)', 'N = int(input())\nif N == 1:\n print("Hello World")\nelse:\n A =int(input())\n B =int(input())\n C = A+B\n print(C)']
['Wrong Answer', 'Accepted']
['s580513263', 's355396033']
[2940.0, 2940.0]
[17.0, 17.0]
[123, 123]
p03238
u250944591
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n=int(input())\na,b=int(input()),int(input())\nif n==1:print('Hello World')\nelse:print(a+b)", "n=int(input())\nif n==1:print('Hello World')\nelse:\n a,b=int(input()),int(input())\n print(a+b)"]
['Runtime Error', 'Accepted']
['s600603604', 's384011471']
[9132.0, 9160.0]
[24.0, 27.0]
[89, 94]
p03238
u252210202
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N, A, B = map(int, input().split())\nif N == "1":\n print("Hello World")\nelse:\n print(A+B)', 'N, A, B = map(int, input().split())\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', 'Runtime Error', 'Accepted']
['s533729246', 's942366674', 's120980070']
[3188.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[94, 92, 115]
p03238
u252964975
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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"]
['Wrong Answer', 'Accepted']
['s437348142', 's537184110']
[2940.0, 2940.0]
[17.0, 17.0]
[99, 100]
p03238
u254871849
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['# 2019-11-10 20:23:41(JST)\nimport sys\n# import collections\n# import math\n# from string import ascii_lowercase, ascii_uppercase, digits\n# from bisect import bisect_left as bi_l, bisect_right as bi_r\n# import itertools\n# from functools import reduce\n# import operator as op\n# from scipy.misc import comb # float\n# import numpy as np \n\ndef main():\n n = int(sys.stdin.readline().rstrip())\n if n == 1:\n print(1)\n sys.exit()\n else:\n a, b = (int(x) for x in sys.stdin.read().split())\n print(a + b)\n\n\nif __name__ == "__main__":\n main()\n', "import sys\n\n*command, = map(int, sys.stdin.read().split())\nn = command[0]\n\ndef main():\n if n == 1:\n print('Hello World')\n elif n == 2:\n a = command[1]; b = command[2]\n print(a + b)\n\nif __name__ == '__main__':\n main()"]
['Wrong Answer', 'Accepted']
['s784207477', 's867149964']
[2940.0, 2940.0]
[17.0, 17.0]
[568, 247]
p03238
u255001744
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(input())\nif n==1:\n \tprint("Hello World")\nelse:\n \ta,b = map(int,input().split())\n print(int(a+b))\n', 'n = int(input())\nif n==1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(int(a+b))']
['Runtime Error', 'Accepted']
['s651921350', 's136652964']
[2940.0, 2940.0]
[17.0, 18.0]
[110, 110]
p03238
u255943004
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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']
['s160371188', 's537150829']
[2940.0, 2940.0]
[17.0, 17.0]
[108, 107]
p03238
u257050137
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["if int(input()) == 1:\n print('Hello world')\nelse:\n a = int(input())\n b = int(input())\n print(a + b)\n", "if int(input()) == 1:\n print('Hello World')\nelse:\n a = int(input())\n b = int(input())\n print(a + b)\n"]
['Wrong Answer', 'Accepted']
['s240748994', 's595993245']
[2940.0, 2940.0]
[17.0, 17.0]
[112, 112]
p03238
u258735798
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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)\n ', '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)']
['Runtime Error', 'Accepted']
['s563702110', 's894293099']
[2940.0, 2940.0]
[16.0, 19.0]
[113, 112]
p03238
u262869085
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N =int(input())\nif N ==1:\n print("Hello world")\nelif N ==2:\n A,B =[int(input())for _ in range(2)]\n print(A+B)', 'N =int(input())\nif N ==1:\n print("Hello World")\nelif N ==2:\n A,B =[int(input())for _ in range(2)]\n print(A+B)']
['Wrong Answer', 'Accepted']
['s240065562', 's775562951']
[2940.0, 2940.0]
[17.0, 18.0]
[118, 118]
p03238
u271469978
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n = int(input())\nif n == 1:\n print('Hello world')\nelse:\n print(sum([int(input()) for i in range(n)]))", "print('Hello world' if input() == '1' else sum([int(input())for _ in range(2)]))\n", "n = int(input())\nif n == 1:\n print('Hello World')\nelse:\n print(sum([int(input()) for i in range(n)]))"]
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s116671588', 's997424898', 's206975260']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[107, 81, 107]
p03238
u274615057
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['\ndef main():\n n = int(input())\n a = int(input())\n b = int(input())\n if n == 1:\n print(\'Hello World\')\n else:\n print(a + b)\n\n\nif __name__ == "__main__":\n main()\n', '\ndef 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']
['Runtime Error', 'Accepted']
['s470825425', 's911071587']
[9156.0, 9048.0]
[27.0, 30.0]
[191, 199]
p03238
u277556971
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['age = int(input());\nif age == 1:\n print(1);\nelse:\n b, c = map(int, input().split());\n print(b + c);\n', "i = input; \nprint(eval(i() + '+' + i()) if '1' < i() else 'Hello World');"]
['Runtime Error', 'Accepted']
['s972475998', 's285612728']
[2940.0, 2940.0]
[18.0, 18.0]
[103, 83]
p03238
u280552586
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N, T = map(int, input().split())\n\nl = []\n\nfor i in range(N):\n a = list(map(int, input().split()))\n if T >= a[1]:\n l.append(a[0])\n\nprint('TLE' if len(l) == 0 else min(l))", "N, T = map(int, input().split())\n\nl = []\n\nfor i in range(N):\n a = list(map(int, input().split()))\n if T >= a[1]:\n l.append(a[0])\n\nprint('TLE' if len(l) == 0 else min(l))\n", "N, T = map(int, input().split())\n\nl = []\n\nfor i in range(N):\n a = list(map(int, input().split()))\n if a[1] <= T:\n l.append(a[0])\n\nprint('TLE' if len(l) == 0 else min(l))\n", "n = int(input())\nif n == 1:\n print('Hello World')\nelse:\n a, b = [int(input()) for _ in range(2)]\n print(a+b)\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s100064525', 's620252095', 's797733293', 's468089307']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 18.0, 17.0]
[182, 183, 183, 118]
p03238
u285022453
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['route_num, limit = map(int, input().split(\' \'))\n\ncosts = []\nspends = []\nfor i in range(route_num):\n cost, spend = map(int, input().split(\' \'))\n costs.append(cost)\n spends.append(spend)\n\nmin_cost = 2000\nfor cost, spend in zip(costs, spends):\n if spend <= limit and cost < min_cost:\n min_cost = cost\n\nif min_cost == 2000:\n print("TLE")\n\nelse:\n print(min_cost)\n', 'pattern = int(input())\n\nif pattern == 1:\n print("Hello World")\nelif pattern == 2:\n a = int(input())\n b = int(input())\n\n print(a + b)']
['Runtime Error', 'Accepted']
['s548035219', 's424874641']
[3060.0, 3064.0]
[17.0, 17.0]
[383, 144]
p03238
u286623856
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['\nN= list(map(int,input().split())) \n\nroot_list = []\ncost = 1001\nfor i in range(N[0]):\n root_list.append(list(map(int,input().split())))\n\n if root_list[i][1] > N[1]:\n if root_list[i][0] < cost:\n cost = root_list[i][0]\n\n\nif cost == 1001:\n print("TLE")\nelse:\n print(cost)', 'ipnum = input()\n\nif ipnum == "1":\n print("Hello World")\nelif ipnum =="2":\n num1 = int(input())\n num2 = int(input())\n print(num1 + num2)\nelse:\n print("error")']
['Runtime Error', 'Accepted']
['s018291236', 's743826487']
[3060.0, 2940.0]
[17.0, 17.0]
[317, 172]
p03238
u287431190
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n = int(input())\n\nif n == 1:\n print('Hello World')\n exit()\nelse if n == 2:\n a = int(input())\n b = int(input())\n print(a+b)", "n = int(input())\n\nif n == 1:\n print('Hello World')\nelse if n == 2:\n a = int(input())\n b = int(input())\n print(a+b)", "n = int(input())\n\nif n == 1:\n print('Hello World')\n exit()\nelif n == 2:\n a = int(input())\n b = int(input())\n print(a+b)"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s365140213', 's992674124', 's854126148']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[127, 118, 124]
p03238
u291543340
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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', 'n = int(input())\na = int(input())\nb = int(input())\n\nif n == 1:\n print("Hello World")\nelse:\n print(a+b)\n', 'n = int(input())\n\nif n == 1:\n print("Hello World")\nelif n == 2:\n a = int(input())\n b = int(input())\n\n print(a+b)\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s321961428', 's985186254', 's099224037']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[116, 109, 125]
p03238
u294385082
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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())\nprint("Hello World" if n==1 else A + B)', 'n = int(input())\na = int(input())\nb = int(input())\nif n == 1:\n print("Hello World")\nelif n == 2:\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', 'Runtime Error', 'Runtime Error', 'Accepted']
['s191174231', 's525551745', 's883294326', 's090967099']
[2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[103, 90, 110, 107]
p03238
u297046168
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = int(input())\nif N == 1:\n print('Hello World)\nif N == 2:\n A =int(input())\n B =int(input())\n print(A+B)", "N = int(input())\nif N == 1:\n print('Hello World)\nif N == 2:\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', 'Runtime Error', 'Accepted']
['s039639842', 's466034969', 's792819751']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[117, 121, 113]
p03238
u299840026
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\np = []\nfor i in range(N):\n X1, Y1, H1 = map(int, input().split())\n if H1 != 0:\n p.append([X1, Y1, H1])\n\nif len(p) == 1:\n print(p[0][0], p[0][1], p[0][2])\n exit()\n\n\nfor i in range(101):\n for j in range(101):\n h = -1\n fg = True\n for t in p:\n if h == -1:\n h = t[2] + abs(i - t[0]) + abs(j - t[1])\n\n else:\n ht = t[2] + abs(i - t[0]) + abs(j - t[1])\n if h == ht:\n h = ht\n else:\n fg = False\n break\n if fg:\n print(i, j, h)\n \n', 'N = int(input())\n\nif N == 1:\n a = "Hello World"\n print(a)\n\nif N == 2:\n A = int(input())\n B = int(input())\n C = A+B\n print(C)']
['Runtime Error', 'Accepted']
['s107565260', 's932123537']
[3064.0, 2940.0]
[17.0, 17.0]
[640, 142]
p03238
u302957509
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['print("Hello World" if print() == "1" else (int(input()) + int(input())))', 'print("Hello World" if input() == "1" else (int(input()) + int(input())))\n']
['Runtime Error', 'Accepted']
['s709893824', 's041865865']
[2940.0, 2940.0]
[17.0, 17.0]
[73, 74]
p03238
u308488583
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['age=int(input())\nif age==1:\n print("Hello Wolrd")\nelse:\n a=input()\n b=input()\n print(a+b)', 'age=int(input())\nif age==1:\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)']
['Wrong Answer', 'Accepted']
['s590406672', 's929474154']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 111]
p03238
u313498252
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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']
['s035018329', 's442871726']
[2940.0, 2940.0]
[17.0, 17.0]
[116, 115]
p03238
u319805917
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['a=int(input())\nb=int(input())\nc=int(input())\nif a==1:\n print("Hello World")\nelse:\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)']
['Runtime Error', 'Accepted']
['s506001680', 's681945760']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 111]
p03238
u319818856
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['def pyramid(N: int, info: list) -> tuple:\n """\n """\n _info = sorted(info, key=lambda x: x[2], reverse=True)\n x, y, h = _info[0]\n candidtes = [\n (cx, cy, h + abs(cx - x) + abs(cy - y))\n for cx in range(100+1)\n for cy in range(100+1)]\n\n for x, y, h in _info[1:]:\n temp = []\n for cx, cy, H in candidtes:\n th = max(H - abs(cx - x)-abs(cy - y), 0)\n if th == h:\n temp.append((cx, cy, H))\n\n candidtes = temp\n\n return candidtes[0]\n\nif __name__ == "__main__":\n N = int(input())\n info = [\n tuple(int(s) for s in input().split())\n for _ in range(N)]\n cx, cy, h = pyramid(N, info)\n print(cx, cy, h)\n', 'def programming_education(N: int) -> str:\n if N == 1:\n return \'Hello World\'\n\n A = int(input())\n B = int(input())\n return str(A + B)\n\n\nif __name__ == "__main__":\n N = int(input())\n ans = programming_education(N)\n print(ans)\n']
['Runtime Error', 'Accepted']
['s135984581', 's628364681']
[3064.0, 2940.0]
[18.0, 20.0]
[713, 251]
p03238
u323045245
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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']
['s183078858', 's865606331']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 109]
p03238
u325227960
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n=int(input())\na=input()\nb=input()\n\nif n==1 :\n print("Hello World")\nelse :\n print(int(a)+int(b))\n', 'n=int(input())\n\n \nif n==1 :\n print("Hello World")\nelse :\n a=input()\n b=input()\n print(int(a)+int(b))\n']
['Runtime Error', 'Accepted']
['s630295483', 's992031959']
[2940.0, 2940.0]
[17.0, 17.0]
[103, 113]
p03238
u325704929
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\n\nif N == 1:\n print(Hello World)\nelse:\n AB = int(input()) for _ in range(2):\n print(sum(AB))\n', "N = int(input())\n\nif N == 1:\n print('Hello World')\nelse:\n AB = [int(input()) for _ in range(2)]\n print(sum(AB))"]
['Runtime Error', 'Accepted']
['s890607613', 's276974555']
[2940.0, 2940.0]
[17.0, 19.0]
[118, 120]
p03238
u327466606
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["if input() == '1':\n print('Hwllo World')\nelse:\n print(int(input())+int(input()))", "if input() == '1':\n print('Hello World')\nelse:\n print(int(input())+int(input()))"]
['Wrong Answer', 'Accepted']
['s894527769', 's141684928']
[2940.0, 2940.0]
[17.0, 17.0]
[82, 82]
p03238
u327532412
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = int(input())\nA = int(input())\nB = int(input())\nif N == 1:\n print('Hello World')\nelse:\n print(A+B)", "N, A, B, = map(int, [int(input()) for _ in range(3)])\nif N == 1:\n print('Hello World')\nelse:\n print(A+B)", "N = int(input())\nif N == 1:\n print('Hello World')\nelse:\n print(int(input()) + int(input()))"]
['Runtime Error', 'Runtime Error', 'Accepted']
['s266562513', 's557205792', 's534044907']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[107, 110, 97]
p03238
u329576290
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['import math\nN, M = map(int,input().split())\nj=1\nfor i in range(1, int(math.sqrt(M))+2):\n if M%i==0:\n if i <= M//N and j < i:\n j=i\n if M/i <= M//N and j < M/i:\n j=M/i\nprint(j)\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']
['s842151614', 's551203447']
[3060.0, 2940.0]
[17.0, 17.0]
[214, 111]
p03238
u331381193
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n=int(input())\n\nif n==1:\n\tprint('Helo World')\nelse:\n\tx=list(int(input()) for _ in range(2))\n\tprint(x[0]+x[1])", "n=int(input())\n\nif n==1:\n\tprint('Hello World')\nelse:\n\tx=list(int(input()) for _ in range(2))\n\tprint(x[0]+x[1])\n"]
['Wrong Answer', 'Accepted']
['s967205448', 's354249424']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 111]
p03238
u331464808
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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', 'Accepted']
['s196338611', 's319341741']
[2940.0, 2940.0]
[18.0, 17.0]
[104, 105]
p03238
u333139319
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(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=int(input())\n b=int(input())\n print(a+b)\n']
['Wrong Answer', 'Accepted']
['s489477444', 's598990237']
[2940.0, 2940.0]
[17.0, 18.0]
[113, 112]
p03238
u333190709
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\nL = [input().split() for i in range(N)]\nanswer = 0\ncenter = []\n\nfor i in range(101):\n for j in range(101):\n List = []\n for l in L:\n if int(l[2]) != 0:\n List.append(int(l[2]) + abs(int(l[0]) - i) + abs(int(l[1]) - j))\n #else:\n #List.append(0)\n if len(list(set(List))) == 1:\n answer = List[0]\n center.append(i)\n center.append(j)\n\nprint(center[0], center[1], answer)', "N = int(input())\n\nif N == 1:\n print('Hello World')\nif N == 2:\n A = int(input())\n B = int(input())\n print(A+B)"]
['Runtime Error', 'Accepted']
['s755063149', 's661646347']
[3064.0, 2940.0]
[17.0, 18.0]
[429, 113]
p03238
u333731247
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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\nif N==1:\n print('Hello World')\n\nelif N==2:\n A=int(input())\n B=int(input())\n print(A+B)"]
['Runtime Error', 'Accepted']
['s016152724', 's360533828']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 114]
p03238
u335278042
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N=int(input())\nlis=[]\nfor i in range(101):\n for j in range(101):\n lis.append([i,j])\nl2=[]\nfor i in range(N):\n l2.append(list(map(int, input().split())))\nfor i in lis:\n n=N\n l=0\n for j in l2:\n k=abs(i[0]-j[0])+abs(i[1]-j[1])+j[2]\n if l==k or l==0:\n l=k\n n-=1\n if n==0:\n m=(i[0],i[1],l)\n else: break\n try:\n print('{} {} {}'.format(m[0],m[1],m[2]))\n break\n except NameError:\n continue", "N=int(input())\nif N==1:\n print('Hello World')\nelse :\n print(int(input())+int(input()))"]
['Runtime Error', 'Accepted']
['s116467811', 's995672327']
[4084.0, 2940.0]
[21.0, 17.0]
[499, 92]
p03238
u335664637
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["str=input().split(' ')\na=[]\nb=[]\nc=[]\nfor i in range(2): a.append(int(str[i]))\nfor i in range(a[0]): b.append(input().split(' '))\nfor i in range(a[0]):\n for j in range(2):\n c.append(int(b[i][j]))\nd=[]\ne=[]\nfor i in range(a[0]):\n if(a[1]>=c[i*2-1]):\n d.append(c[i*2-2])\n e.append(c[i*2-1])\nif(len(d)==0): print('TLE')\nelse: \n num=min(d)\n print(num)", "str=input().split(' ')\na=[]\nb=[]\nc=[]\nfor i in range(2): a.append(int(str[i]))\nfor i in range(a[0]): b.append(input().split(' '))\nfor i in range(a[0]):\n for j in range(2):\n c.append(int(b[i][j]))\nd=[]\ne=[]\nfor i in range(a[0]):\n if(a[1]>=c[i*2-1]):\n d.append(c[i*2-2])\n e.append(c[i*2-1])\nif(len(d)==0): print('TLE')\nelse: \n num=min(d)\n print(num)", "str=input().split(' ')\na=[]\nb=[]\nc=[]\nfor i in range(2): a.append(int(str[i]))\nfor i in range(a[0]): b.append(input().split(' '))\nfor i in range(a[0]):\n for j in range(2):\n c.append(int(b[i][j]))\nd=[]\ne=[]\nfor i in range(a[0]):\n if(a[1]>=c[i*2-1]):\n d.append(c[i*2-2])\n e.append(c[i*2-1])\nif(len(d)==0): print('TLE')\nelse: \n num=min(d)\n print(num)", "age=int(input())\nif(age==1): print('Hello World')\nif(age==2): A=int(input())\nif(age==2): B=int(input())\nif(age==2): print(A+B)"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s108003993', 's536200060', 's691346924', 's817551896']
[3064.0, 3064.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0, 17.0]
[360, 360, 360, 126]
p03238
u337573893
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["a = [int(input()) for i in range(3)]\n\nif a[0] == 2:\n print(a[1] + a[2])\n \nelse:\n print('Hello World')", "a = [int(input()) for i in range(3)]\n\nif a[0] == 2:\n print(a[1] + a[2])\n \nelif a[0] == 1:\n print('Hello World')\n", 'a = [int(input()) for i in range(3)]\n\nN = a[0]\nA = a[1]\nB = a[2]\n\nif N = 1:\n print("Hello World")\n \nelif:\n print(A + B)', "N = int(input())\n\nif N == 1:\n print('Hello World')\n \nelif N == 2:\n print(int(input()) + int(input()))\n"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s071303610', 's293924645', 's867337079', 's871887508']
[9020.0, 9000.0, 8796.0, 9092.0]
[29.0, 22.0, 24.0, 24.0]
[104, 115, 122, 105]
p03238
u339523379
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N=input()\n\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', 'Accepted']
['s122838042', 's612978787']
[2940.0, 2940.0]
[17.0, 18.0]
[95, 112]
p03238
u339550873
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\nif N == 1:\n print("Hallo World")\nelse:\n list = []\n for _ in range(N)\n list.append(int(input()))\n A,B = list\n print(A+B)\n \n ', "#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\nN = int(input())\nif N == 1:\n print('Hallo World')\nelse:\n A,B = [int(input()),int(input())]\n print(A +B)\n", 'N = int(input())\nif N == 1:\n print("Hallo World")\n else:\n list = []\n for _ in range(N):\n list.append(int(input()))\n A,B = list\n print(A+B)\n \n ', 'N = int(input())\nif N == 1:\n print("Hallo World")\n else:\n A, B = [int(x) for x in input()]\n print(A+B)\n \n ', 'N = int(input())\nif N == 1:\n print("Hallo World")\n else:\n print(int(input()) + int(input()))\n \n ', "#! /usr/bin/env python3\n# -*- coding: utf-8 -*-\nN = int(input())\nif N == 1:\n print('Hello World')\nelse:\n A,B = [int(input()),int(input())]\n print(A +B)\n"]
['Runtime Error', 'Wrong Answer', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s585053446', 's693953972', 's761201856', 's949738666', 's959025634', 's715482076']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0, 17.0, 17.0]
[152, 161, 167, 120, 107, 161]
p03238
u339922532
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = input()\nif n = 1:\n print("Helllo World")\nelse:\n a, b = map(int, input().split())\n print(a + b)', 'n = input()\nif n == 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(input())\n b = int(input())\n print(a + b)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s178171875', 's702755331', 's101033210']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[107, 107, 117]
p03238
u342051078
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = int(input())\nA = int(input())\nB = int(input())\n\nif N == 1:\n print("Hello World")\n \nelif N == 2:\n print(A + B)', 'N = int(input())\nA = int(input())\nB = int(input())\n\nif N == 1:\n print("Hello World")\n \nelif N == 2:\n print(A + B)', 'N = int(input())\n\nif N == 1:\n print("Hello World")\n \nelif N == 2:\n A = int(input())\n B = int(input())\n print(A + B)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s144129757', 's929085154', 's220094529']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[116, 116, 120]
p03238
u343977188
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n = int(input())\nif n==1:\n print('Helo 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']
['s557953069', 's773513167']
[2940.0, 2940.0]
[17.0, 17.0]
[100, 101]
p03238
u344545933
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['#include <bits/stdc++.h>\nusing namespace std;\nint main(void){\n int n;\n cin>>n;\n int a,b;\n if (n==1) cout<<"Hello World";\n else{\n cin>>a;\n cin>>b;\n cout<<a+b;\n }\n}\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']
['s442524360', 's422052056']
[2940.0, 3316.0]
[18.0, 24.0]
[178, 108]
p03238
u349836672
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['# coding: utf-8\nimport math\n\nN, M = [int(s) for s in input().strip().split()]\n\nif N == 1:\n print(M)\n exit()\n\nROOT_M = int(math.sqrt(M))\ndivisors = []\nfor d in range(1, ROOT_M+1):\n if M % d == 0:\n divisors.append(d)\n divisors.append(M//d)\n\ndivisors.sort()\nMAX_VAL = int(M/N)\nfor d in divisors:\n if d > MAX_VAL:\n break\n max_gcd = d\n\nprint(max_gcd)\n', '# coding: utf-8\n\nN = int(input().strip())\n\ninput_tuples = []\nselected_tuple = None\n\nfor _ in range(N):\n x, y, h = [int(s) for s in input().strip().split()]\n if selected_tuple is None and h > 0:\n selected_tuple = ((x, y, h))\n else:\n input_tuples.append((x, y, h))\n\nfor cx in range(0, 101):\n for cy in range(0, 101):\n H = selected_tuple[2] + \\\n abs(selected_tuple[0] - cx) + abs(selected_tuple[1] - cy)\n\n for x, y, h in input_tuples:\n if h != max(H - abs(x - cx) - abs(y - cy), 0):\n break\n else:\n break\n continue\n else:\n continue\n break\n\nprint("{} {} {}".format(cx, cy, H))\n', '# coding: utf-8\n\ndef main():\n N = int(input().strip())\n\n if N == 1:\n print("Hello World")\n else:\n A = int(input().strip())\n B = int(input().strip())\n print(A+B)\n\n\nif __name__ == "__main__":\n main()\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s231835746', 's378732800', 's758104468']
[3060.0, 3064.0, 2940.0]
[17.0, 17.0, 17.0]
[382, 687, 238]
p03238
u350093546
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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 a=int(input())\n b=int(input())\n print(a+b)"]
['Runtime Error', 'Accepted']
['s989626707', 's093808113']
[2940.0, 2940.0]
[17.0, 17.0]
[101, 105]
p03238
u350836088
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['import math\n\nn,m = map(int,input().split())\nm_div = []\nfor i in range(1,math.ceil(math.sqrt(m)+1)):\n if m%i ==0:\n m_div.extend([i,m//i])\nm_div = list(set(m_div))\nm_div.sort(reverse = True)\nfor div in m_div:\n if div >= n:\n ans = m//div\n else:\n break\nprint(ans)\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']
['s457680234', 's292597381']
[3060.0, 2940.0]
[17.0, 17.0]
[276, 106]
p03238
u353652911
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n=int(input())\nprint("Hello World" if n==1 else int(input())+int(input())\n', 'n=int(input())\na=int(input())\nb=int(input())\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()))']
['Runtime Error', 'Runtime Error', 'Accepted']
['s370670513', 's413741598', 's513561799']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[74, 83, 75]
p03238
u353797797
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['if input()="1":\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)\n ', 'if input()=="1":\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)\n \n']
['Runtime Error', 'Accepted']
['s295098834', 's375665481']
[2940.0, 2940.0]
[17.0, 17.0]
[94, 96]
p03238
u353895424
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(input())\n\nif n == 1:\n print("Hello Wrold")\n exit()\nelse:\n a = int(input())\n b = int(input())\n print(a+b)', 'n = int(input())\n\nif n == 1:\n print("Hello Wrold")\n exit()\nelif n == 2:\n a = int(input())\n b = int(input())\n print(a+b)', 'n = int(input())\n\nif n == 1:\n print("Hello World")\n exit()\nelse:\n a = int(input())\n b = int(input())\n print(a+b)']
['Wrong Answer', 'Wrong Answer', 'Accepted']
['s270420585', 's899963305', 's030653924']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[127, 134, 127]
p03238
u358051561
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["from sys import stdin\na = stdin.readline().rstrip() \n\nif a[0] == 1:\n print('Hello World')\nelse:\n print(sum(a[1:]))", "import sys\na = sys.stdin.readlines()\n\nif a[0] == 1:\n print('Hello World')\nelse:\n print(sum(a[1:]))", "N = input()\nif N == 1:\n print('Hello World')\nelse:\n AB = [int(input()) for i in range(2)]\n print(sum(AB))", "N = int(input())\n\nif N == 1:\n print('Hello World')\nelse:\n A = int(input())\n B = int(input())\n print(A+B)"]
['Wrong Answer', 'Runtime Error', 'Runtime Error', 'Accepted']
['s047249170', 's671626008', 's965972559', 's670479304']
[2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 18.0, 18.0, 18.0]
[120, 104, 114, 116]
p03238
u359474860
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(input())\nif n == 1:\n print("Hello world")\nif n == 2:\n print(int(input()) + int(input()))', 'n = int(input())\nif n == 1:\n print("Hello World")\nif n == 2:\n print(int(input()) + int(input()))']
['Wrong Answer', 'Accepted']
['s486454004', 's172655699']
[2940.0, 2940.0]
[18.0, 18.0]
[102, 102]
p03238
u363407238
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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")\n exit()\nelse:\n print(a + b)\n exit()', 'n = int(input())\nif n == 1:\n print("Hello World")\nelse:\n a = int(input())\n b = int(input())\n print(a + b) \nexit()']
['Runtime Error', 'Runtime Error', 'Accepted']
['s143480737', 's217217103', 's308588556']
[2940.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0]
[110, 133, 126]
p03238
u364541509
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = int(input())\nA = int(input())\nB = int(input())\nif N == 1:\n print('Hello World')\nelif N == 2:\n S = A + B\n print(S)", "N = int(input())\nif N == 1:\n print('Hello World')\nelif N == 2:\n A = int(input())\n B = int(input())\n S = A + B\n print(S)"]
['Runtime Error', 'Accepted']
['s074741628', 's840981151']
[2940.0, 2940.0]
[17.0, 17.0]
[120, 124]
p03238
u369402805
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N = input()\nA = input()\nB = input()\n\nif N == "1":\n print("Hello World")\nelse:\n print(str(int(A) + int(B)))\n', 'N = input()\n\nif N == "1":\n print("Hello World")\nelse:\n A = input()\n B = input()\n print(str(int(A) + int(B)))\n']
['Runtime Error', 'Accepted']
['s676285942', 's441261616']
[3316.0, 2940.0]
[20.0, 17.0]
[113, 121]
p03238
u370331385
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["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)\n"]
['Runtime Error', 'Accepted']
['s444280538', 's621564952']
[2940.0, 2940.0]
[17.0, 17.0]
[102, 105]
p03238
u370721525
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = input()\n \nif N == 1:\n print('Hello World')\nelse:\n A = int(input())\n B = int(input())\n print(A + B)", "N = input()\nA = int(input())\nB = int(input())\n\nif N == 1:\n print('Hello World')\nelse:\n print(A + B)\n ", "N = input()\nif input():\n A = int(input())\n B = int(input())\n \nif N == 1:\n print('Hello World')\nelse:\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(A + B)"]
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s161204563', 's219206567', 's575303999', 's733900597']
[3064.0, 3060.0, 2940.0, 2940.0]
[17.0, 18.0, 17.0, 17.0]
[106, 104, 118, 111]
p03238
u371409687
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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 ', 'n=int(input())\nxyh=[list(map(int,input().split())) for _ in range(n)]\nxyh=sorted(xyh, key=lambda x:x[2], reverse=True)\n\nfor xi in range(101):\n for yi in range(101):\n hi=0\n flag=True\n for i in range(n):\n x=xyh[i][0]\n y=xyh[i][1]\n h=xyh[i][2]\n if i==0:\n hi=abs(xi-x)+abs(yi-y)+h\n if max(hi-abs(xi-x)-abs(yi-y),0)!=h:\n flag=False\n if flag:\n print(xi, yi, hi)\n break\n else:\n continue\n break', '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)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s353929492', 's720520469', 's282850796']
[2940.0, 9100.0, 2940.0]
[17.0, 26.0, 17.0]
[108, 537, 104]
p03238
u371467115
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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', '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']
['s230879764', 's906777072']
[2940.0, 2940.0]
[18.0, 17.0]
[108, 112]
p03238
u371530330
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["n = int(input())\na = int(input())\nb = int(input())\n\nif n==1:\n print('Hello World')\nelif n[0]==2:\n print(a+b)", "n = int(input())\n \nif n==1:\n print('Hello World')\nelif n==2:\n a = int(input())\n b = int(input())\n print(int(a+b))"]
['Runtime Error', 'Accepted']
['s758875101', 's489568958']
[2940.0, 2940.0]
[18.0, 17.0]
[110, 117]
p03238
u372670441
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['N=int(input())\na=int(input())\nb=int(input())\nif N==1:\n print("Hello World")\nelif N==2:\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)']
['Runtime Error', 'Accepted']
['s334442386', 's397194840']
[2940.0, 2940.0]
[18.0, 18.0]
[104, 112]
p03238
u375500286
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n=input()\nif n=="1":\n print("Hello World")\nelif:\n print(int(input())+int(input()))', 'n=input()\nif n=="1":\n print("Hello World")\nelse:\n print(int(input())+int(input()))']
['Runtime Error', 'Accepted']
['s701520673', 's639490683']
[2940.0, 2940.0]
[17.0, 17.0]
[84, 88]
p03238
u375616706
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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)\n', '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)\n']
['Wrong Answer', 'Accepted']
['s621565976', 's774506533']
[2940.0, 2940.0]
[18.0, 17.0]
[122, 121]
p03238
u375695365
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['a=int(input())\nif a==1:\n print("Hello Would")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)', 'a=int(input())\nif a==1:\n print("Hello World")\nelse:\n a=int(input())\n b=int(input())\n print(a+b)']
['Wrong Answer', 'Accepted']
['s640870183', 's372874719']
[2940.0, 2940.0]
[17.0, 17.0]
[107, 107]
p03238
u379689547
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['if int(input())==1:\n print("Hello world")\nelse:\n print(int(input())+int(input()))', 'if int(input())==1:\n print("Hello World")\nelse:\n print(int(input())+int(input()))']
['Wrong Answer', 'Accepted']
['s709757188', 's885533446']
[2940.0, 2940.0]
[17.0, 23.0]
[87, 87]
p03238
u380284234
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['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 == 2:\n print(a+b)\nelse:\n print("Hello World")', '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', 'Runtime Error', 'Accepted']
['s110315628', 's483608913', 's477562917']
[2940.0, 2940.0, 2940.0]
[17.0, 17.0, 17.0]
[101, 101, 110]
p03238
u382431597
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n = int(input())\n \nif n == 1:\n print("Hello World")\nelse n == 2:\n a = int(input())\n b = int(input())\n print(A+B)', 'n = int(input())\na = int(input())\nb = int(input())\n\nif n == 1:\n print("Hello World")\nelse n == 2:\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(a+b)']
['Runtime Error', 'Runtime Error', 'Accepted']
['s328526243', 's981369827', 's102416646']
[2940.0, 2940.0, 2940.0]
[17.0, 24.0, 17.0]
[116, 111, 109]
p03238
u383196771
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N = int(input())\n\nif N == 1:\n print('Hello world')\nelse:\n A = int(input())\n B = int(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(A + B)"]
['Wrong Answer', 'Accepted']
['s509231608', 's791570284']
[2940.0, 2940.0]
[17.0, 18.0]
[118, 118]
p03238
u383450070
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['n=int(input())\na=int(input())\nb=int(input())\nprint("Hello World" if n==1 else a+b)', 'n=int(input())\na=int(input())\nb=int(input())\nc=a+b\nprint("Hello World" if n==1 else str(c) if n==2)', 'n=int(input())\na=int(input())\nb=int(input())\nc=a+b\nprint("Hello World" if n%2==0 else str(c))', 'n=int(input())\na=int(input())\nb=int(input())\nc=a+b\nprint("Hello World" if n==1 else str(c))', 'n=int(input())\na=int(input())\nb=int(input())\nc=a+b\nprint("Hello World" if n%2==0 else str(c))', 'n=int(input())\na=int(input())\nb=int(input())\nc=a+b\nprint("Hello World" if n%2==1 else str(c))', 'n=int(input())\nif n==2:\n a=int(input())\n b=int(input())\n c=a+b\nprint("Hello World" if n%2==1 else str(c))']
['Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Runtime Error', 'Accepted']
['s055618037', 's156542094', 's418676315', 's435276965', 's551597519', 's952054558', 's999383401']
[2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0, 2940.0]
[18.0, 17.0, 18.0, 19.0, 17.0, 17.0, 17.0]
[82, 99, 93, 91, 93, 93, 108]
p03238
u385244248
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['s = int(input())\nif s == 2:\n A = int(input())\n B = int(input())\n print(A+B)\nelse:\n print("HelloWorld")', 's = int(input())\nif s == 2:\n A = int(input())\n B = int(input())\n print(A+B)\nelse:\n print("Hello World")\n']
['Wrong Answer', 'Accepted']
['s262790445', 's413369744']
[2940.0, 2940.0]
[17.0, 17.0]
[114, 116]
p03238
u387834551
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["N=int(input())\nif N==1:\n print('Hellow 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)"]
['Wrong Answer', 'Accepted']
['s866770287', 's312639336']
[2940.0, 2940.0]
[17.0, 17.0]
[109, 107]
p03238
u392029857
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
["x = [int(input()) for i in range(3)]\nprint('Hello World' if x[0]==1 else x[1]+x[2])", "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', 'Runtime Error', 'Accepted']
['s745115272', 's872372263', 's697259984']
[2940.0, 2940.0, 2940.0]
[18.0, 17.0, 17.0]
[83, 107, 115]
p03238
u396181190
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, B and prints A+B. Takahashi, who is taking this exam, suddenly forgets his age. He decides to write a program that first receives his age N (1 or 2) as input, then prints `Hello World` if N=1, and additionally receives integers A, B and prints A+B if N=2. Write this program for him.
['dat0 = input()\ndat1 = input()\ndat2 = input()\n\n\nif dat0 == 1:\n print("Hello World")\nelse\n ans = int(dat1) + int(dat2)\n print(ans)\n', 'dat0 = input()\nif dat0 == 1:\n print("Hello World")\nelse:\n dat1 = input()\n dat2 = input()\n ans = int(dat1) + int(dat2)\n print(ans)\n', 'dat0 = input()\nif dat0 == "1":\n print("Hello World")\nelse:\n dat1 = input()\n dat2 = input()\n ans = int(dat1) + int(dat2)\n print(ans)\n']
['Runtime Error', 'Runtime Error', 'Accepted']
['s294870045', 's913510472', 's303213934']
[2940.0, 2940.0, 2940.0]
[18.0, 18.0, 17.0]
[138, 145, 147]