4 ms·
Um, nope, it is within the spec. The spec doesn't mention not printing other numbers. He met the req of printing 1-100 (he just also happened to print 0).
by xanadohnt 14y ago
Um, nope, it is within the spec. The spec doesn't mention not printing other numbers. He met the req of printing 1-100 (he just also happened to print 0).
- mkopinsky 14y agoBy this logic, the following would also be an acceptable solution: cat /dev/random > fizzbuzz.txt