Problem | reverseandmin |
---|---|
User | blob |
Submission Time | 2023-12-11 11:11:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
reverseandmin.cpp: In function ‘int findMinValue(int, int)’:
reverseandmin.cpp:19:22: error: ‘original’ was not declared in this scope
19 | while (countDigits(original) > 1 && operations < K) {
| ^~~~~~~~
reverseandmin.cpp:19:10: error: ‘countDigits’ was not declared in this scope
19 | while (countDigits(original) > 1 && operations < K) {
| ^~~~~~~~~~~
reverseandmin.cpp:32:32: error: ‘original’ was not declared in this scope
32 | if (operations == K && original == x) {
| ^~~~~~~~
reverseandmin.cpp: At global scope:
reverseandmin.cpp:40:5: error: expected unqualified-id before ‘return’
40 | return count;
| ^~~~~~
reverseandmin.cpp:41:1: error: expected declaration before ‘}’ token
41 | }
| ^