| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133005 | lmh | 01第一个C++程序 | C++ | Compile Error | 0 MS | 0 KB | 96 | 2025-10-13 16:56:14 |
#include<bits/stdc++.h> using namespace stdl int main (){ cout<<"hello,lema"; return 0; }
Main.cc:2:17: error: 'stdl' is not a namespace-name
using namespace stdl
^
Main.cc:3:1: error: expected namespace-name before 'int'
int main (){
^
Main.cc:3:1: error: expected ';' before 'int'
Main.cc: In function 'int main()':
Main.cc:4:2: error: 'cout' was not declared in this scope
cout<<"hello,lema";
^
Main.cc:4:2: 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:61:18: note: 'std::cout'
extern ostream cout; /// Linked to standard output
^