import java.util.*; public class Solution { /** * 代码中的类名、方法名、参数名已经指定,请勿修改,直接返回方法规定的值即可 * * * @param S string字符串 * @return int整型 */ public int getNumber (String S) { // write code here int res = 0; for(int i = S.length()-1,times=0;i>=0;i--,times++){ int num = 1; for(int j =0;j<times;j++){ num=n...