match.cpp: In function 'int main()':
match.cpp:21:16: warning: array subscript has type 'char' [-Wchar-subscripts]
21 | cnt[s[i]]++;
| ~~~^
match.cpp:31:23: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | if(cur[s[i]] >= cnt[s[i]]/2 || !possible(i+1, st)){
| ~~~^
match.cpp:31:36: warning: array subscript has type 'char' [-Wchar-subscripts]
31 | if(cur[s[i]] >= cnt[s[i]]/2 || !possible(i+1, st)){
| ~~~^
match.cpp:37:16: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | cur[s[i]]++;
| ~~~^
match.cpp:18:10: warning: ignoring return value of 'int scanf(const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result]
18 | scanf(" %s", s);
| ~~~~~^~~~~~~~~~