turnir.cpp: In function 'int main(int, char**)':
turnir.cpp:35:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(auto &x: p) scanf("%d", &x); ps = p; sort(ps.begin(), ps.end());
^~~
turnir.cpp:35:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
for(auto &x: p) scanf("%d", &x); ps = p; sort(ps.begin(), ps.end());
^~
turnir.cpp:34:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); N = 1 << n; p.resize(N); u.resize(n);
~~~~~^~~~~~~~~~
turnir.cpp:35:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(auto &x: p) scanf("%d", &x); ps = p; sort(ps.begin(), ps.end());
~~~~~^~~~~~~~~~