Problem pigeonnests
User LCJLY
Submission Time 2023-01-07 15:50:50
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pigeonnests.cpp: In function ‘void dfs(long long int, long long int)’:
pigeonnests.cpp:52:19: error: no match for ‘operator[]’ (operand types are ‘bool [300005]’ and ‘std::pair<long long int, long long int>’)
52 | if(visited[it]) continue;
| ^