partition by parity by xulapp(chocobi)

for(int i,a[]=stdin;i<2;write(),++i)for(int n:sort(a))if(n%2==i)write(n);

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

download

return to the top page