/in/foo.cc: In function 'void Dijkstra(long int)':
/in/foo.cc:121:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int z = 0; z < edge[x.dot].size(); z++)
~~^~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:137:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d", &n);
^
/in/foo.cc:138:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d", &m);
^
/in/foo.cc:143:31: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=]
scanf("%d%s",Te+i, str);
^
/in/foo.cc:160:31: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
else printf("%d", cost[ed]);
^