/in/foo.cc: In member function 'std::vector<int> StateSpace::constraint_vector(int) const':
/in/foo.cc:139:17: warning: unused variable 'ways' [-Wunused-variable]
139 | int ways = weight[i]; // 基础权重
| ^~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:344:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
344 | for (int j = 0; j < cur_vec.size(); ++j)
| ~~^~~~~~~~~~~~~~~~
/in/foo.cc:366:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
366 | for (int j = 0; j < cur_vec.size(); ++j)
| ~~^~~~~~~~~~~~~~~~