编程笔试题-解密字符串a1bc3d1

题意:把a1bc3d1字符串输出为aabcbcbcd

输入:a1bc3d1

输出:aabcbcbcd

public static String show(String string) {
        String word = "";
        StringBuilder sb = new StringBuilder();
        for(int i=0; i

 

你可能感兴趣的:(笔试题)