combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:14:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
14 | while (S.size() < N)
| ~~~~~~~~~^~~
combo.cpp:17:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for (int c = 0; c < buttons.size(); c++)
| ~~^~~~~~~~~~~~~~~~
combo.cpp:20:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | if (c == buttons.size() - 1)
| ~~^~~~~~~~~~~~~~~~~~~~~
combo.cpp:35:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
35 | while (p.size() < 4 * N)
| ~~~~~~~~~^~~~~~~
combo.cpp:43:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if (res > S.size())
| ~~~~^~~~~~~~~~