/in/foo.cc: In function 'void work()':
/in/foo.cc:57:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<e[i].size();j++)
~^~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:182:3: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
gets(c);
^~~~
In file included from /in/foo.cc:1:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.cc:182:9: warning: 'char* gets(char*)' is deprecated [-Wdeprecated-declarations]
gets(c);
^
In file included from /in/foo.cc:1:0:
/usr/include/stdio.h:640:14: note: declared here
extern char *gets (char *__s) __wur __attribute_deprecated__;
^~~~
/in/foo.cc:220:36: warning: narrowing conversion of 'id' from 'llw {aka long long int}' to 'int' inside { } [-Wnarrowing]
e[id].push_back((izayoi){id,2,0});
^
/in/foo.cc:224:36: warning: narrowing conversion of 'id' from 'llw {aka long long int}' to 'int' inside { } [-Wnarrowing]
e[id].push_back((izayoi){id,1,0});
^
/in/foo.cc:241:4: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int j=1;j<=m;j++)
^~~
/in/foo.cc:247:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
if(idto==0) continue;
^~
/in/foo.cc: In function 'void work()':
/in/foo.cc:145:11: warning: 'i' may be used uninitialized in this function [-Wmaybe-uninitialized]
for(int i=i;i<=m;i++) final[i]=1;
^
/tmp/ccd4gs8k.o: In function `main':
foo.cc:(.text.startup+0x1e1): warning: the `gets' function is dangerous and should not be used.