postmen.cpp: In function 'void dfs(int)':
postmen.cpp:18:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
#define fox(k, x) for (int k=0; k<x; ++k)
postmen.cpp:42:13:
fox(l, ans.size()){
~~~~~~~~~~~~~
postmen.cpp:42:9: note: in expansion of macro 'fox'
fox(l, ans.size()){
^~~
postmen.cpp:44:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (l!=ans.size()-1) printf(" ");
~^~~~~~~~~~~~~~
postmen.cpp:50:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(; p[N]<v[N].size(); ++p[N]){
~~~~^~~~~~~~~~~~
postmen.cpp: In function 'int main()':
postmen.cpp:64:27: warning: format '%i' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
scanf("%i%i", a, b);
^
postmen.cpp:64:27: warning: format '%i' expects argument of type 'int*', but argument 3 has type 'int' [-Wformat=]
postmen.cpp:62:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", &n, &m);
~~~~~^~~~~~~~~~~~~~~~
postmen.cpp:64:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i%i", a, b);
~~~~~^~~~~~~~~~~~~~