Problem | lvm |
---|---|
User | jaylchicken |
Submission Time | 2024-07-20 08:57:02 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lvm.cpp: In function ‘int main()’:
lvm.cpp:8:5: error: ‘vector’ was not declared in this scope
8 | vector<pair<string, integer>> instructions;
| ^~~~~~
lvm.cpp:3:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
2 | #include <stack>
+++ |+#include <vector>
3 | using namespace std;
lvm.cpp:8:25: error: ‘integer’ was not declared in this scope
8 | vector<pair<string, integer>> instructions;
| ^~~~~~~
lvm.cpp:8:25: error: template argument 2 is invalid
lvm.cpp:8:35: error: ‘instructions’ was not declared in this scope
8 | vector<pair<string, integer>> instructions;
| ^~~~~~~~~~~~