postmen.cpp: In function 'void dfs(int, int)':
postmen.cpp:22:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;now[x]<from[x].size();) {
~~~~~~^~~~~~~~~~~~~~~
postmen.cpp: At global scope:
postmen.cpp:32:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
main() {
^
postmen.cpp: In function 'int main()':
postmen.cpp:34:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
~~~~~^~~~~~~~~~~~~~
postmen.cpp:36:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
~~~~~^~~~~~~~~~~~~~