Problem monsters
User YEethui
Submission Time 2023-12-05 14:30:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

monsters.cpp: In function ‘int main()’:
monsters.cpp:26:9: error: ‘vector’ was not declared in this scope
26 | vector<int> possibles;
| ^~~~~~
monsters.cpp:5:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
4 | #include <deque>
+++ |+#include <vector>
5 | #define int long long
monsters.cpp:5:13: error: expected primary-expression before ‘long’
5 | #define int long long
| ^~~~
monsters.cpp:26:16: note: in expansion of macro ‘int’
26 | vector<int> possibles;
| ^~~
monsters.cpp:27:65: error: ‘possibles’ was not declared in this scope
27 | for(int i = 0; i < ranges.size(); i++) if(ranges[i][0]) possibles.push_back(i);
| ^~~~~~~~~
monsters.cpp:29:28: error: ‘possibles’ was not declared in t