WA in DIGJUMP

Solution: 47908175 | CodeChef Why is this code not working for Chef and Digit Jumps | CodeChef