Re:FizzBuzz solved using only bit twiddling
by gmantastic on Monday October 28, 2013 @04:15PM
(#6629467)
Yeah, you're stuck with counting up from 1, although you could tweak it to suppress the output prior to a starting point.
[ Parent
| on HN ]
Re:FizzBuzz solved using only bit twiddling
by deletes on Monday October 28, 2013 @06:10PM
(#6630197)
Here is my C solution for arbitrary positive range: http://ideone.com/a0EdtS
Re:FizzBuzz solved using only bit twiddling
by gmantastic on Tuesday October 29, 2013 @03:17AM
(#6632442)
Nice, I get it. Here's mine tweaked - not so clever: https://gist.github.com/garethjwilliams/7210264