Problem greeting
User zixin
Submission Time 2023-11-10 13:48:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:4:9: error: ‘n’ was not declared in this scope; did you mean ‘yn’?
4 | cin >> n;
| ^
| yn
greeting.cpp:5:51: error: expected ‘}’ at end of input
5 | cout << "xiao ming ni hao, xin nian kuai le!" <<n
| ^
greeting.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^