network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:23:15: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
23 | if(i == b)continue;
| ^~
network.cpp:24:11: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
24 | int x = ping(i, b);
| ^~~
network.cpp:21:14: warning: 'hi' may be used uninitialized in this function [-Wmaybe-uninitialized]
21 | 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]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~