TnT/Multi_CodeNet4Repair huggingface dataset:
Problem: 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.

Submission attempts (in order):
N = int( input() )
if N == 1 : 
   print( "Hello World" )
else : 
{
   A = int( input() )
   B = int( input() )
   print( A + B )
}

N = int( input() )
if N == 1 : 
   print( "Hello World" )
else : 
   A = int( input() )
   B = int( input() )
   print( A + B )

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
import numpy as np,math,itertools
n=int(input())
a=int(input())
b=int(input())
if n==1:print("Hello World")
else:print(a+b)

import numpy as np,math,itertools
n=int(input())
if n==1:print("Hello World")
else:
    a=int(input())
    b=int(input())
    print(a+b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
age = int(input())

if age == 1:
  "Hello World"
else:
  A = int(input())
  B = int(input())
  print(A + B)

age = int(input())

if age == 1:
  print("Hello World")
else:
  A = int(input())
  B = int(input())
  print(A + B)


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n, a, b = [int(input()) for i in range(3)]
if n==1:
  print('Hello World')
else:
  print(a+b)
  
  


n = int(input())
if n == 1:
    print('Hello World')
else:
    a, b = [int(input()) for i in range(2)]
    print(a+b)


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
if N == 2:
	A = int(input())
  	B = int(input())
    print(A+B)
else:
  	print('Hello World')

N = input()
if N == 2:
	A = int(input())
  	B = int(input())
    print(A+B)
else:
  	print('Hello World')

N = int(input())
if N == 2:
  A = int(input())
  B = int(input())
  print(A + B)
elif N == 1:
  print('Hello World')
  

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
if n == 1:
    print('Hello world')
if n == 2:
    A = int(input())
    B = int(input())
    print(A + B)


n = int(input())
if n == 1:
    print('Hello World')
if n == 2:
    A = int(input())
    B = int(input())
    print(A + B)


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n=int(input())
if n=1:
    print("Hello World")
else:
    a=int(input())
    b=int(input())
    print(a+b)

n=int(input())
if n==1:
    print("Hello World")
else:
    a=int(input())
    b=int(input())
    print(a+b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
A = int(input())
B = int(input())

if N==1:
  print("Hello World")
else:
  print(A+B)


N = int(input())
A = int(input())
B = int(input())

if N==1:
  print("Hello World")
else:
  print(A+B)
        

N = int(input())

if N==1:
  print("Hello World")
else:
  A = int(input())
  B = int(input())
  print(A+B)


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
x = []; y = []; h = []

xmin = 0; ymin = 0; xmax = 101; ymax = 101

for i in range(n):
    xx, yy, hh = list(map(int, input().split(' ')))
    x.append(xx)
    y.append(yy)
    h.append(hh)

field = []

for i in range(n):
    if i == 0:
        for xx in range(xmin, xmax):
            f = []
            for yy in range(ymin, ymax):
                f.append(max(abs(xx - x[i]) + abs(yy - y[i]) + h[i], 0))
            field.append(f)
    
    else:
        for xx in range(xmin, xmax):
            for yy in range(ymin, ymax):
                f = max(abs(xx - x[i]) + abs(yy - y[i]) + h[i], 0)
                if field[xx][yy] != f:
                    field[xx][yy] = -1

maxx = 0; maxy = 0; maxV = 0
for xx in range(xmin, xmax):
    for yy in range(ymin, ymax):
        if maxV <= field[xx][yy]:
            maxx = xx; maxy = yy; maxV = field[xx][yy]

print(str(maxx) + " " + str(maxy) + " " + str(maxV))

old = int(input())

if old == 1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(a + b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
data = [int(input()) for i in range(3)]
N = data[0];A = data[1];B = data[2]
if N == 1:
    print("Hello World")
else:
    print(A + B)

data = [int(input()) for i in range(3)]
N = data[0]
A = data[1]
B = data[2]
if N == 1:
    print("Hello World")
else:
    print(A + B)

N = int(input())
A = int(input())
B = int(input())
if N == 1:
    print("Hello World")
elif N == 2:
    print(A + B)

N = int(input())
A = int(input())
B = int(input())
if N == 1:
    print("Hello World")
else:
    print(A + B)

N = int(input())
if N == 1:
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A + B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
ct=[]
for i in range(N):
    ct.append(list(map(int, input().strip().split(' '))))
    
tle=True
c=10000

for i in range(N):
    if ct[i][1]<=T:
        tle=False
        c=min(c,ct[i][0])
        
if tle:
    print('TLE')
else:
    print(c)

N=int(input().strip())

xyh=[]
for i in range(N):
    xi,yi,hi = map(int, input().split(' '))
    if hi>0:
        xyh.append([xi,yi,hi])

fl=False
for ny in range(101):
    for nx in range(101):
        nh=abs(xyh[0][0]-nx)+abs(xyh[0][1]-ny)+xyh[0][2]
        nh=max(nh,0)
        fl=True
        for i in range(len(xyh)):
                if nh!=max(0,abs(xyh[i][0]-nx)+abs(xyh[i][1]-ny)+xyh[i][2]):
                    fl=False
        if fl:
            ax=nx
            ay=ny
            ah=nh

print("{} {} {}".format(ax,ay,ah))


N=int(input().strip())

xyh=[]
for i in range(N):
    xi,yi,hi = map(int, input().split(' '))
    if hi>0:
        xyh.append([xi,yi,hi])

fl=False
for ny in range(101):
    for nx in range(101):
        nh=abs(xyh[0][0]-nx)+abs(xyh[0][1]-ny)+xyh[0][2]
        nh=max(nh,0)
        fl=True
        for i in range(len(xyh)):
                if nh!=max(0,abs(xyh[i][0]-nx)+abs(xyh[i][1]-ny)+xyh[i][2]):
                    fl=False
        if fl:
            ax=nx
            ay=ny
            ah=nh

print("{} {} {}".format(ax,ay,ah))


N=int(input().strip())
if N==1:
    print('Hello World')
elif N==2:
    A=int(input().strip())
    B=int(input().strip())
    print(A+B)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
a = int(input())
b = int(input())
if n == 1:
    print('Hellow World')
elif n == 2:
    print(a + b)

n = int(input())
if n == 1:
    print('Hellow World')
elif n == 2:
    a = int(input())
    b = int(input())
    print(a + b)

n = int(input())
if n == 1:
    print('Hello World')
elif n == 2:
    a = int(input())
    b = int(input())
    print(a + b)

Verdicts: Runtime Error

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n=input()
a,b=map(int,input().split())
if n=="1":
  print("Hello World")
elif n=="2":
  print(a+b)


n=int(input())
a,b=map(int,input().split())
if n=="1":
  print("Hello World")
else:
  print(a+b)


n=int(input())
if n=="1":
  print("Hello World")
else:
  a,b=map(int,input().split())
  print(a+b)


n=int(input())
a,b=map(int,input().split())
if n==1:
  print("Hello World")
else:
  print(a+b)


n=int(input())
if n=="1":
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)


n=input()
a,b=map(int,input().split())
if n=="1":
  print("Hello World")
else:
  print(a+b)

n=int(input())
if n==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
#!/usr/bin/env python3
import sys
from math import *
from itertools import *
from collections import *
from functools import *
try:
    from math import gcd
except Exception:
    from fractions import gcd
readInt = lambda: int(sys.stdin.readline())
readIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]



def main():
    n = readInt()
    result = 'Hello World'
    if n == 2
        a = readInt()
        b = readInt()
        result = a + b
    print(result)

if __name__ == '__main__':
    main()


#!/usr/bin/env python3
import sys
from math import *
from itertools import *
from collections import *
from functools import *
try:
    from math import gcd
except Exception:
    from fractions import gcd
readInt = lambda: int(sys.stdin.readline())
readIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]



def main():
    n = readInt()
    a = readInt()
    b = readInt()
    result = 'Hello World' if n == 1 else (a + b)
    print(result)

if __name__ == '__main__':
    main()


#!/usr/bin/env python3
import sys
from math import *
from itertools import *
from collections import *
from functools import *
try:
    from math import gcd
except Exception:
    from fractions import gcd
readInt = lambda: int(sys.stdin.readline())
readIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]



def main():
    n = readInt()
    result = 'Hello World'
    if n == 2:
        a = readInt()
        b = readInt()
        result = a + b
    print(result)

if __name__ == '__main__':
    main()


Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n=int(input())
a=int(input())
b=int(input())
print('Hello World' if n==1 else a+b)

n=int(input())
if n==1:
  print('Hello World')
else:
  a=int(input())
  b=int(input())
  print(a+b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
A = int(input())
B = int(input())

if N == 1:
    print('Hello World')
else:
    print(A+B)

N = int(input())

if N == 1:
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print(A+B)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
xx=int(input())
if(x==1):
  print("Hello World")
else:
  x=int(input())
  y=int(input())
  print(x+y)


x=int(input())
if(x==1):
  print("Hello World")
else:
  x=int(input())
  y=int(input())
  print(x+y)


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
a = int(input())
b = int(input())
if n == 1:
    print('Hello World')
else:
    print(a+b)


n = int(input())
if n == 1:
    print('Hello World')
else:
    a = int(input())
    b = int(input())
    print(a+b)


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
y=int(input())
if y==1:
    print("Hello world")
else:
    a,b=[int(input()) for _ in range(2)]
    print(a+b)

y=int(input())
if y==1:
    print("Hello World")
else:
    a,b=[int(input()) for _ in range(2)]
    print(a+b)

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
A = int(input())
B = int(input())

print('Hello World' if N == 1 else A+B )

N = int(input())

if N==1:
    print('Hello World')
else:
    
    A = int(input())
    B = int(input())

    print(A+B )

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N,T = map(int,input().split())
back=[]

for i in range(N):
    a,b = map(int,input().split())
    if b >= T:
        back.append(a)

if len(back) == 0:
    print('TLE')
else:
    print(min(back))

N = int(input())

if N == 1 :
    print( 'Hello World' )
else :
    A = int(input())
    B = int(input())
    print( A + B )

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N, M =map(int,input().split())
ans=1
for i in range (1,M//N):
    if M%i==0:
        if M//i>=N:
            ans=i
print(ans)

N=int(input())
if N == 1:
    print ('Hello World')
else:
    A =int(input())
    B =int(input())
    print(A+B)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
a = int(input())
b = int(input())
if n==1:
  print('Hello World')
else:
  print(a+b)

n = int(input())
if n==1:
  print('Hello World')
else:
  a = int(input())
  b = int(input())
  print(a+b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
if N == 1:
    print('Hello world')
    exit()
else:
    A = int(input())
    B = int(input())
    print(A+B)
    exit()

N = int(input())
if N == 1:
    print('Hello World')
    exit()
else:
    A = int(input())
    B = int(input())
    print(A+B)
    exit()

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
N,T=map(int,input().split())
ct=[list(map(int,input().split())) for a in range(N)]

ct=sorted(ct, key=lambda x:(x[0],x[1]))

print(ct[0])
for i in range(N):
    if ct[i][1]<=t:
        print(ct[i][0])
        break
else:
    print('TLE')

N=int(input())
if N==1:
    print('Hello World')
else:
    A=int(input())
    B=int(input())
    print(A+B)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N=int(input())
a=int(input())
b=int(input())
if N==1:
  print("Hello World")
else:
  print(A+B)

N=int(input())
if N==1:
  print("Hello World")
  exit()
a=int(input())
b=int(input())
print(a+b)


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
if n == 1:
  print("Hell World")
else:
  a = int(input())
  b = int(input())
  print(a+b)

n = int(input())
if n == 1:
  print("Hello World")
else:
  a = int(input())
  b = int(input())
  print(a+b)

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
    if N == 1:
        print("Hello World")
    elif N == 2
        a,b = int(input().split())
        print(a+b)


N = int(input())
if N == 1:
    print("Hello World)
elif N == 2
    a,b = int(input().split())
    print(a+b)


N = int(input())
    if N == 1:
        print("Hello World")
    elif N == 2
        a,b = int(input().split())
        print(a+b)



n = int(input())
    if n == 1:
        print("Hello World")
    elif n == 2:
        a = int(input())
        b = int(input())
        print(a+b)

N = int(input())
    if N == 1:
        print("Hello World")
    elif N == 2:
        a,b = int(input().split())
        print(a+b)

n = int(input())
if n == 1:
    print("Hello World")
elif n == 2:
    a = int(input())
    b = int(input())
    print(a + b)

Verdicts: Runtime Error

Runtime Error

Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
a=int(input())
b=int(input())
c=int(input())
if a==1:
  print("Hello World")
if a==2:
  print(int(b+c))

a=int(input())
b=int(input())
c=int(input())
if a==1:
  print("Hello World")
if a==2:
  print(b+c)

a=int(input())
b=int(input())
c=int(input())
if a==1:
  print("Hello World")
else:
  print(b+c)

a=int(input())
if a==1:
  print("Hello World")
if a==2:
  b=int(input())
  c=int(input())
  print(int(b+c))


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
if N == 1:
    print("Hello world")
else:
    A =int(input())
    B =int(input())
    C = A+B
    print(C)

N = int(input())
if N == 1:
    print("Hello World")
else:
    A =int(input())
    B =int(input())
    C = A+B
    print(C)

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n=int(input())
a,b=int(input()),int(input())
if n==1:print('Hello World')
else:print(a+b)

n=int(input())
if n==1:print('Hello World')
else:
  a,b=int(input()),int(input())
  print(a+b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N, A, B = map(int, input().split())
if N == "1":
    print("Hello World")
else:
    print(A+B)

N, A, B = map(int, input().split())
if N == 1:
    print("Hello World")
else:
    print(A+B)

N = int(input())
if N == 1:
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A+B)

Verdicts: Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
n=int(input())
if n==1:
  print('HELLO WORLD')
else:
  a=int(input())
  b=int(input())
  print(a+b)

n=int(input())
if n==1:
  print('Hello World')
else:
  a=int(input())
  b=int(input())
  print(a+b)


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
# 2019-11-10 20:23:41(JST)
import sys
# import collections
# import math
# from string import ascii_lowercase, ascii_uppercase, digits
# from bisect import bisect_left as bi_l, bisect_right as bi_r
# import itertools
# from functools import reduce
# import operator as op
# from scipy.misc import comb # float
# import numpy as np 

def main():
    n = int(sys.stdin.readline().rstrip())
    if n == 1:
        print(1)
        sys.exit()
    else:
        a, b = (int(x) for x in sys.stdin.read().split())
        print(a + b)


if __name__ == "__main__":
    main()


import sys

*command, = map(int, sys.stdin.read().split())
n = command[0]

def main():
    if n == 1:
        print('Hello World')
    elif n == 2:
        a = command[1]; b = command[2]
        print(a + b)

if __name__ ==  '__main__':
    main()

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
if n==1:
  	print("Hello World")
else:
  	a,b = map(int,input().split())
    print(int(a+b))


n = int(input())
if n==1:
  print("Hello World")
else:
  a = int(input())
  b = int(input())
  print(int(a+b))

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N = int(input())
A = int(input())
B = int(input())

if N == 1:
    print("Hello World")
else:
    print(A+B)

N = int(input())
if N == 1:
  print("Hello World")
else:
  A = int(input())
  B = int(input())
  print(A+B)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
if int(input()) == 1:
    print('Hello world')
else:
    a = int(input())
    b = int(input())
    print(a + b)


if int(input()) == 1:
    print('Hello World')
else:
    a = int(input())
    b = int(input())
    print(a + b)


Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
a=int(input())
if a = 1:
  print("Hello World")
elif a = 2:
  A = int(input())
  B = int(input())
  print(A+B)
  

a=int(input())
if a == 1:
  print("Hello World")
elif a == 2:
  A = int(input())
  B = int(input())
  print(A+B)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N =int(input())
if N ==1:
    print("Hello world")
elif N ==2:
    A,B =[int(input())for _ in range(2)]
    print(A+B)

N =int(input())
if N ==1:
    print("Hello World")
elif N ==2:
    A,B =[int(input())for _ in range(2)]
    print(A+B)

Verdicts: Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):
n = int(input())
if n == 1:
    print('Hello world')
else:
    print(sum([int(input()) for i in range(n)]))

print('Hello world' if input() == '1' else sum([int(input())for _ in range(2)]))


n = int(input())
if n == 1:
    print('Hello World')
else:
    print(sum([int(input()) for i in range(n)]))

Verdicts: Wrong Answer

Wrong Answer

Accepted
Problem: 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.

Submission attempts (in order):

def main():
    n = int(input())
    a = int(input())
    b = int(input())
    if n == 1:
        print('Hello World')
    else:
        print(a + b)


if __name__ == "__main__":
    main()



def main():
    n = int(input())
    if n == 1:
        print('Hello World')
    else:
        a = int(input())
        b = int(input())
        print(a + b)


if __name__ == "__main__":
    main()


Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
age = int(input());
if age == 1:
  print(1);
else:
  b, c = map(int, input().split());
  print(b + c);


i = input; 
print(eval(i() + '+' + i()) if '1' < i() else 'Hello World');

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
N, T = map(int, input().split())

l = []

for i in range(N):
    a = list(map(int, input().split()))
    if T >= a[1]:
        l.append(a[0])

print('TLE' if len(l) == 0 else min(l))

N, T = map(int, input().split())

l = []

for i in range(N):
    a = list(map(int, input().split()))
    if T >= a[1]:
        l.append(a[0])

print('TLE' if len(l) == 0 else min(l))


N, T = map(int, input().split())

l = []

for i in range(N):
    a = list(map(int, input().split()))
    if a[1] <= T:
        l.append(a[0])

print('TLE' if len(l) == 0 else min(l))


n = int(input())
if n == 1:
    print('Hello World')
else:
    a, b = [int(input()) for _ in range(2)]
    print(a+b)


Verdicts: Runtime Error

Runtime Error

Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):
route_num, limit = map(int, input().split(' '))

costs = []
spends = []
for i in range(route_num):
    cost, spend = map(int, input().split(' '))
    costs.append(cost)
    spends.append(spend)

min_cost = 2000
for cost, spend in zip(costs, spends):
    if spend <= limit and cost < min_cost:
        min_cost = cost

if min_cost == 2000:
    print("TLE")

else:
    print(min_cost)


pattern = int(input())

if pattern == 1:
    print("Hello World")
elif pattern == 2:
    a = int(input())
    b = int(input())

    print(a + b)

Verdicts: Runtime Error

Accepted
Problem: 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.

Submission attempts (in order):

N= list(map(int,input().split())) 

root_list = []
cost = 1001
for i in range(N[0]):
    root_list.append(list(map(int,input().split())))

    if root_list[i][1] > N[1]:
        if root_list[i][0] < cost:
            cost = root_list[i][0]


if cost == 1001:
    print("TLE")
else:
    print(cost)

ipnum = input()

if ipnum == "1":
    print("Hello World")
elif ipnum =="2":
    num1 = int(input())
    num2 = int(input())
    print(num1 + num2)
else:
    print("error")

Verdicts: Runtime Error

Accepted