foo.cc: In function 'int main()':
foo.cc:17:10: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | while(j<s.size())
| ~^~~~~~~~~
foo.cc:19:24: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
19 | if(s[j]>122||s[j]<97&&s[j]>90||s[j]<65)
foo.cc:26:12: warning: comparison of integer expressions of different signedness: 'll' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | for(j=0;j<s.size()-1;j++)
| ~^~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务