foo.cc: In function 'int main()':
foo.cc:12:30: 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.size();i++) a1[a[i]-97]++;
| ~^~~~~~~~~
foo.cc:13:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i=0;i<b.size();i++) b1[b[i]-97]++;
| ~^~~~~~~~~
foo.cc:22:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int i=0;i<a.size();i++) a1[a[i]-97]++;
| ~^~~~~~~~~
foo.cc:23:30: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | for(int i=0;i<b.size();i++) b1[b[i]-97]++;
| ~^~~~~~~~~
foo.cc:31:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(i=0,j=0;i<a.size();i++)
| ~^~~~~~~~~
foo.cc:33:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(j==b.size()) puts("automation");
| ~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务