0_0_38788191_26807.cpp: In function 'bool bfs()':
0_0_38788191_26807.cpp:22:29: error: 'n' was not declared in this scope
22 | for(int i = 0; i <= n; i++) dis[i] = 0;
| ^
0_0_38788191_26807.cpp: In function 'void dijkstra()':
0_0_38788191_26807.cpp:72:29: error: 'n' was not declared in this scope
72 | for(int i = 0; i <= n; i++) f[i] = 0x3f3f3f3f;
| ^
|