joi2019_ho_t3.cpp: In function 'int main()':
joi2019_ho_t3.cpp:19:5: error: 'dp' was not declared in this scope
19 | dp[0][0][0][1] = dp[0][0][0][2] = dp[0][0][0][3] = 0;
| ^~
joi2019_ho_t3.cpp:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int i = 0; i <= has[1].size(); i++)
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:21:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | for (int j = 0; j <= has[2].size(); j++)
| ~~^~~~~~~~~~~~~~~~
joi2019_ho_t3.cpp:22:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for (int k = 0; k <= has[3].size(); k++) {
| ~~^~~~~~~~~~~~~~~~