network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:28:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int l=0; l<ans.size(); ++l){
^
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]);
^