combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:47:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if(k == cur.size() + 0) cur += OK[2];
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:48:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | if(k == cur.size() + 1) cur += OK[0];
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:49:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
49 | if(k == cur.size() + 2) cur += OK[1];
| ~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/10/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/10/bits/stdc++.h:33,
from combo.cpp:1:
combo.cpp:51:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
51 | assert(cur.size() == N - 1);
| ~~~~~~~~~~~^~~~~~~~