combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:31:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
31 | if (f!='A') v.pb('A'); if (f!='B') v.pb('B'); if (f!='X') v.pb('X'); if (f!='Y') v.pb('Y');
| ^~
combo.cpp:31:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
31 | if (f!='A') v.pb('A'); if (f!='B') v.pb('B'); if (f!='X') v.pb('X'); if (f!='Y') v.pb('Y');
| ^~
combo.cpp:36:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | while (s.length()!=N) {
| ~~~~~~~~~~^~~
combo.cpp:55:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if (x==s.length() && x==p.length()/2-1) {
| ~^~~~~~~~~~~~
combo.cpp:55:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if (x==s.length() && x==p.length()/2-1) {
| ~^~~~~~~~~~~~~~~~
combo.cpp:62:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
62 | else if (x>s.length()+Or.size()/2){
| ~^~~~~~~~~~~~~~~~~~~~~~~
combo.cpp:69:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | } else if(x>s.length()) {
| ~^~~~~~~~~~~
combo.cpp:12:7: warning: unused variable 'n' [-Wunused-variable]
12 | int n=N;
| ^