Problem greeting
User Zihan1304
Submission Time 2024-11-09 20:14:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:5:19: error: expected primary-expression before ‘s’
5 | cin >> string s;
| ^
greeting.cpp:6:13: error: ‘s’ was not declared in this scope
6 | cout << s << " ni hao, xin nian juai le";
| ^