combo.cpp:14:34: warning: multi-character character constant [-Wmultichar]
14 | s += 'A', letters += 'BXY';
| ^~~~~
combo.cpp:16:34: warning: multi-character character constant [-Wmultichar]
16 | s += 'B', letters += 'AXY';
| ^~~~~
combo.cpp:22:34: warning: multi-character character constant [-Wmultichar]
22 | s += 'X', letters += 'ABY';
| ^~~~~
combo.cpp:24:34: warning: multi-character character constant [-Wmultichar]
24 | s += 'Y', letters += 'ABX';
| ^~~~~
combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:14:34: warning: overflow in conversion from 'int' to 'char' changes value from '4347993' to ''Y'' [-Woverflow]
14 | s += 'A', letters += 'BXY';
| ^~~~~
combo.cpp:16:34: warning: overflow in conversion from 'int' to 'char' changes value from '4282457' to ''Y'' [-Woverflow]
16 | s += 'B', letters += 'AXY';
| ^~~~~
combo.cpp:22:34: warning: overflow in conversion from 'int' to 'char' changes value from '4276825' to ''Y'' [-Woverflow]
22 | s += 'X', letters += 'ABY';
| ^~~~~
combo.cpp:24:34: warning: overflow in conversion from 'int' to 'char' changes value from '4276824' to ''X'' [-Woverflow]
24 | s += 'Y', letters += 'ABX';
| ^~~~~
combo.cpp:32:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | if(cost == idk.size())
| ~~~~~^~~~~~~~~~~~~
combo.cpp:34:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | else if(cost == idk.size() + 1)
| ~~~~~^~~~~~~~~~~~~~~~~