combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:11:15: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
11 | while(s.size()<N){
| ~~~~~~~~^~
combo.cpp:13:5: error: 'n' was not declared in this scope
13 | if(n<3){
| ^
combo.cpp:14:6: error: 'k' was not declared in this scope
14 | if(k==3)k=0;
| ^
combo.cpp:15:8: error: 'k' was not declared in this scope
15 | t=s+q[k];
| ^
combo.cpp:17:6: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if(m==s.size()+1)s+=q[k];
| ~^~~~~~~~~~~~
combo.cpp:23:5: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | if(m==s.size()+0)s+=q[2];else
| ~^~~~~~~~~~~~
combo.cpp:24:5: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(m==s.size()+1)s+=q[1];else
| ~^~~~~~~~~~~~
combo.cpp:25:5: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | if(m==s.size()+2)s+=q[0];}
| ~^~~~~~~~~~~~