/in/foo.cc: In function 'int main()':
/in/foo.cc:19:13: warning: array subscript has type 'char' [-Wchar-subscripts]
f[i][c[i]] = min(f[i - 1][j] + 2,f[i][c[i]]);
^
/in/foo.cc:19:46: warning: array subscript has type 'char' [-Wchar-subscripts]
f[i][c[i]] = min(f[i - 1][j] + 2,f[i][c[i]]);
^
/in/foo.cc:20:13: warning: array subscript has type 'char' [-Wchar-subscripts]
f[i][c[i]] = min(f[i - 1][c[i]] + 1,f[i][c[i]]);
^
/in/foo.cc:20:34: warning: array subscript has type 'char' [-Wchar-subscripts]
f[i][c[i]] = min(f[i - 1][c[i]] + 1,f[i][c[i]]);
^
/in/foo.cc:20:49: warning: array subscript has type 'char' [-Wchar-subscripts]
f[i][c[i]] = min(f[i - 1][c[i]] + 1,f[i][c[i]]);
^