match.cpp: In function 'int dp(int, int)':
match.cpp:37:39: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | int tmp = lower_bound(all(pos[s[l]]), r) - pos[s[l]].begin() - 1;
| ^
match.cpp:7:16: note: in definition of macro 'all'
7 | #define all(a) a.begin(), a.end()
| ^
match.cpp:37:39: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | int tmp = lower_bound(all(pos[s[l]]), r) - pos[s[l]].begin() - 1;
| ^
match.cpp:7:27: note: in definition of macro 'all'
7 | #define all(a) a.begin(), a.end()
| ^
match.cpp:37:56: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | int tmp = lower_bound(all(pos[s[l]]), r) - pos[s[l]].begin() - 1;
| ^
match.cpp:38:31: warning: array subscript has type 'char' [-Wchar-subscripts]
38 | while(tmp >= 0 && pos[s[l]][tmp] > l)
| ^
match.cpp:40:25: warning: array subscript has type 'char' [-Wchar-subscripts]
40 | int i = pos[s[l]][tmp];
| ^
match.cpp: In function 'void solve()':
match.cpp:58:17: warning: array subscript has type 'char' [-Wchar-subscripts]
58 | pos[s[i]].pb(i);
| ^