network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:49:7: error: 'uesd' was not declared in this scope
uesd[k] = true;
^~~~
network.cpp:49:7: note: suggested alternative: 'used'
uesd[k] = true;
^~~~
used
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]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~