Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
87199 赵晨宇 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 84 2024-08-06 18:22:40

Tests(0/0):


Code:

a=int(input('输入一个整数')) b=int(input('输入一个整数')) print('a+b')


Run Info:

Main.cc:1:13: warning: character constant too long for its type
 a=int(input('输入一个整数'))
             ^
Main.cc:2:13: warning: character constant too long for its type
 b=int(input('输入一个整数'))
             ^
Main.cc:3:7: warning: multi-character character constant [-Wmultichar]
 print('a+b')
       ^
Main.cc:1:1: error: 'a' does not name a type
 a=int(input('输入一个整数'))
 ^