carnival.cpp: In function 'std::vector<std::vector<int> > func(std::vector<int>)':
carnival.cpp:19:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=mid; i<vect.size(); i++){
| ~^~~~~~~~~~~~
carnival.cpp:24:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=0; i<temp1.size(); i++){
| ~^~~~~~~~~~~~~
carnival.cpp:25:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int j=0; j<temp2.size(); j++){
| ~^~~~~~~~~~~~~
carnival.cpp:31:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int k=0; k<temp2[j].size(); k++){
| ~^~~~~~~~~~~~~~~~
carnival.cpp:39:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for(int i=0; i<temp2.size(); i++){
| ~^~~~~~~~~~~~~
carnival.cpp: In function 'int main()':
carnival.cpp:58:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | for(int i=0; i<ans.size(); i++){
| ~^~~~~~~~~~~
carnival.cpp:59:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int j=0; j<ans[i].size(); j++){
| ~^~~~~~~~~~~~~~