Problem | greeting |
---|---|
User | cjcube |
Submission Time | 2023-11-09 14:11:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
greeting.cpp:1:2: error: invalid preprocessing directive #includes; did you mean #include?
1 | #includes <bits/stdc++.h>
| ^~~~~~~~
| include
greeting.cpp: In function ‘int main()’:
greeting.cpp:5:2: error: ‘string’ was not declared in this scope
5 | string S;
| ^~~~~~
greeting.cpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?
+++ |+#include <string>
1 | #includes <bits/stdc++.h>
greeting.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin >> S;
| ^~~
greeting.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #includes <bits/stdc++.h>
greeting.cpp:6:9: error: ‘S’ was not declared in this scope
6 | cin >> S;
| ^
greeting.cpp:7:2: error: ‘cout’ was not