Submission #3010993
Source Code Expand
#include<bits/stdc++.h> int main() { cout<<'1'<<endl<<"1 2 3"; return 0; }
Submission Info
Submission Time | |
---|---|
Task | A - 役人 |
User | luogu_bot5 |
Language | C++ (GCC 5.4.1) |
Score | 0 |
Code Size | 93 Byte |
Status | CE |
Compile Error
./Main.cpp: In function ‘int main()’: ./Main.cpp:4:5: error: ‘cout’ was not declared in this scope cout<<'1'<<endl<<"1 2 3"; ^ ./Main.cpp:4:5: note: suggested alternative: In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:74:0, from ./Main.cpp:1: /usr/include/c++/5/iostream:61:18: note: ‘std::cout’ extern ostream cout; /// Linked to standard output ^ ./Main.cpp:4:16: error: ‘endl’ was not declared in this scope cout<<'1'<<endl<<"1 2 3"; ^ ./Main.cpp:4:16: note: suggested alternative: In file included from /usr/include/c++/5/istream:39:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:66, from ./Main.cpp:1: /usr/include/c++/5/ostream:590:5: note: ‘std::endl’ endl(basic_ostream<_CharT, _Traits>& __os) ^