Sharkovskii order by nai(no asm)

b,a;f(int*s,int*t){return(*t&-*t)%*s-(*s&-*s)?:*t-*s;}main(){~scanf("%d\n",&a+b++)?main()^vprintf():qsort(&a,b,4,f);}

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

download

return to the top page