combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:21:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:37:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:41:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:45:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:50:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
50 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:60:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
60 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:74:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:78:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
78 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:82:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:87:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
87 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:97:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
97 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:111:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
111 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:115:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:119:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
119 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:124:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
124 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:134:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
134 | while(s.length() != N-1) {
| ~~~~~~~~~~~^~~~~~
combo.cpp:149:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
149 | if(sonuc == s.length()) {
| ~~~~~~^~~~~~~~~~~~~
combo.cpp:153:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
153 | if(sonuc == s.length()+1) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:157:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
157 | if(sonuc == s.length()+2) {
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:162:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
162 | if(s.length() == N) return s;
| ~~~~~~~~~~~^~~~
combo.cpp:167:1: warning: control reaches end of non-void function [-Wreturn-type]
167 | }
| ^