Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
85420 张博雯 [在线测评解答教程] A+B Problem C++ Compile Error 0 MS 0 KB 120 2024-07-17 15:02:45

Tests(0/0):


Code:

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


Run Info:

Main.cc:1:1: error: 'include' does not name a type
 include ;
 ^
Main.cc: In function 'int main()':
Main.cc:6:5: error: 'cin' was not declared in this scope
     cin>>a>>b;
     ^
Main.cc:7:5: error: 'cout' was not declared in this scope
     cout<