Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
104322 | 张泽一 | 01第一个C++程序 | C++ | Compile Error | 0 MS | 0 KB | 92 | 2025-01-04 20:18:34 |
#include<iostream> // cin\cout\endl int main(){ cout<<"hello,lema"; return 0; }
Main.cc: In function 'int main()': Main.cc:3:5: error: 'cout' was not declared in this scope cout<<"hello,lema"; ^ Main.cc:3:5: note: suggested alternative: In file included from Main.cc:1:0: /usr/include/c++/5/iostream:61:18: note: 'std::cout' extern ostream cout; /// Linked to standard output ^