Odious Numbers (Long)
An odious number is a non-negative number that has an odd number of 1s in its binary expansion.
Print all the odious numbers from 0 to 1,000 inclusive, each on their own line.
0 bytes, 0 charsRestore solution
Compiled from AT&T syntax to x86-64 Linux. Use syscalls to write output.
ctrl + enter or