| Problem | decayedbridges |
|---|---|
| User | maomao |
| Submission Time | 2025-10-25 09:11:47 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
decayedbridges.cpp: In function ‘int main()’:
decayedbridges.cpp:58:25: error: invalid initialization of reference of type ‘bool (&)[]’ from expression of type ‘bool [100005]’
58 | if(!vst[j]) dfs(j,vst);
| ^~~
decayedbridges.cpp:17:24: note: in passing argument 2 of ‘void dfs(long long int, bool (&)[])’
17 | void dfs(int s, bool (&vst)[]) {
| ~~~~~~~^~~~~~