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:34: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]
34 | if(check(in) == in.size()) ans[i] = i;
| ~~~~~~~~~~^~~~~~~~~~~~
carnival.cpp:45: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]
45 | if(check(out) == out.size()-1)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~