parity of numbers by katis

package main
import"fmt"
func main() {for i:=0;i<256;i++{o:=0;j:=i;for j!=0{o++;j&=(j-1)};fmt.Print(o&1)}}

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

download

return to the top page