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')
  exit()
else if n == 2:
  a = int(input())
  b = int(input())
  print(a+b)

n = int(input())

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

n = int(input())

if n == 1:
  print('Hello World')
  exit()
elif n == 2:
  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())
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")
elif n == 2:
    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())
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())
print("Hello World" if n==1 else 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())
if n == 1:
  print("Hello World")
else:
  a = int(input())
  b = int(input())
  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())
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)

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())
p = []
for i in range(N):
    X1, Y1, H1 = map(int, input().split())
    if H1 != 0:
        p.append([X1, Y1, H1])

if len(p) == 1:
    print(p[0][0], p[0][1], p[0][2])
    exit()


for i in range(101):
    for j in range(101):
        h = -1
        fg = True
        for t in p:
            if h == -1:
                h = t[2] + abs(i - t[0]) + abs(j - t[1])

            else:
                ht = t[2] + abs(i - t[0]) + abs(j - t[1])
                if h == ht:
                    h = ht
                else:
                    fg = False
                    break
        if fg:
            print(i, j, h)
      


N = int(input())

if N == 1:
    a = "Hello World"
    print(a)

if N == 2:
    A = int(input())
    B = int(input())
    C = A+B
    print(C)

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):
print("Hello World" if print() == "1" else (int(input()) + int(input())))

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


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("Hello Wolrd")
else:
    a=input()
    b=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 = 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):
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")
else:
     b=int(input())
     c=int(input())
     print(b+c)

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):
def pyramid(N: int, info: list) -> tuple:
    """
    """
    _info = sorted(info, key=lambda x: x[2], reverse=True)
    x, y, h = _info[0]
    candidtes = [
        (cx, cy, h + abs(cx - x) + abs(cy - y))
        for cx in range(100+1)
        for cy in range(100+1)]

    for x, y, h in _info[1:]:
        temp = []
        for cx, cy, H in candidtes:
            th = max(H - abs(cx - x)-abs(cy - y), 0)
            if th == h:
                temp.append((cx, cy, H))

        candidtes = temp

    return candidtes[0]

if __name__ == "__main__":
    N = int(input())
    info = [
        tuple(int(s) for s in input().split())
        for _ in range(N)]
    cx, cy, h = pyramid(N, info)
    print(cx, cy, h)


def programming_education(N: int) -> str:
    if N == 1:
        return 'Hello World'

    A = int(input())
    B = int(input())
    return str(A + B)


if __name__ == "__main__":
    N = int(input())
    ans = programming_education(N)
    print(ans)


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())
a=input()
b=input()

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


n=int(input())

 
if n==1 :
    print("Hello World")
else :
    a=input()
    b=input()
    print(int(a)+int(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)
else:
    AB = int(input()) for _ in range(2):
    print(sum(AB))


N = int(input())

if N == 1:
    print('Hello World')
else:
    AB = [int(input()) for _ in range(2)]
    print(sum(AB))

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 input() == '1':
  print('Hwllo World')
else:
  print(int(input())+int(input()))

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

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())
if N == 1:
    print('Hello World')
else:
    print(A+B)

N, A, B, = map(int, [int(input()) for _ in range(3)])
if N == 1:
    print('Hello World')
else:
    print(A+B)

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

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):
import math
N, M = map(int,input().split())
j=1
for i in range(1, int(math.sqrt(M))+2):
    if M%i==0:
        if i <= M//N and j < i:
            j=i
        if M/i <= M//N and j < M/i:
            j=M/i
print(j)


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('Helo World')
else:
	x=list(int(input()) for _ in range(2))
	print(x[0]+x[1])

n=int(input())

if n==1:
	print('Hello World')
else:
	x=list(int(input()) for _ in range(2))
	print(x[0]+x[1])


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())
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):
N = int(input())
L = [input().split() for i in range(N)]
answer = 0
center = []

for i in range(101):
  for j in range(101):
    List = []
    for l in L:
      if int(l[2]) != 0:
        List.append(int(l[2]) + abs(int(l[0]) - i) + abs(int(l[1]) - j))
      #else:
        #List.append(0)
    if len(list(set(List))) == 1:
      answer = List[0]
      center.append(i)
      center.append(j)

print(center[0], center[1], answer)

N = int(input())

if N == 1:
  print('Hello World')
if N == 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())
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')

elif N==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())
lis=[]
for i in range(101):
    for j in range(101):
        lis.append([i,j])
l2=[]
for i in range(N):
    l2.append(list(map(int, input().split())))
for i in lis:
    n=N
    l=0
    for j in l2:
        k=abs(i[0]-j[0])+abs(i[1]-j[1])+j[2]
        if l==k or l==0:
            l=k
            n-=1
            if n==0:
                m=(i[0],i[1],l)
        else: break
    try:
        print('{} {} {}'.format(m[0],m[1],m[2]))
        break
    except NameError:
        continue

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

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):
str=input().split(' ')
a=[]
b=[]
c=[]
for i in range(2): a.append(int(str[i]))
for i in range(a[0]): b.append(input().split(' '))
for i in range(a[0]):
  for j in range(2):
    c.append(int(b[i][j]))
d=[]
e=[]
for i in range(a[0]):
  if(a[1]>=c[i*2-1]):
    d.append(c[i*2-2])
    e.append(c[i*2-1])
if(len(d)==0): print('TLE')
else: 
  num=min(d)
  print(num)

str=input().split(' ')
a=[]
b=[]
c=[]
for i in range(2): a.append(int(str[i]))
for i in range(a[0]): b.append(input().split(' '))
for i in range(a[0]):
  for j in range(2):
    c.append(int(b[i][j]))
d=[]
e=[]
for i in range(a[0]):
  if(a[1]>=c[i*2-1]):
    d.append(c[i*2-2])
    e.append(c[i*2-1])
if(len(d)==0): print('TLE')
else: 
  num=min(d)
  print(num)

str=input().split(' ')
a=[]
b=[]
c=[]
for i in range(2): a.append(int(str[i]))
for i in range(a[0]): b.append(input().split(' '))
for i in range(a[0]):
  for j in range(2):
    c.append(int(b[i][j]))
d=[]
e=[]
for i in range(a[0]):
  if(a[1]>=c[i*2-1]):
    d.append(c[i*2-2])
    e.append(c[i*2-1])
if(len(d)==0): print('TLE')
else: 
  num=min(d)
  print(num)

age=int(input())
if(age==1): print('Hello World')
if(age==2): A=int(input())
if(age==2): B=int(input())
if(age==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):
a = [int(input()) for i in range(3)]

if a[0] == 2:
  print(a[1] + a[2])
  
else:
  print('Hello World')

a = [int(input()) for i in range(3)]

if a[0] == 2:
  print(a[1] + a[2])
  
elif a[0] == 1:
  print('Hello World')


a = [int(input()) for i in range(3)]

N = a[0]
A = a[1]
B = a[2]

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

N = int(input())

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


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=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())
if N == 1:
  print("Hallo World")
else:
  list = []
  for _ in range(N)
  list.append(int(input()))
  A,B = list
  print(A+B)
    
    

#! /usr/bin/env python3
# -*- coding: utf-8 -*-
N = int(input())
if N == 1:
    print('Hallo World')
else:
    A,B = [int(input()),int(input())]
    print(A +B)


N = int(input())
if N == 1:
  print("Hallo World")
  else:
    list = []
    for _ in range(N):
      list.append(int(input()))
    A,B = list
    print(A+B)
    
    

N = int(input())
if N == 1:
  print("Hallo World")
  else:
    A, B = [int(x) for x in input()]
    print(A+B)
    
    

N = int(input())
if N == 1:
  print("Hallo World")
  else:
    print(int(input()) + int(input()))
    
    

#! /usr/bin/env python3
# -*- coding: utf-8 -*-
N = int(input())
if N == 1:
    print('Hello World')
else:
    A,B = [int(input()),int(input())]
    print(A +B)


Verdicts: Runtime Error

Wrong Answer

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 = input()
if n = 1:
    print("Helllo World")
else:
    a, b = map(int, input().split())
    print(a + b)

n = input()
if n == 1:
    print("Hello World")
else:
    a, b = map(int, input().split())
    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())
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")
  
elif N == 2:
  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

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('Helo 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):
#include <bits/stdc++.h>
using namespace std;
int main(void){
  int n;
  cin>>n;
  int a,b;
  if (n==1) cout<<"Hello World";
  else{
    cin>>a;
    cin>>b;
    cout<<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):
# coding: utf-8
import math

N, M = [int(s) for s in input().strip().split()]

if N == 1:
    print(M)
    exit()

ROOT_M = int(math.sqrt(M))
divisors = []
for d in range(1, ROOT_M+1):
    if M % d == 0:
        divisors.append(d)
        divisors.append(M//d)

divisors.sort()
MAX_VAL = int(M/N)
for d in divisors:
    if d > MAX_VAL:
        break
    max_gcd = d

print(max_gcd)


# coding: utf-8

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

input_tuples = []
selected_tuple = None

for _ in range(N):
    x, y, h = [int(s) for s in input().strip().split()]
    if selected_tuple is None and h > 0:
        selected_tuple = ((x, y, h))
    else:
        input_tuples.append((x, y, h))

for cx in range(0, 101):
    for cy in range(0, 101):
        H = selected_tuple[2] + \
            abs(selected_tuple[0] - cx) + abs(selected_tuple[1] - cy)

        for x, y, h in input_tuples:
            if h != max(H - abs(x - cx) - abs(y - cy), 0):
                break
        else:
            break
        continue
    else:
        continue
    break

print("{} {} {}".format(cx, cy, H))


# coding: utf-8

def main():
    N = int(input().strip())

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


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())

if n==1:
  print('Hello World')
elif n==2:
  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

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 math

n,m = map(int,input().split())
m_div = []
for i in range(1,math.ceil(math.sqrt(m)+1)):
  if m%i ==0:
    m_div.extend([i,m//i])
m_div = list(set(m_div))
m_div.sort(reverse = True)
for div in m_div:
  if div >= n:
    ans = m//div
  else:
    break
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())
print("Hello World" if n==1 else int(input())+int(input())


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


n=int(input())

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

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):
if input()="1":
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)
  

if input()=="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 Wrold")
    exit()
else:
    a = int(input())
    b = int(input())
    print(a+b)

n = int(input())

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

n = int(input())

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

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):
from sys import stdin
a = stdin.readline().rstrip() 

if a[0] == 1:
    print('Hello World')
else:
    print(sum(a[1:]))

import sys
a = sys.stdin.readlines()

if a[0] == 1:
    print('Hello World')
else:
    print(sum(a[1:]))

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

N = int(input())

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

Verdicts: Wrong Answer

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:
    print(int(input()) + int(input()))

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

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())

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")
    exit()
else:
    print(a + b)
    exit()

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

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())
if N == 1:
  print('Hello World')
elif N == 2:
  S = A + B
  print(S)

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

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 = input()
A = input()
B = input()

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


N = input()

if N == "1":
    print("Hello World")
else:
    A = input()
    B = input()
    print(str(int(A) + int(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 = input()
 
if N == 1:
  print('Hello World')
else:
  A = int(input())
  B = int(input())
  print(A + B)

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

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

N = input()
if 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

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=[int(input()), for i in range(2)]
  print(a+b)
  

n=int(input())
xyh=[list(map(int,input().split())) for _ in range(n)]
xyh=sorted(xyh, key=lambda x:x[2], reverse=True)

for xi in range(101):
    for yi in range(101):
        hi=0
        flag=True
        for i in range(n):
            x=xyh[i][0]
            y=xyh[i][1]
            h=xyh[i][2]
            if i==0:
                hi=abs(xi-x)+abs(yi-y)+h
            if max(hi-abs(xi-x)-abs(yi-y),0)!=h:
                flag=False
        if flag:
            print(xi, yi, hi)
            break
    else:
        continue
    break

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

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=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=int(input())
    b=int(input())
    print(a+b)

Verdicts: Wrong Answer

Accepted