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