network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:47:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(int i=0;i<v.size()-1;i++){
| ~^~~~~~~~~~~
network.cpp:48:29: error: too many arguments to function 'void travelTo(int)'
48 | travelTo(v[i],v[i+1]);
| ^
In file included from network.cpp:2:
network.h:3:6: note: declared here
3 | void travelTo (int k);
| ^~~~~~~~
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]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~