Problem greeting
User EuniceLoh
Submission Time 2024-11-07 09:59:55
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:6:2: error: ‘getLine’ was not declared in this scope; did you mean ‘getline’?
6 | getLine(cin, s);
| ^~~~~~~
| getline
greeting.cpp:7:47: error: expected ‘;’ before ‘return’
7 | cout <<s<<" ni hao, xin nian kuai le!"<< endl
| ^
| ;
8 | return 0
| ~~~~~~