match.cpp: In function 'int dp(int, int)':
match.cpp:36:39: warning: array subscript has type 'char' [-Wchar-subscripts]
36 | 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:36:39: warning: array subscript has type 'char' [-Wchar-subscripts]
36 | 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:36:56: warning: array subscript has type 'char' [-Wchar-subscripts]
36 | int tmp = lower_bound(all(pos[s[l]]), r) - pos[s[l]].begin() - 1;
| ^
match.cpp:37:31: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | while(tmp >= 0 && pos[s[l]][tmp] > l)
| ^
match.cpp:39:25: warning: array subscript has type 'char' [-Wchar-subscripts]
39 | int i = pos[s[l]][tmp];
| ^
match.cpp: In function 'void solve()':
match.cpp:56:17: warning: array subscript has type 'char' [-Wchar-subscripts]
56 | pos[s[i]].pb(i);
| ^