Problem | rebuild |
---|---|
User | TheRaptor |
Submission Time | 2023-11-02 19:09:58 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rebuild.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
3 | #include "rebuild.h"vector<int> adj[100005];
| ^~~~~~~~~~~~~~~~~
rebuild.cpp: In function ‘void dfs(int, int)’:
rebuild.cpp:11:12: error: ‘adj’ was not declared in this scope
11 | for(int i:adj[x]){
| ^~~
rebuild.cpp:14:4: error: ‘build_road’ was not declared in this scope
14 | build_road(x,i);
| ^~~~~~~~~~
rebuild.cpp: In function ‘bool rebuild(int, std::vector<int>, bool)’:
rebuild.cpp:21:25: error: ‘adj’ was not declared in this scope
21 | for(int i=0; i<n; i++) adj[i].clear(),v[i]=0;
| ^~~
rebuild.cpp:34:4: error: ‘adj’ was not declared in this scope
34 | adj[rd].push_back(pq.top().second);
| ^~~
rebuild.cpp:55:4: error: ‘build_road’ was not declared in this scope
55 | build_road(x.first,y.first);
| ^~~~~~~~~~
rebui