stable partition by pooq

"   "split do((b:=File standardInput readLine)foreach(v,if(v<p:=b at(0),at(0),if(p<v,at(2),at(1)))append(v)))map(print)

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

download

return to the top page