network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:7:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(N==b)continue;
^~
network.cpp:8:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
d[N]=ping(N,b);
^
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]
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]
scanf("%d", &distance[u][v]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~