Problem | segmenttree2 |
---|---|
User | ATHY |
Submission Time | 2025-02-22 07:45:15 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
segmenttree2.cpp: In function ‘void dfs(int, std::vector<bool>&)’:
segmenttree2.cpp:285:31: error: ‘adj’ was not declared in this scope
285 | for (auto [neighbor, _] : adj[node]) {
| ^~~
segmenttree2.cpp: In function ‘void bfs(int, std::vector<bool>&)’:
segmenttree2.cpp:299:35: error: ‘adj’ was not declared in this scope
299 | for (auto [neighbor, _] : adj[node]) {
| ^~~
segmenttree2.cpp: In function ‘std::vector<long int> dijkstra(int, int)’:
segmenttree2.cpp:313:24: error: ‘INF’ was not declared in this scope
313 | vector<ll> dist(n, INF);
| ^~~