partition by parity by nn

for(m=i=-1e5;it[readline(p=print)]=i-~m;i=i+m?i+2:~p())it[i]&&p(i-11?i:i|p(i))

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

download

return to the top page