STRING by pooq

i:=File standardInput readLines
for(j,1,600,3,s:=i at(j);if((a:=i at(j+1)asNumber)<0,s=s reverse);s repeated(a abs)println)

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

download

return to the top page