Problem greeting
User Xinlan
Submission Time 2023-11-08 10:59:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:6:15: error: ‘a’ was not declared in this scope
6 | getline(cin>>a);
| ^
greeting.cpp:7:45: error: expected ‘;’ before ‘return’
7 | cout<<"Xiao Ming ni hao, xin nian kuai le!"
| ^
| ;
8 |
9 | return 0;
| ~~~~~~