art.cpp: In function 'void solve(int)':
art.cpp:2:164: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
2 | void solve(int n){std::vector<int> a(n),v(n);int i;for(i = 0; i < n; ++i){for(int j=0;j<n;++j)a[j]=(i+j)%n+1;v[i]=publish(a);}for(i=0;i<n;++i)a[v[i]-(v[(i+1)%n])+n-1>>1]=i+1;answer(a);}
interface.cpp: In function 'int publish(std::vector<int>)':
interface.cpp:20:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | if(v.size() != N) {
| ~~~~~~~~~^~~~
interface.cpp: In function 'void answer(std::vector<int>)':
interface.cpp:36:17: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | if(v.size() != N) {
| ~~~~~~~~~^~~~