Reverse BWT by murky-satyr

for(;s=readline(z=[]);print(z[n]))for(x in[n,t]=s.split(' '),t){for(i in t)z[i]=t[i]+(z[i]||'')\x0d
z.sort()}

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

download

return top