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

Compile Error

network.cpp: In function ‘void dfs2(long long int, long long int)’:
network.cpp:274:11: error: ‘endpt’ was not declared in this scope
274 | 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:300:3: error: ‘endpt’ was not declared in this scope
300 | endpt[a].pb(i);
| ^~~~~