carnival.cpp: In function 'long long int check(std::vector<long long int>)':
carnival.cpp:12:21: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i = 0 ; i < v.size() ; i++) cout<<v[i]<<" ";
| ~~^~~~~~~~~~
carnival.cpp: In function 'int32_t main()':
carnival.cpp:26:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | if(check(in) == in.size()) ans[i] = in.size();
| ~~~~~~~~~~^~~~~~~~~~~~
carnival.cpp:37:23: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if(check(out) == out.size()-1)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~