Problem Link: https://www.codechef.com/problems/ARHN03
Hello Everyone, I came through a question on codechef which has no correct submission. I was wondering if there is someone who can provide the correct solution and if the question can be reformatted like limits of test cases, a and b can be included in the question, it would help.
Edit : Same question is at SPOJ in which limits are mentioned and that has accepted solutions.
Problem Link: https://www.spoj.com/problems/LASTDIG/