foo.cc: In function 'int main()':
foo.cc:12:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i=0;i<a.length();i++)
| ~^~~~~~~~~~~
foo.cc:14:60: warning: array subscript has type 'char' [-Wchar-subscripts]
14 | if (a[i]>='A'&&a[i]<='Z') {a[i]-=64; z[a[i]]++;}
| ^
foo.cc:16:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | for(int i=0;i<b.length();i++)
| ~^~~~~~~~~~~
foo.cc:18:60: warning: array subscript has type 'char' [-Wchar-subscripts]
18 | if (b[i]>='A'&&b[i]<='Z') {b[i]-=64; z[b[i]]++;}
| ^
foo.cc:20:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int i=0;i<c.length();i++)
| ~^~~~~~~~~~~
foo.cc:22:60: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | if (c[i]>='A'&&c[i]<='Z') {c[i]-=64; z[c[i]]++;}
| ^
foo.cc:24:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int i=0;i<d.length();i++)
| ~^~~~~~~~~~~
foo.cc:26:60: warning: array subscript has type 'char' [-Wchar-subscripts]
26 | if (d[i]>='A'&&d[i]<='Z') {d[i]-=64; z[d[i]]++;}
| ^
foo.cc:7:13: warning: unused variable 'e' [-Wunused-variable]
7 | int e=0;
| ^
正在同步测试数据,请稍后
Found 5 testcases.
[Hydro](https://hydro.ac)提供评测服务