combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:18:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:34:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:38:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:42:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:47:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
47 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:57:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
57 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:71:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
71 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:75:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
75 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:79:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:84:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
84 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:94:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
94 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:108:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
108 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:112:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
112 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:116:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
116 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:121:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
121 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:131:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
131 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:146:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
146 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:150:16: 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(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:154:16: 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(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:159:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
159 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:164:1: warning: control reaches end of non-void function [-Wreturn-type]
164 | }
| ^