friends.cpp: In function 'bool check(const string&, const string&)':
friends.cpp:10:12: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | while(si < s.size() && s[si] != c){
| ~~~^~~~~~~~~~
friends.cpp:13:9: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(si >= s.size() || s[si] != c) return false;
| ~~~^~~~~~~~~~~
friends.cpp:17:12: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | while(si < s.size() && s[si] != c){
| ~~~^~~~~~~~~~
friends.cpp:20:9: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if(si >= s.size() || s[si] != c) return false;
| ~~~^~~~~~~~~~~