network.cpp: In function ‘void findRoute(int, int, int)’:
network.cpp:11:18: error: ‘ping’ was not declared in this scope
d[i]=ping(i,b)+1;
^
network.cpp:17:18: error: ‘ping’ was not declared in this scope
if(ping(a,n)==0){
^
network.cpp:18:19: error: ‘travelTo’ was not declared in this scope
travelTo(n);
^
grader.c: In function ‘int main()’:
grader.c:48:39: 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:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &distance[u][v]);
^