combo.cpp:56:19: warning: multi-character character constant [-Wmultichar]
56 | test+='XY';
| ^~~~
combo.cpp:58:19: warning: multi-character character constant [-Wmultichar]
58 | test+='XB';
| ^~~~
combo.cpp:60:19: warning: multi-character character constant [-Wmultichar]
60 | test+='XX';
| ^~~~
combo.cpp:74:19: warning: multi-character character constant [-Wmultichar]
74 | test+='XY';
| ^~~~
combo.cpp:76:19: warning: multi-character character constant [-Wmultichar]
76 | test+='XA';
| ^~~~
combo.cpp:78:19: warning: multi-character character constant [-Wmultichar]
78 | test+='XX';
| ^~~~
combo.cpp:92:19: warning: multi-character character constant [-Wmultichar]
92 | test+='AY';
| ^~~~
combo.cpp:94:19: warning: multi-character character constant [-Wmultichar]
94 | test+='AB';
| ^~~~
combo.cpp:96:19: warning: multi-character character constant [-Wmultichar]
96 | test+='AA';
| ^~~~
combo.cpp:110:19: warning: multi-character character constant [-Wmultichar]
110 | test+='XA';
| ^~~~
combo.cpp:112:19: warning: multi-character character constant [-Wmultichar]
112 | test+='XB';
| ^~~~
combo.cpp:114:19: warning: multi-character character constant [-Wmultichar]
114 | test+='XX';
| ^~~~
combo.cpp: In function 'll go()':
combo.cpp:31:10: error: 'press' was not declared in this scope
31 | ll q=press("AB");
| ^~~~~
combo.cpp: In function 'std::string guess_sequence(ll)':
combo.cpp:56:19: warning: overflow in conversion from 'int' to 'char' changes value from '22617' to ''Y'' [-Woverflow]
56 | test+='XY';
| ^~~~
combo.cpp:58:19: warning: overflow in conversion from 'int' to 'char' changes value from '22594' to ''B'' [-Woverflow]
58 | test+='XB';
| ^~~~
combo.cpp:60:19: warning: overflow in conversion from 'int' to 'char' changes value from '22616' to ''X'' [-Woverflow]
60 | test+='XX';
| ^~~~
combo.cpp:61:18: error: 'press' was not declared in this scope
61 | ll k=press(test);
| ^~~~~
combo.cpp:74:19: warning: overflow in conversion from 'int' to 'char' changes value from '22617' to ''Y'' [-Woverflow]
74 | test+='XY';
| ^~~~
combo.cpp:76:19: warning: overflow in conversion from 'int' to 'char' changes value from '22593' to ''A'' [-Woverflow]
76 | test+='XA';
| ^~~~
combo.cpp:78:19: warning: overflow in conversion from 'int' to 'char' changes value from '22616' to ''X'' [-Woverflow]
78 | test+='XX';
| ^~~~
combo.cpp:79:18: error: 'press' was not declared in this scope
79 | ll k=press(test);
| ^~~~~
combo.cpp:92:19: warning: overflow in conversion from 'int' to 'char' changes value from '16729' to ''Y'' [-Woverflow]
92 | test+='AY';
| ^~~~
combo.cpp:94:19: warning: overflow in conversion from 'int' to 'char' changes value from '16706' to ''B'' [-Woverflow]
94 | test+='AB';
| ^~~~
combo.cpp:96:19: warning: overflow in conversion from 'int' to 'char' changes value from '16705' to ''A'' [-Woverflow]
96 | test+='AA';
| ^~~~
combo.cpp:97:18: error: 'press' was not declared in this scope
97 | ll k=press(test);
| ^~~~~
combo.cpp:110:19: warning: overflow in conversion from 'int' to 'char' changes value from '22593' to ''A'' [-Woverflow]
110 | test+='XA';
| ^~~~
combo.cpp:112:19: warning: overflow in conversion from 'int' to 'char' changes value from '22594' to ''B'' [-Woverflow]
112 | test+='XB';
| ^~~~
combo.cpp:114:19: warning: overflow in conversion from 'int' to 'char' changes value from '22616' to ''X'' [-Woverflow]
114 | test+='XX';
| ^~~~
combo.cpp:115:18: error: 'press' was not declared in this scope
115 | ll k=press(test);
| ^~~~~
combo.cpp: In function 'void setIO(std::string)':
combo.cpp:25:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
25 | freopen((name + ".in").c_str(), "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
combo.cpp:26:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
26 | freopen((name + ".out").c_str(), "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~