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

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:4:6: error: ‘cout’ is not a member of ‘std’
4 | std::cout<<NIANNIANYOUYU << " xin nian kuai le!";}
| ^~~~
greeting.cpp:2:1: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <string>
+++ |+#include <iostream>
2 | int main(){