Problem network
User haydendoo
Submission Time 2023-02-20 23:18:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

network.cpp: In function ‘void dfs2(long long int, long long int, long long int)’:
network.cpp:267:15: error: too few arguments to function ‘void dfs2(long long int, long long int, long long int)’
267 | dfs2(it, idx);
| ^
network.cpp:264:6: note: declared here
264 | void dfs2(int idx, int par, int lowest) {
| ^~~~
network.cpp:271:11: error: ‘endpt’ was not declared in this scope
271 | EACH(it, endpt[idx]) {
| ^~~~~
network.cpp:61:34: note: in definition of macro ‘EACH’
61 | #define EACH(x, a) for (auto& x: a)
| ^
network.cpp: In function ‘void solve()’:
network.cpp:297:3: error: ‘endpt’ was not declared in this scope
297 | endpt[a].pb(i);
| ^~~~~
network.cpp:301:11: error: too few arguments to function ‘void dfs2(long long int, long long int, long long int)’
301 | dfs2(1,-1);
| ^
network.cpp:264:6: n