foo.cc: In function 'int main()':
foo.cc:19:33: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | f[i][c[i]] = min(f[i - 1][j] + 2,f[i][c[i]]);
| ~~~^
foo.cc:19:66: warning: array subscript has type 'char' [-Wchar-subscripts]
19 | f[i][c[i]] = min(f[i - 1][j] + 2,f[i][c[i]]);
| ~~~^
foo.cc:20:33: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | f[i][c[i]] = min(f[i - 1][c[i]] + 1,f[i][c[i]]);
| ~~~^
foo.cc:20:54: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | f[i][c[i]] = min(f[i - 1][c[i]] + 1,f[i][c[i]]);
| ~~~^
foo.cc:20:69: warning: array subscript has type 'char' [-Wchar-subscripts]
20 | f[i][c[i]] = min(f[i - 1][c[i]] + 1,f[i][c[i]]);
| ~~~^
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务