cubeword.cpp: In function 'void solve(ll)':
cubeword.cpp:42:15: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | cnt[val[t[0]]][val[t.back()]] ++;
| ^
cubeword.cpp:42:28: warning: array subscript has type 'char' [-Wchar-subscripts]
42 | cnt[val[t[0]]][val[t.back()]] ++;
| ~~~~~~^~
cubeword.cpp:46:18: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | cnt[val[t.back()]][val[t[0]]] ++;
| ~~~~~~^~
cubeword.cpp:46:31: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | cnt[val[t.back()]][val[t[0]]] ++;
| ^
cubeword.cpp: In function 'int32_t main()':
cubeword.cpp:63:7: warning: array subscript has type 'char' [-Wchar-subscripts]
63 | val[c] = x++;
| ^
cubeword.cpp:66:7: warning: array subscript has type 'char' [-Wchar-subscripts]
66 | val[c] = x++;
| ^
cubeword.cpp:69:7: warning: array subscript has type 'char' [-Wchar-subscripts]
69 | val[c] = x ++;
| ^
cubeword.cpp:74:14: warning: array subscript has type 'char' [-Wchar-subscripts]
74 | if(val[t[0]] > val[t.back()]) reverse(all(t));
| ^
cubeword.cpp:74:28: warning: array subscript has type 'char' [-Wchar-subscripts]
74 | if(val[t[0]] > val[t.back()]) reverse(all(t));
| ~~~~~~^~