题目描述
You are provided with an input containing a number. Implement a solution to find the largest sum of consecutive increasing digits , and present the output with the largest sum and the positon of start and end of the consecutive digits.
Example :
Input :> 8789651
Output :> 24:2-4
where 24 is the largest sum and 2-4 is start and end of the consecutive increasing digits.
输入格式
见题面
输出格式
见题面
样例输入
[':', 'Input :> 8789651']
样例输出
['where 24 is the largest sum and 2-4 is start and end of the consecutive increasing digits.']