Submission #3421232


Source Code Expand

#coding: utf-8

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

Submission Info

Submission Time
Task A - Programming Education
User tabae326
Language C++14 (GCC 5.4.1)
Score 0
Code Size 124 Byte
Status CE

Compile Error

./Main.cpp:1:2: error: invalid preprocessing directive #coding
 #coding: utf-8
  ^
./Main.cpp:4:8: warning: character constant too long for its type
  print 'Hello World'
        ^
./Main.cpp:3:1: error: expected unqualified-id before ‘if’
 if int(input()) == 1:
 ^