joi2019_ho_t3.cpp:8:27: warning: multi-line comment [-Wcomment]
8 | int dp[403][403][403][3]; // dp[a][b][c][last] = min operations to have a valid string\
| ^
joi2019_ho_t3.cpp: In function 'int solve(ll, ll, ll, ll)':
joi2019_ho_t3.cpp:31:24: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if (last != 0 && a < ou[0].size()) { ans = min(ans, solve(a+1, b, c, 0) + ou[0][a] - costFor(0, a)); }
| ~~^~~~~~~~~~~~~~
joi2019_ho_t3.cpp:32:24: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if (last != 1 && b < ou[1].size()) { ans = min(ans, solve(a, b+1, c, 1) + ou[1][b] - costFor(1, b)); }
| ~~^~~~~~~~~~~~~~
joi2019_ho_t3.cpp:33:24: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if (last != 2 && c < ou[2].size()) { ans = min(ans, solve(a, b, c+1, 2) + ou[2][c] - costFor(2, c)); }
| ~~^~~~~~~~~~~~~~
joi2019_ho_t3.cpp:20:9: warning: unused variable 'i' [-Wunused-variable]
20 | int i = a+b+c;
| ^