foo.cc: In function 'int main()':
foo.cc:17:12: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin>>a[i]+1;
~~~~^~
foo.cc:20:16: warning: array subscript has type 'char' [-Wchar-subscripts]
f[j][a[i][j]]++;
^
foo.cc:24:9: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
cin>>s+1;
~^~
foo.cc:27:13: warning: array subscript has type 'char' [-Wchar-subscripts]
f[j][s[j]]++;
^
foo.cc:34:16: warning: array subscript has type 'char' [-Wchar-subscripts]
f[j][a[i][j]]--;
^
foo.cc:40:16: warning: array subscript has type 'char' [-Wchar-subscripts]
f[j][a[i][j]]++;
^
[Hydro](https://hydro.ac)提供评测服务