Problem greeting
User JJYZZ
Submission Time 2025-01-07 12:22:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin >> name;
| ^~~
greeting.cpp:3:9: error: ‘name’ was not declared in this scope
3 | cin >> name;
| ^~~~
greeting.cpp:4:2: error: ‘cout’ was not declared in this scope
4 | cout << "name ni hao, xin nian kuai le!";
| ^~~~