postmen.cpp: In function 'void dfs(int)':
postmen.cpp:18:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(st[p] != u) cout << st[p] << ' ', check[st[p]] = false, p--; p--;
^~~~~
postmen.cpp:18:70: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
while(st[p] != u) cout << st[p] << ' ', check[st[p]] = false, p--; p--;
^
postmen.cpp: In function 'int main()':
postmen.cpp:25:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
~~~~~^~~~~~~~~~~~~~~~~
postmen.cpp:28:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &u, &v);
~~~~~^~~~~~~~~~~~~~~~~