carnival.cpp: In function 'std::vector<std::vector<int> > func(std::vector<int>)':
carnival.cpp:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for(int i=0; i<vect.size(); i++){
| ~^~~~~~~~~~~~
carnival.cpp:20:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if(a==vect.size()){
| ~^~~~~~~~~~~~~
carnival.cpp:22:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0; i<vect.size(); i++){
| ~^~~~~~~~~~~~
carnival.cpp:37:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | for(int i=mid; i<vect.size(); i++){
| ~^~~~~~~~~~~~
carnival.cpp:42:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for(int i=0; i<temp1.size(); i++){
| ~^~~~~~~~~~~~~
carnival.cpp:43:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int j=0; j<temp2.size(); j++){
| ~^~~~~~~~~~~~~
carnival.cpp:49:43: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(int k=0; k<temp2[j].size(); k++){
| ~^~~~~~~~~~~~~~~~
carnival.cpp:57:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | for(int i=0; i<temp2.size(); i++){
| ~^~~~~~~~~~~~~
carnival.cpp: In function 'int main()':
carnival.cpp:77:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::vector<int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | for(int i=0; i<ans.size(); i++){
| ~^~~~~~~~~~~
carnival.cpp:78:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | for(int j=0; j<ans[i].size(); j++){
| ~^~~~~~~~~~~~~~