combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:52:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
52 | if(s.size() == N){
| ~~~~~~~~~^~~~
combo.cpp:56:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
56 | while(s.size() < N){
| ~~~~~~~~~^~~
combo.cpp:66:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:70:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:80:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
80 | while(s.size() < N){
| ~~~~~~~~~^~~
combo.cpp:90:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
90 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:94:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:104:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
104 | while(s.size() < N){
| ~~~~~~~~~^~~
combo.cpp:114:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
114 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:118:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
118 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:128:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
128 | while(s.size() < N){
| ~~~~~~~~~^~~
combo.cpp:138:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
138 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:142:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
142 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:19:27: warning: control reaches end of non-void function [-Wreturn-type]
19 | string s = "", s1 = "AB";
| ^~~~