swaps.cpp: In function 'std::vector<int> solve()':
swaps.cpp:50:13: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if(a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:50:38: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if(a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:52:18: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | else if(a[2] < v[a[0]].size() && a[3] == v[a[1]].size())
swaps.cpp:52:43: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | else if(a[2] < v[a[0]].size() && a[3] == v[a[1]].size())
swaps.cpp:54:18: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | else if(a[2] == v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:54:44: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
54 | else if(a[2] == v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:69:47: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if((!mark[a[0]]) && (!mark[a[1]]) && a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:69:72: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if((!mark[a[0]]) && (!mark[a[1]]) && a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:72:71: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | v2[idx2].push_back(v[a[0]][a[2]]) , a[2]++ , mark[a[1]] = (a[2] != v[a[0]].size() && a[3] + 1 < v[a[1]].size()) ;
swaps.cpp:72:101: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | v2[idx2].push_back(v[a[0]][a[2]]) , a[2]++ , mark[a[1]] = (a[2] != v[a[0]].size() && a[3] + 1 < v[a[1]].size()) ;
swaps.cpp:74:71: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | v2[idx2].push_back(v[a[1]][a[3]]) , a[3]++ , mark[a[0]] = (a[3] != v[a[1]].size() && a[2] + 1 < v[a[0]].size()) ;
swaps.cpp:74:101: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | v2[idx2].push_back(v[a[1]][a[3]]) , a[3]++ , mark[a[0]] = (a[3] != v[a[1]].size() && a[2] + 1 < v[a[0]].size()) ;
swaps.cpp:75:14: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if(a[2] == v[a[0]].size() && a[3] == (int)(v[a[1]].size()) - 1)
swaps.cpp:77:19: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | else if(a[3] == v[a[1]].size() && a[2] == (int)(v[a[0]].size()) - 1)
swaps.cpp:81:35: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | else if((mark[a[0]]) || (a[2] < v[a[0]].size() && a[3] == v[a[1]].size()))
swaps.cpp:81:60: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | else if((mark[a[0]]) || (a[2] < v[a[0]].size() && a[3] == v[a[1]].size()))
swaps.cpp:96:35: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | else if((mark[a[1]]) || (a[2] == v[a[0]].size() && a[3] < v[a[1]].size()))
swaps.cpp:96:61: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | else if((mark[a[1]]) || (a[2] == v[a[0]].size() && a[3] < v[a[1]].size()))
swaps.cpp:114:17: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | ok &= (a[2] == v[a[0]].size() && a[3] == v[a[1]].size()) ;
swaps.cpp:114:43: warning: comparison of integer expressions of different signedness: 'std::array<int, 4>::value_type' {aka 'int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | ok &= (a[2] == v[a[0]].size() && a[3] == v[a[1]].size()) ;