📅  最后修改于: 2022-03-11 14:49:12.195000             🧑  作者: Mango
public class Program
{ //"A4B5C2" â "AAAABBBBBCC"
public static string MysteryFunc(string s)
{ string s2 = "";
for (int i = 0; i < s.Length; i+=2)
s2 += new string(s[i], int.Parse((s[i+1]).ToString()));
return s2;
}
}