Problem reverseandmin
User ATHY
Submission Time 2025-03-12 14:41:48
Score 0
Max Time N/A
Max Memory N/A

Compile Error

reverseandmin.cpp: In function ‘int main()’:
reverseandmin.cpp:26:23: error: ‘n’ was not declared in this scope
26 | for (ll p=1; K*p<=n; p*=10) c++;
| ^
reverseandmin.cpp:28:8: error: ‘llp’ was not declared in this scope; did you mean ‘ll’?
28 | for (llp=1;rev_K*p<=n;p*=10) c++;
| ^~~
| ll
reverseandmin.cpp:28:20: error: ‘p’ was not declared in this scope
28 | for (llp=1;rev_K*p<=n;p*=10) c++;
| ^
reverseandmin.cpp:28:23: error: ‘n’ was not declared in this scope
28 | for (llp=1;rev_K*p<=n;p*=10) c++;
| ^