/in/foo.cc: In function 'double prim(int)':
/in/foo.cc:25:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<poi[src].size();i++)
~^~~~~~~~~~~~~~~~
/in/foo.cc:38:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<poi[now.to].size();i++)
~^~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:50:15: warning: format '%f' expects argument of type 'float*', but argument 2 has type 'double*' [-Wformat=]
scanf("%f",&s);
^
/in/foo.cc:55:22: warning: format '%f' expects argument of type 'float*', but argument 3 has type 'double*' [-Wformat=]
scanf("%d %f",&y,&z);
^