Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
71465 杜奕辰 求和 C++ Compile Error 0 MS 0 KB 123 2024-04-24 18:54:36

Tests(0/0):


Code:

#include<iostream> using namespace std; int main() { int a,b; a=123 b=456; cout<<"sum is"a+b; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:8: error: expected ';' before 'b'
  a=123 b=456;
        ^
Main.cc:6:11: error: unable to find string literal operator 'operator""a' with 'const char [7]', 'long unsigned int' arguments
     cout<<"sum is"a+b;
           ^