combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:24:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
24 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:40:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:44:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:48:16: 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(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:53:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
53 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:63:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
63 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:77:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
77 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:81:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
81 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:85:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
85 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:90:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
90 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:100:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
100 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:114:16: 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(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:118:16: 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(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:122:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
122 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:127:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
127 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:137:22: 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.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:152:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
152 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:156:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
156 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:160:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
160 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:165:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
165 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:170:1: warning: control reaches end of non-void function [-Wreturn-type]
170 | }
| ^