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