Problem network
User haydendoo
Submission Time 2023-02-21 09:09:46
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:272:32: error: no match for ‘operator[]’ (operand types are ‘bool [200001]’ and ‘const std::pair<long long int, long long int>’)
272 | EACH(it2, store[it]) if(!done[it2]) store[idx].insert(it2);
| ^
network.cpp:281:8: error: no match for ‘operator[]’ (operand types are ‘bool [200001]’ and ‘const std::pair<long long int, long long int>’)
281 | done[it] = 1;
| ^