Collatz Problem by uru

package
main
import."os"func
main(){n:=[]int{54,22,6}[Getpid()%3];for n>1{r:=n&1;n/=2-r;n+=n*r*2+r;println(n)}}

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

download

return to the top page