art.cpp: In function 'void solve(int)':
art.cpp:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=0;i<v.size()-1;i++)vcc.push_back(v[i]);
| ~^~~~~~~~~~~
art.cpp:32:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int i=0;i<voc.size();i++){
| ~^~~~~~~~~~~
art.cpp:33:34: warning: comparison of integer expressions of different signedness: 'std::vector<int>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
33 | if(i-(voc.size()-i-1)==y){
| ~~~~~~~~~~~~~~~~~~^~~
art.cpp:39:22: warning: statement has no effect [-Wunused-value]
39 | while(in==-1)1;
| ^
art.cpp:41:10: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
41 | a-=g;
| ~^~~
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) {
| ~~~~~~~~~^~~~