Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132358 姚清元 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 119 2025-10-08 09:26:39

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:5: error: expected initializer before 'cin'
     cin>>a>>b;
     ^
Main.cc:6:13: error: 'b' was not declared in this scope
     cout<