Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
129827 赵乐骏 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 102 2025-09-06 16:48:11

Tests(0/0):


Code:

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


Run Info:

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