Problem combo
User mertbbm
Submission Time 2023-05-07 10:59:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:71:16: error: ‘n’ was not declared in this scope
71 | for(int x=1;x<n-1;x++){
| ^
combo.cpp:86:6: error: redeclaration of ‘int hold’
86 | int hold=press(ans+"A"+ans+"B");
| ^~~~
combo.cpp:8:6: note: ‘int hold’ previously declared here
8 | int hold= press("AB");
| ^~~~