network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:9:13: error: 'ping' was not declared in this scope
9 | int c = ping(a, b); dist[c].push_back(b);
| ^~~~
network.cpp:19:17: error: 'travelTo' was not declared in this scope
19 | travelTo(nxt); prev = nxt;
| ^~~~~~~~
network.cpp:24:5: error: 'travelTo' was not declared in this scope
24 | travelTo(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]
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]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~