| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 69417 | Eren7 | [在线测评解答教程] A+B Problem | C++ | Compile Error | 0 MS | 0 KB | 163 | 2024-04-03 21:48:15 |
include <iostream> using namespace std; int main (){ int a,b; cin >> a; cin >> b; int c; c = a+b; cout << c << endl; return 0; }
Main.cc:1:1: error: 'include' does not name a type
include
^
Main.cc: In function 'int main()':
Main.cc:5:5: error: 'cin' was not declared in this scope
cin >> a;
^
Main.cc:9:5: error: 'cout' was not declared in this scope
cout << c << endl;
^
Main.cc:9:18: error: 'endl' was not declared in this scope
cout << c << endl;
^