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]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~
/tmp/cch4b8KI.o: In function `findRoute(long long, long long, long long)':
network.cpp:(.text+0x30): undefined reference to `ping(long long, long long)'
network.cpp:(.text+0xbf): undefined reference to `ping(long long, long long)'
network.cpp:(.text+0x144): undefined reference to `ping(long long, long long)'
network.cpp:(.text+0x154): undefined reference to `travelTo(long long)'
network.cpp:(.text+0x166): undefined reference to `travelTo(long long)'
/tmp/ccL0yJJC.o: In function `main':
grader.c:(.text.startup+0xc5): undefined reference to `findRoute(int, int, int)'
collect2: error: ld returned 1 exit status