stable partition by kurimura

import std.stdio;void main(){string l,m,s;foreach(c;s=readln)m=c<*s?l~=c,m:*s<c?m~c:c~m;write(l,m);}

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

download

return to the top page