0_0_39444497_13061.cpp: In function 'void updateDFA(int)':
0_0_39444497_13061.cpp:34:5: error: 'vector' was not declared in this scope
34 | vector<int> queue;
| ^~~~~~
0_0_39444497_13061.cpp:5:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
4 | #include<algorithm>
+++ |+#include <vector>
5 | using namespace std;
0_0_39444497_13061.cpp:34:12: error: expected primary-expression before 'int'
34 | vector<int> queue;
| ^~~
0_0_39444497_13061.cpp:37:5: error: 'queue' was not declared in this scope
37 | queue.clear();
| ^~~~~
0_0_39444497_13061.cpp:5:1: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
4 | #include<algorithm>
+++ |+#include <queue>
5 | using namespace std;
0_0_39444497_13061.cpp: In function 'bool bfs()':
0_0_39444497_13061.cpp:66:5: error: 'vector' was not declared in this scope
66 | vector<pair<int, int>> queue;
| ^~~~~~
0_0_39444497_13061.cpp:66:5: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
0_0_39444497_13061.cpp:66:25: error: expected primary-expression before '>' token
66 | vector<pair<int, int>> queue;
| ^~
0_0_39444497_13061.cpp:66:28: error: 'queue' was not declared in this scope
66 | vector<pair<int, int>> queue;
| ^~~~~
0_0_39444497_13061.cpp:66:28: note: 'std::queue' is defined in header '<queue>'; did you forget to '#include <queue>'?
|