Compiler output
prog.cpp: In function 'int memo(int, int)':
prog.cpp:67:11: warning: array subscript has type 'char' [-Wchar-subscripts]
if(fr[i]==1) {
^
prog.cpp:68:21: warning: array subscript has type 'char' [-Wchar-subscripts]
if(notpossible[i][last]==0) return 1;
^
prog.cpp:77:45: warning: array subscript has type 'char' [-Wchar-subscripts]
for(char i=0;i<26;++i) curent.pb((char)fr[i]);
^
prog.cpp:84:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(notpossible[i][last]==0 && fr[i]>1) {
^
prog.cpp:84:37: warning: array subscript has type 'char' [-Wchar-subscripts]
if(notpossible[i][last]==0 && fr[i]>1) {
^
prog.cpp:87:8: warning: array subscript has type 'char' [-Wchar-subscripts]
fr[i]-=2;
^
prog.cpp:90:8: warning: array subscript has type 'char' [-Wchar-subscripts]
fr[i]+=2;
^