differentiation by llhuii(noimport)

while 1:
\x09p=''
\x09for n in raw_input().split('x'):b=n<'^'or int(n[1]);a=p and a+p[2:c*3]+`b*int(p[3*c:])`+'x^'[:b-1]+b/3*`~-b`;c=b>1;p=n
\x09print a

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page