network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:21:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
21 | if(i == b)continue;
| ^~
network.cpp:22:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
22 | int x = ping(i, b);
| ^~~
network.cpp:19:14: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized]
19 | int hi;
| ^~
grader.c: In function 'int main()':
grader.c:48:11: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
48 | scanf ("%d%d%d%d", &N, &a, &b, &M);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
grader.c:51:18: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
51 | scanf("%d", &distance[u][v]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~