Problem greeting
User Andrew
Submission Time 2024-11-14 18:18:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

greeting.cpp: In function ‘int main()’:
greeting.cpp:3:5: error: ‘string’ was not declared in this scope; did you mean ‘stdin’?
3 | string S;
| ^~~~~~
| stdin
greeting.cpp:4:18: error: ‘S’ was not declared in this scope
4 | scanf("%s", &S);
| ^