Problem | greeting |
---|---|
User | rubyred |
Submission Time | 2024-03-25 14:14:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
greeting.cpp: In function ‘int main()’:
greeting.cpp:5:2: error: ‘vector’ was not declared in this scope
5 | vector <string> s;
| ^~~~~~
greeting.cpp:2:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
1 | #include <iostream>
+++ |+#include <vector>
2 | using namespace std;
greeting.cpp:5:16: error: expected primary-expression before ‘>’ token
5 | vector <string> s;
| ^
greeting.cpp:5:18: error: ‘s’ was not declared in this scope
5 | vector <string> s;
| ^