art.cpp:6:1: error: expected ',' or ';' before 'int'
6 | int sbmt(vector<int>vct){
| ^~~
art.cpp: In function 'void solve(int)':
art.cpp:20:11: error: 'sbmt' was not declared in this scope
20 | int a=sbmt(v);
| ^~~~
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++)vc.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){
| ~~~~~~~~~~~~~~~~~~^~~
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) {
| ~~~~~~~~~^~~~