Problem greeting
User asbx
Submission Time 2023-11-08 10:53:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:8:2: error: expected initializer before ‘cin’
8 | cin>> x;
| ^~~
greeting.cpp:9:9: error: ‘x’ was not declared in this scope
9 | cout <<x+" ni hao, xin nian kuai le!";
| ^