Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
61372 a1234 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 111 2023-12-03 20:44:00

Tests(0/0):


Code:

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


Run Info:

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