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):
N=int(input())
if   (N==1):
            print('Hello world')
            
if   (N==2):
    A=int(input())
    B=int(input())
    if((A>=1)&(A<=9)):
        if((B>=1)&(B<=9)):
            print(A+B)

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



N=int(input())
if   (N==1):
            print('Hello word')
            
if   (N==2):
    A=int(input())
    B=int(input())
    if((A>=1)&(A<=9)):
        if((B>=1)&(B<=9)):
            print(A+B)

N=input()
if   (N=='1'):
            print('Hello word')
            
if   (N=='2'):
    A=input()
    B=input()
            print(A+B)

N=int(input())
if   (N==1):
            print('Hello World')
            
if   (N==2):
    A=int(input())
    B=int(input())
    if((A>=1)&(A<=9)):
        if((B>=1)&(B<=9)):
            print(A+B)

Verdicts: Wrong Answer

Wrong Answer

Wrong Answer

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())
print('Hellow World' if a == 1 else b + c)

a = int(input())
b = int(input())
c = int(input())
print('Hellow World' if a == 1 else b + c)

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

if n == 1:
    print("Hello Workd")
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())
list1=[]
for i in range(N):
  x1=list(map(int,input().split()))
  list1.append(x1)
flag=0
for i in range(101):
  for j in range(101):
    list2=[]
    for k in range(N):
      Hx=list1[k][2]+abs(list1[k][0]-i)+abs(list1[k][1]-j)
      list2.append(Hx)
    if len(set(list2))==1:
      list3=[0]
      for l in range(N):
         d=Hx-abs(list1[l][0]-i)-abs(list1[l][1]-j)
         list3.append(d)
      if min(list3)>=0:
         print(i,j,Hx)
         flag=1
      else:
        pass
    else:
      pass
    if flag==1:
      break
  if flag==1:
    break

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=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:
    AB = [int(input()) for i in range(2)]
    print(sum(AB))

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

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):
import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
n=int(input())

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

import sys

if sys.platform =='ios':
    sys.stdin=open('input_file.txt')
    
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):
print("Hello World!" if input()=='1' else int(input())+int(input()))

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

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

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

Verdicts: Wrong Answer

Wrong Answer

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 world")
elif age == 2:
  A = input()
  B = input()
  print(A+B)

age = int(input())

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


if 1 == int(input()):
    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 = 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())
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)

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

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):
def main():
  N = map(int, input())
  if N == 1:
    print('Hello World')
  elif N == 2:
    A = map(int, input())
    B = map(int, input())
    print(A + B)


main()

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


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')
elif N == 2:
 {
   A = int(input())
   B = int(input())
   print(A+B)
 }
else:
  pass


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


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):
Hello World

n = 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 sys

a = int(sys.stdin.readline().strip())
b = int(sys.stdin.readline().strip())
c = int(sys.stdin.readline().strip())

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

import sys
a = int(sys.stdin.readline().strip())
b = int(sys.stdin.readline().strip())
c = int(sys.stdin.readline().strip())

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

import sys

a = int(sys.stdin.readline().strip())
if a == 1:
    print("Hello World")
else:
    b = int(sys.stdin.readline().strip())
    c = int(sys.stdin.readline().strip())
    print(b + c)

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: 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("Enter 1 or 2: "))
if N == 1:
    print("Hello World")
elif N == 2:
    A=int(input("Enter an integer(1-9): "))
    B=int(input("Enter an integer(1-9): "))
    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
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 = 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
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 = list(map(int, input().split()))
max = 10000
for i in range(N):
    c,t = list(map(int, input().split()))
    if t <= T and c < max:
        max = c
if max == 10000:
    print("TLE")
else:
    print(max)

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

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

hints = []
for i in range(n):
    x, y, h = map(int, input().split())
    hints.append([x, y, h])

def height(center , point):
    if point[2] == 0:
        return 0
    else:
        return point[2] + abs(point[0] - center[0]) + abs(point[1] - center[1])

for i in range(101):
    for j in range(101):
        cent = [i, j]
        hmax = height(cent, hints[0])
        k = 1
        while ((k < n) and (hmax == height(cent, hints[k]) or height(cent, hints[k]) == 0 or hmax == 0)):
            if (hmax == 0 and height(cent, hints[k]) != 0):
                hmax = height(cent, hints[k])
            k += 1
        #print(cent)
        #print(k)
        #print (hmax)
        if k == n:
            break
        else:
            continue
    if k == n:
        break

print("{} {} {}".format(cent[0], cent[1], hmax))

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):
""" AtCoder """

import sys
input = sys.stdin.readline

N = input()

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


""" AtCoder """

import sys
input = sys.stdin.readline

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

N = int(input())
b = int(input())
c = int(input())
if N == 1:
  print("Hello World")
elif N == ":
  print(b+c)

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

print('Hello World' if n == 1)

if n == 2:
    for _ in range():
        a, b = int(input())

    print(a+b)

n = int(input)

print('Hello World' if n == 1)

if n == 2:
    for _ in range(2):
        a = [int(input())]

    print(a[0]+a[1])

n = int(input())

print('Hello World' if n == 1)

if n == 2:
    for _ in range(2):
        a = [int(input())]

    print(sum(a))

n = int(input())

print('Hello World' if n == 1)

if n == 2:
    a = [int(input()) for _ in range(2)]

    print(sum(a))

n = int(input())

if n == 1:
    print('Hello World')

if n == 2:
    a = [int(input()) for _ in range(2)]

    print(sum(a))

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):
n = int(input())

if n == 1:
    print("Hello, World")
else:
    print(sum([int(input()), int(input())]))


n = int(input())

if n == 1:
    print("Hello World")
else:
    print(sum([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())

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

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



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



N=int(input())

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

Wrong Answer

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










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:
	l = []
	for i in range(n):
		l.append(int(input()))

	print(l[0]+l[1])

n = int(input())

if n == 1:
	print("Hello world")
	exit()

l = []
for i in range(n):
	l.append(int(input()))

print(l[0]+l[1])

n = int(input())

if n == 1:
	print("Hello World")
	exit()
else:
	l = []
	for i in range(2):
		l.append(int(input()))

	print(l[0]+l[1])

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):
a = int(input())
kazu = [int(input()) for _ in range(1)]
if a == 1:
  print("Hello World")
else:
  print(sum(kazu))


a = int(input())
kazu = [int(input()) for _ in range(2)]
if a == 1:
  print("Hello World")
else:
  print(sum(kazu))

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

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

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

o=int(input())
if o==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 math

[N, M] = list(map(int, input().split()))
num = math.ceil(M / N)
if N > 1:
    num = min(num, int(math.sqrt(M+1)))
for i in range(num+1)[::-1]:
    if M % i == 0:
        print(i)
        break

import math

[N, M] = list(map(int, input().split()))
num = math.ceil(M / N)
if N ==1:
    print(M)
for i in range(num+1)[::-1]:
    if M % i == 0:
        print(i)
        break

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())
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 Wrold ")
elif n==2:
    a=int(input())
    b=int(input())
    print(a+b)

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

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

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

Wrong Answer

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):
L = []
N = L.append(int(input))
if len(N) == 1:
  print("Hello world")
  
else:
  print(N[2]+N[3])

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")
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
N = int(input())
data = np.zeros((N,3))
for i in range(N):
    data[i] = np.array(input().split())

for n in range(10201):
    C_x = n // 101
    C_y = n % 101
    correctflg = True
    unsetflg = True
    for i,(x,y,h) in enumerate(data):
        if unsetflg:
            if h >= 1:
                H = abs(x-C_x)+abs(y-C_y)+h
                unsetflg = False
        else:
            if h >= 1 and H != abs(x-C_x)+abs(y-C_y)+h:
                correctflg = False
                break 
    if correctflg:
        print(C_x,C_y,int(H))
        break
    
            
            


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

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

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


y=int(input())

if y==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):
if input()='1':
    print(Hello World)
else input()=='2':
    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)

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

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

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 = in(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

Accepted