Problem reverseandmin
User blob
Submission Time 2023-12-11 10:33:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘int reverse_and_minimize(int, int)’:
reverseandmin.cpp:27:13: error: ‘operations’ was not declared in this scope; did you mean ‘operation’?
27 | operations++;
| ^~~~~~~~~~
| operation
reverseandmin.cpp:34:13: error: ‘operations’ was not declared in this scope; did you mean ‘operation’?
34 | if (operations == K && x == original_x) {
| ^~~~~~~~~~
| operation