Problem greeting
User noob41
Submission Time 2023-11-08 09:13:42
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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