network.cpp: In function 'void findRoute(int, int, int)':
network.cpp:10:5: error: declaration does not declare anything [-fpermissive]
map<pair<int,int>,bool>;
^
network.cpp:17:35: error: 'm' was not declared in this scope
if(ping(i,j)==0&&!m[{i,j}])
^
network.cpp:36:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[p].size();i++)
^
network.cpp:54:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<ans.size();i++)
^
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]);
^