Compiler output
prog.cpp: In function 'int main()':
prog.cpp:80:35: warning: array subscript has type 'char' [-Wchar-subscripts]
if((mid==0 && notpossible[fin[i]][fin[i]]==0) || (mid && notpossible[mid][fin[i]]==0))
^
prog.cpp:80:43: warning: array subscript has type 'char' [-Wchar-subscripts]
if((mid==0 && notpossible[fin[i]][fin[i]]==0) || (mid && notpossible[mid][fin[i]]==0))
^
prog.cpp:80:83: warning: array subscript has type 'char' [-Wchar-subscripts]
if((mid==0 && notpossible[fin[i]][fin[i]]==0) || (mid && notpossible[mid][fin[i]]==0))
^
prog.cpp: In function 'long long int memo(int, int)':
prog.cpp:102:44: warning: array subscript has type 'char' [-Wchar-subscripts]
if((mask&(1<<i)) && notpossible[fin[last]][fin[i]]==0 && i!=last)
^
prog.cpp:102:52: warning: array subscript has type 'char' [-Wchar-subscripts]
if((mask&(1<<i)) && notpossible[fin[last]][fin[i]]==0 && i!=last)
^