partition by parity by pooq

File standardInput readLines map(asNumber)sort do(map($,$ %2>0or$println);writeln;map($,$ %2<1or$println))

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

download

return to the top page