/in/foo.cc: In function 'int calc(const int&, const int&, const int&)':
/in/foo.cc:34:33: warning: array subscript has type 'char' [-Wchar-subscripts]
return now[mapp[table[x][y][0]]]*(n-1)+now[mapp[table[x][y][1]]];
^
/in/foo.cc:34:65: warning: array subscript has type 'char' [-Wchar-subscripts]
return now[mapp[table[x][y][0]]]*(n-1)+now[mapp[table[x][y][1]]];
^
/in/foo.cc:36:32: warning: array subscript has type 'char' [-Wchar-subscripts]
return now[mapp[table[x][y][0]]];
^
/in/foo.cc: In function 'int main()':
/in/foo.cc:105:10: warning: array subscript has type 'char' [-Wchar-subscripts]
mapp[ch]=i-1;
^
/in/foo.cc:112:22: warning: array subscript has type 'char' [-Wchar-subscripts]
cin>>table[mapp[ch]][mapp[digit[j-1]]];
^
/in/foo.cc:112:40: warning: array subscript has type 'char' [-Wchar-subscripts]
cin>>table[mapp[ch]][mapp[digit[j-1]]];
^