Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,482 of 4,675    |
|    fizz buzz to Bernhard Schornak    |
|    Re: Fast Fizz Buzz program    |
|    21 Jul 18 00:24:52    |
      From: demon.adramelek@nospicedham.gmail.com              On Thursday, July 19, 2018 at 10:56:27 AM UTC-5, Bernhard Schornak wrote:       > fizz buzz wrote:       >       >       > >> Write a program that prints the numbers from 1 to 100...       >       >       > Sorry, but I prefer practical stuff useful for daily tasks,       > where the fastest way is the best solution.              What we're doing right now is similar to sport. Everyone knows that       fastest way to run 100 meters is to use a car, but for some reason       athletes still trying to beat the record using their legs. :-)              > Actually, there       > is no rule not to use my method in your exercise, so you're       > free to choose any way leading to the proper solution. Just       > not to use the fastest way because no on else had that idea       > is a little bit stupid, isn't it?              I am sorry, Bernhard, I didn't try to look mean or anything like that.       It all depends on how we define rules and what we consider cheating.              Me and my friend have a collection of FizzBuzz programs, and all those       programs have same output:              "1\n2\nFizz\n4Buzz\nFizz\n...999997\n999998\nFizz\nBuzz\n"              File with this output will be 6274073 bytes long. We compare the output       of our version with this file to ensure our programs giving us the right       results.              If we starting to stretch the rules, then how far can we go?              For example, rules technically say nothing about new line characters. I       can say that I don't really have to divide output with new lines or blanks.       It will make my life much easier because then I can print "Fizz" (4 bytes) and       "FizzBuzz" (8 bytes) while now I'm forced to print "Fizz\n" (5 bytes) and       "FizzBuzz\n" (9 bytes).              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca