password.cpp: In function 'std::string inserts(std::string, int, char)':
password.cpp:12:5: error: 'insert' was not declared in this scope; did you mean 'inserts'?
12 | insert(s.begin() + pos, x);
| ^~~~~~
| inserts
password.cpp: In function 'std::string go(int, int)':
password.cpp:20:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | while (query(pushs(s, x)) == s.size() + 1) s.push_back(x);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
password.cpp:25:30: 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 i = 0, j = 0; i <= s.size() && j < t.size(); ++i) {
| ~~^~~~~~~~~~~
password.cpp:25:47: 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 i = 0, j = 0; i <= s.size() && j < t.size(); ++i) {
| ~~^~~~~~~~~~
password.cpp:27:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (query(kek) == kek.size()) s = kek;
| ~~~~~~~~~~~^~~~~~~~~~~~~