foo.cc: In function 'int say1(std::string*, int*, int*, std::string*, int*)':
foo.cc:35:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
35 | if (a!=content.npos){
foo.cc:40:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
40 | if (a!=content.npos){
foo.cc:45:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
45 | if (a!=content.npos){
foo.cc:58:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
58 | if (a!=content.npos){
foo.cc:70:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
70 | if (a!=content.npos){
foo.cc:74:33: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | for(int i=a+10;i<a+20&&i<content.length();i++){
| ~^~~~~~~~~~~~~~~~~
foo.cc:21:7: warning: variable 'b' set but not used [-Wunused-but-set-variable]
21 | bool b = true;
| ^
foo.cc: In function 'int ifshrs(int, std::string, std::string, std::string*, int*, std::string*, int*, int*)':
foo.cc:103:19: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
103 | if(c!=b.npos){
foo.cc:110:19: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
110 | if(c!=b.npos){
foo.cc:121:13: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
121 | if(c!=b.npos){
foo.cc:128:14: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
128 | if(c!=b.npos){
foo.cc:145:21: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
145 | if(c!=b.npos){
foo.cc:158:10: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
158 | if(c!=content.npos){
foo.cc:160:12: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
160 | if (c!=content.npos){
foo.cc:165:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
165 | if(c!=content.npos){
foo.cc:167:8: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
167 | if(c==content.npos){
foo.cc:172:7: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
172 | if(c!=content.npos){
foo.cc:174:8: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
174 | if(c!=content.npos){
foo.cc:180:9: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
180 | if (c!=content.npos){
foo.cc:186:8: warning: comparison of integer expressions of different signedness: 'int' and 'const size_type' {aka 'const long unsigned int'} [-Wsign-compare]
186 | if(c!=content.npos){
foo.cc: In function 'int main(int, char**)':
foo.cc:237:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
237 | else if(Grs=0){
| ~~~^~
[Hydro](https://hydro.ac)提供评测服务