擅长:python、mysql、java
<p>管理所有案例的最小纯python代码。</p>
<pre><code>output = ''
n = ''
c = ''
for x in input + 'a':
if x.isdigit():
n += x
else:
if n == '':
n = '1'
output = output + c*int(n)
n = ''
c = x
</code></pre>
<p>对于<code>input="WA5OUH2!10"</code>,<code>output</code>是<code>WAAAAAOUHH!!!!!!!!!!</code>。
<code>+'a'</code>是因为输出延迟,所以在最后执行良好行为。</p>