Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Fizz Buzz in Tensorflow (2016). Parent comment
http://codepad.org/KKut69jV
#include <stdio.h> int main() { int i; for (i = 1; i < 101; i++) { int div3 = 0 == i % 3; int div5 = 0 == i % 5; if (div3 || div5) { printf("%s%s\n", div3 ? "fizz" : "", div5 ? "buzz" : ""); } else { printf("%d\n", i); } } return 0; }
There are no comments on this comment yet.
http://codepad.org/KKut69jV
I will admit, it took me 4 tries to get this to compile.