combo.cpp: In function 'std::string guess_sequence(int)':
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(x == ans.length()){
| ~~^~~~~~~~~~~~~~~
combo.cpp:51:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | else if(x == ans.length()+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:56:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
56 | assert(ans.length() == N-1);
| ~~~~~~~~~~~~~^~~~~~
combo.cpp:14:15: warning: control reaches end of non-void function [-Wreturn-type]
14 | string ans = "";
| ^~