| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 143057 | 李昊阳 | A+B 输入输出练习I | C++ | Compile Error | 0 MS | 0 KB | 113 | 2026-01-11 18:42:02 |
#include <bits/stdc++.h> int main(){ int a,b,c,d; cin>>a>>b>>c>>d; cout<<a+b<<c+d; return 0; }
Main.cc: In function 'int main()':
Main.cc:4:5: error: 'cin' was not declared in this scope
cin>>a>>b>>c>>d;
^
Main.cc:4:5: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0,
from Main.cc:1:
/usr/include/c++/5/iostream:60:18: note: 'std::cin'
extern istream cin; /// Linked to standard input
^
Main.cc:5:5: error: 'cout' was not declared in this scope
cout<