carnival.cpp: In function 'int ask(std::vector<int>)':
carnival.cpp:18:2: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
18 | for(auto &i:vvv)cout<<i<<' ';cout<<endl;
| ^~~
carnival.cpp:18:31: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
18 | for(auto &i:vvv)cout<<i<<' ';cout<<endl;
| ^~~~
carnival.cpp: In function 'int main()':
carnival.cpp:32:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if(ask(v) == v.size()){
| ~~~~~~~^~~~~~~~~~~
carnival.cpp:45:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(ask(vv) == vv.size())l = mid+1;
| ~~~~~~~~^~~~~~~~~~~~