Problem reverseandmin
User ZhongDing
Submission Time 2023-12-11 12:43:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘int main()’:
reverseandmin.cpp:17:50: error: expected ‘;’ before ‘if’
17 | if (K%10 != 0 && reversed_number<=N) ans += 1
| ^
| ;
18 | if (K<=N) ans += floor(log10(N/K)) + 1;
| ~~