0_0_39165873_13178.cpp: In function 'void bfs(int)':
0_0_39165873_13178.cpp:47:21: error: 'n' was not declared in this scope
47 | for(i = 0; i <= n - 1; i++)
| ^
0_0_39165873_13178.cpp:58:9: error: 'cnt' was not declared in this scope; did you mean 'int'?
58 | cnt++;
| ^~~
| int
0_0_39165873_13178.cpp:69:8: error: 'cnt' was not declared in this scope; did you mean 'int'?
69 | if(cnt != sum)
| ^~~
| int
|