friends.cpp: In function 'void solve()':
friends.cpp:21:17: 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]
21 | if (ptr < a.size() and s[i] == a[ptr]) ptr++;
| ~~~~^~~~~~~~~~
friends.cpp:22:52: 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]
22 | for (ll i = 0; i < n - (n >> 1); i++) if (ptr1 < b.size() and s[i] == b[ptr1]) ptr1++;
| ~~~~~^~~~~~~~~~
friends.cpp:23:13: 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]
23 | if (ptr < a.size() and ptr1 < b.size()) cout << "NOT POSSIBLE\n";
| ~~~~^~~~~~~~~~
friends.cpp:23:33: 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]
23 | if (ptr < a.size() and ptr1 < b.size()) cout << "NOT POSSIBLE\n";
| ~~~~~^~~~~~~~~~
friends.cpp:24:18: 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]
24 | else if (ptr == a.size() and ptr1 == b.size()) cout << "NOT UNIQUE\n";
| ~~~~^~~~~~~~~~~
friends.cpp:24:39: 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]
24 | else if (ptr == a.size() and ptr1 == b.size()) cout << "NOT UNIQUE\n";
| ~~~~~^~~~~~~~~~~
friends.cpp:25:18: 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]
25 | else if (ptr == a.size()) cout << a << endl;
| ~~~~^~~~~~~~~~~