postmen.cpp: In constructor 'edge::edge(int, int)':
postmen.cpp:4:17: warning: 'edge::id' will be initialized after [-Wreorder]
int v=0, id=0;
^
postmen.cpp:4:11: warning: 'int edge::v' [-Wreorder]
int v=0, id=0;
^
postmen.cpp:5:5: warning: when initialized here [-Wreorder]
edge(int v=0,int id=0):id(id),v(v){}
^~~~
postmen.cpp: In function 'void dfs(int)':
postmen.cpp:13:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(;ctrl[u]<G[u].size();ctrl[u]++){
~~~~~~~^~~~~~~~~~~~
postmen.cpp: In function 'int main()':
postmen.cpp:35:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<euler.size();i++){
~^~~~~~~~~~~~~
postmen.cpp:25:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
~~~~~^~~~~~~~~~~~~~~