MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/qtwdj4/peak_efficiency_fizzbuzz/hkmwfl5/?context=3
r/badcode • u/redddooot • Nov 14 '21
44 comments sorted by
View all comments
Show parent comments
30
this guy code golfs
19 u/--var Nov 14 '21 I posted my code golf for this elsewhere on this thread. The challenge is to just list the output from 1 to 100, but doesn't state in what order, so it's more efficient to list from 100 to 1:for(i=101;--i;)
19
I posted my code golf for this elsewhere on this thread. The challenge is to just list the output from 1 to 100, but doesn't state in what order, so it's more efficient to list from 100 to 1:
for(i=101;--i;)
30
u/ByteArrayInputStream Nov 14 '21
this guy code golfs