network.cpp: In function 'int findRoute(int, int, int)':
network.cpp:7:19: error: 'ping' was not declared in this scope
network.cpp:15:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
network.cpp:17:28: error: 'travelTo' was not declared in this scope
network.cpp:22:1: warning: no return statement in function returning non-void [-Wreturn-type]
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]
grader.c:51:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]