permutation.cpp: In function 'void add(ll, ll, ll)':
permutation.cpp:28:14: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(idx+2 < v[seg].size())
| ~~~~~~^~~~~~~~~~~~~~~
permutation.cpp:31:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = idx+2; i < v[seg].size(); ++i){
| ~~^~~~~~~~~~~~~~~
permutation.cpp:32:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if(i+1 < v[seg].size())
| ~~~~^~~~~~~~~~~~~~~
permutation.cpp: In function 'void restruct()':
permutation.cpp:49:21: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | for(ll i = 0; i < tmp.size(); ++i)
| ~~^~~~~~~~~~~~
permutation.cpp: In function 'int main()':
permutation.cpp:77:32: warning: comparison of integer expressions of different signedness: 'std::vector<std::pair<long long int, long long int> >::size_type' {aka 'long unsigned int'} and 'll' {aka 'long long int'} [-Wsign-compare]
77 | if(v[j].size() == 2*sq)
| ~~~~~~~~~~~~^~~~~~~