combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:44:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
44 | if(s.size() == N){
| ~~~~~~~~~^~~~
combo.cpp:49:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
49 | while(s.size() < N - 1){
| ~~~~~~~~~^~~~~~~
combo.cpp:62:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:66:32: 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() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:76:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:83:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
83 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:93:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
93 | while(s.size() < N - 1){
| ~~~~~~~~~^~~~~~~
combo.cpp:106:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
106 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:110:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
110 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:120:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
120 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:127:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
127 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:137:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
137 | while(s.size() < N - 1){
| ~~~~~~~~~^~~~~~~
combo.cpp:150:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
150 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:154:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
154 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:164:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
164 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:171:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
171 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:181:34: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
181 | while(s.size() < N - 1){
| ~~~~~~~~~^~~~~~~
combo.cpp:194:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
194 | if(cur == s.size()){
| ~~~~^~~~~~~~~~~
combo.cpp:198:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
198 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:208:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
208 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:215:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
215 | if(cur == s.size() + 1){
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:19:27: warning: control reaches end of non-void function [-Wreturn-type]
19 | string s = "", s1 = "AB";
| ^~~~