Problem | twochoices |
---|---|
User | StewartStudios |
Submission Time | 2025-04-06 11:02:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
twochoices.cpp: In function ‘int main()’:
twochoices.cpp:11:5: error: ‘vector’ was not declared in this scope
11 | vector<string> answers;
| ^~~~~~
twochoices.cpp:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
2 | #include <math.h>
+++ |+#include <vector>
3 | // #include <bits/stdc++.h>
twochoices.cpp:11:18: error: expected primary-expression before ‘>’ token
11 | vector<string> answers;
| ^
twochoices.cpp:11:20: error: ‘answers’ was not declared in this scope
11 | vector<string> answers;
| ^~~~~~~