Problem greeting
User xragon
Submission Time 2026-01-20 13:32:46
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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