Problem greeting
User cobnet
Submission Time 2024-02-28 16:55:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:5:1: error: ‘cout’ was not declared in this scope; did you mean ‘std::cout’?
5 | cout<<NIANNIANYOUYU << " xin nian kuai le!";}
| ^~~~
| std::cout
In file included from greeting.cpp:2:
/usr/include/c++/9/iostream:61:18: note: ‘std::cout’ declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~