network.cpp: In function 'void solve(int, int, int, int)':
network.cpp:25:5: error: 'travelTo' was not declared in this scope
travelTo(b);
^~~~~~~~
network.cpp:30:14: error: 'ping' was not declared in this scope
int d1 = ping(a, k);
^~~~
network.cpp:30:14: note: suggested alternative: 'pill'
int d1 = ping(a, k);
^~~~
pill
network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:44:12: error: 'ping' was not declared in this scope
int dd = ping(a, b);
^~~~
network.cpp:44:12: note: suggested alternative: 'pill'
int dd = ping(a, b);
^~~~
pill
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]);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~