Problem greeting
User ShShSh
Submission Time 2025-02-18 08:39:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:5:2: error: expected ‘,’ or ‘;’ before ‘cin’
5 | cin << s;
| ^~~
greeting.cpp:6:10: error: ‘s’ was not declared in this scope
6 | cout >> s,"ni hao, xin nian kuai le!"
| ^
greeting.cpp:7:9: error: expected ‘}’ at end of input
7 | return 0;
| ^
greeting.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^