swaps.cpp: In function 'std::vector<int> solve()':
swaps.cpp:42:31: 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]
42 | if(mark[a[0]] && a[2] + 1 < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:42:56: 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]
42 | if(mark[a[0]] && a[2] + 1 < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:47:31: 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]
47 | if(mark[a[1]] && a[3] + 1 < v[a[1]].size() && a[2] < v[a[0]].size())
swaps.cpp:47:56: 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]
47 | if(mark[a[1]] && a[3] + 1 < v[a[1]].size() && a[2] < v[a[0]].size())
swaps.cpp:54: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]
54 | if(a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:54: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]
54 | if(a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:56: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]
56 | else if(a[2] < v[a[0]].size() && a[3] == v[a[1]].size())
swaps.cpp:56: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]
56 | else if(a[2] < v[a[0]].size() && a[3] == v[a[1]].size())
swaps.cpp:58: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]
58 | else if(a[2] == v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:58: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]
58 | else if(a[2] == v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:75:32: 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(mark[a[0]] && a[2] + 1 < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:75:57: 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(mark[a[0]] && a[2] + 1 < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:81:32: 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 | if(mark[a[1]] && a[3] + 1 < v[a[1]].size() && a[2] < v[a[0]].size())
swaps.cpp:81:57: 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 | if(mark[a[1]] && a[3] + 1 < v[a[1]].size() && a[2] < v[a[0]].size())
swaps.cpp:90: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]
90 | if(a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:90: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]
90 | if(a[2] < v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:96: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]
96 | if(a[2] == v[a[0]].size() && a[3] == (int)(v[a[1]].size()) - 1)
swaps.cpp:98: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]
98 | else if(a[3] == v[a[1]].size() && a[2] == (int)(v[a[0]].size()) - 1)
swaps.cpp:103: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]
103 | else if(a[2] < v[a[0]].size() && a[3] == v[a[1]].size())
swaps.cpp:103: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]
103 | else if(a[2] < v[a[0]].size() && a[3] == v[a[1]].size())
swaps.cpp:113: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]
113 | else if(a[2] == v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:113: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]
113 | else if(a[2] == v[a[0]].size() && a[3] < v[a[1]].size())
swaps.cpp:126: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]
126 | ok &= (a[2] == v[a[0]].size() && a[3] == v[a[1]].size()) ;
swaps.cpp:126: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]
126 | ok &= (a[2] == v[a[0]].size() && a[3] == v[a[1]].size()) ;