Problem | greeting |
---|---|
User | yqiiiiiii |
Submission Time | 2025-07-01 09:49:59 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
greeting.cpp:1:1: error: ‘include’ does not name a type
1 | include <bits/stdc++.h>
| ^~~~~~~
greeting.cpp: In function ‘int main()’:
greeting.cpp:4:2: error: ‘string’ was not declared in this scope
4 | string name, input;
| ^~~~~~
greeting.cpp:5:5: error: ‘name’ was not declared in this scope
5 | name = "";
| ^~~~
greeting.cpp:7:9: error: ‘cin’ was not declared in this scope
7 | cin >> input;
| ^~~
greeting.cpp:7:16: error: ‘input’ was not declared in this scope; did you mean ‘int’?
7 | cin >> input;
| ^~~~~
| int
greeting.cpp:10:2: error: ‘cout’ was not declared in this scope
10 | cout << name + " ni hao, xin nian kuai le!";
| ^~~~