| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 76843 | l123_123 | [在线测评解答教程] A+B Problem | C++ | Compile Error | 0 MS | 0 KB | 98 | 2024-06-03 15:25:02 |
#include <iostream> int main() { int a,b,c; cin>>a>>b; c=a+b; cout<<c; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:1: error: 'cin' was not declared in this scope
cin>>a>>b;
^
Main.cc:6:1: note: suggested alternative:
In file included from Main.cc:1:0:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:8:1: error: 'cout' was not declared in this scope
cout<