/in/foo.cc: In function 'int main()':
/in/foo.cc:16:16: 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<s.size();i++){
| ~^~~~~~~~~
/in/foo.cc:25:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | for(int c=0;c<s.size();c++){
| ~^~~~~~~~~
/in/foo.cc: In function 'char find()':
/in/foo.cc:11:20: warning: 'w' may be used uninitialized [-Wmaybe-uninitialized]
11 | return char(w+'a'-1);
| ~~~~~^~
/in/foo.cc:6:14: note: 'w' was declared here
6 | int maxa=0,w;
| ^
In function 'char find()',
inlined from 'int main()' at /in/foo.cc:23:17:
/in/foo.cc:11:20: warning: 'w' may be used uninitialized [-Wmaybe-uninitialized]
11 | return char(w+'a'-1);
| ~~~~~^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:6:14: note: 'w' was declared here
6 | int maxa=0,w;
| ^