Problem conlang
User YEethui
Submission Time 2023-11-20 07:42:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conlang.cpp: In function ‘int main()’:
conlang.cpp:9:5: error: ‘vector’ was not declared in this scope
9 | vector<string> sentence;
| ^~~~~~
conlang.cpp:4:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
3 | #include <set>
+++ |+#include <vector>
4 | using namespace std;
conlang.cpp:9:18: error: expected primary-expression before ‘>’ token
9 | vector<string> sentence;
| ^
conlang.cpp:9:20: error: ‘sentence’ was not declared in this scope; did you mean ‘setenv’?
9 | vector<string> sentence;
| ^~~~~~~~
| setenv