harbor run -t openthoughts/tasktrove-mix-h11-compositional-gradient-v2-mix-h11-compositional-1534
harbor download openthoughts/tasktrove-mix-h11-compositional-gradient-v2-mix-h11-compositional-1534
Your task is to find the maximum possible sum of the digits (in base 10) of a positive integer that is not greater than a given integer ( N ).
Input:
N = 5
Output:
5
N = 28
10
N = 12345
30
The solution for this problem should be implemented in the /app/ directory.
/app/