Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
98403 罗睿妍 02简单两数相加 C++ Compile Error 0 MS 0 KB 150 2024-11-21 19:30:23

Tests(0/0):


Code:

#include <iostream> using namespace std; int main() { int,b; cin>>a>>b; cout<<a+b<<endl; retern 0 }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:8: error: expected unqualified-id before ',' token
     int,b;
        ^
Main.cc:6:10: error: 'a' was not declared in this scope
     cin>>a>>b;
          ^
Main.cc:8:5: error: 'retern' was not declared in this scope
     retern 0
     ^