0_0_39536168_11837.cpp: In function 'void solve()':
0_0_39536168_11837.cpp:44:5: error: 'vector' was not declared in this scope
44 | vector<bool>st(P[k]);
| ^~~~~~
0_0_39536168_11837.cpp:5:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
4 | #include <map>
+++ |+#include <vector>
5 |
0_0_39536168_11837.cpp:44:12: error: expected primary-expression before 'bool'
44 | vector<bool>st(P[k]);
| ^~~~
0_0_39536168_11837.cpp:45:12: error: expected primary-expression before 'int'
45 | vector<int> f(P[k]);
| ^~~
0_0_39536168_11837.cpp:46:12: error: expected primary-expression before 'int'
46 | vector<int> state;
| ^~~
0_0_39536168_11837.cpp:48:5: error: 'st' was not declared in this scope; did you mean 'std'?
48 | st[0] = true, f[0] = 1, state.push_back(0);
| ^~
| std
0_0_39536168_11837.cpp:48:19: error: 'f' was not declared in this scope
48 | st[0] = true, f[0] = 1, state.push_back(0);
| ^
0_0_39536168_11837.cpp:48:29: error: 'state' was not declared in this scope; did you mean 'stat'?
48 | st[0] = true, f[0] = 1, state.push_back(0);
| ^~~~~
| stat
|