password.cpp: In function 'std::string Complete(std::string, int, char)':
password.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i = 1; i <= N-a.size(); ++ i )
| ~~^~~~~~~~~~~~~
password.cpp: In function 'std::string Merge(std::string, std::string)':
password.cpp:26:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while (poz_a < a.size() && poz_b < b.size()) {
| ~~~~~~^~~~~~~~~~
password.cpp:26:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while (poz_a < a.size() && poz_b < b.size()) {
| ~~~~~~^~~~~~~~~~
password.cpp:28:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | for (int i = poz_b; i < b.size(); ++ i )
| ~~^~~~~~~~~~
password.cpp:31:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if (val == aux.size()) {
| ~~~~^~~~~~~~~~~~~
password.cpp:41:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (int i = poz_a; i < a.size(); ++ i )
| ~~^~~~~~~~~~
password.cpp:43:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for (int i = poz_b; i < b.size(); ++ i )
| ~~^~~~~~~~~~
password.cpp:22:9: warning: unused variable 'need' [-Wunused-variable]
22 | int need = b.size();
| ^~~~