F
fREW
Robert
APL was my guest too.
Robert
quoth the Ari Brown:
Mine is 8 lines (not including the shebang) two of which are 'end's. I wrote
it in probably the most obvious way, so it's certainly not 'clever' or
anything.
From: "Ari Brown said:Hey all, I have a quick question on this quiz:
I have a working version of it, but I just want to compare and see
what everyone else got.
How many lines do you have it written in?
Sander Land said:Mathematica.
Write a program that prints the numbers from 1 to 100.
But for multiples of three print =93Fizz=94 instead of the
number and for the multiples of five print =93Buzz=94. For
numbers which are multiples of both three and five
print =93FizzBuzz=94.
Do you mean it is Mathematica or do you mean it is BingoBingo.
Ruby Quiz said:Write a program that prints the numbers from 1 to 100.
But for multiples of three print "Fizz" instead of the
number and for the multiples of five print "Buzz". For
numbers which are multiples of both three and five
print "FizzBuzz".
Anyone care for a friendly game of golf?
I've got this in 67 characters...
Hi --
I'm afraid I'm stuck on 71. Is it OK to post solutions here at this
stage?
Anyone care for a friendly game of golf?
I've got this in 67 characters...
I'm afraid I'm stuck on 71. Is it OK to post solutions here at this
stage?
case s
when s + 1 == y and s - 1 == q
also, modulus is x % y, right?
Anyone care for a friendly game of golf?
I've got this in 67 characters...
James Edward Gray II said:Is that how you would solve it in your job interview? Just curious.
version interprets the specification literally by printing "Fizz",
"Buzz" or
"FizzBuzz" *with* the double quotation marks
I can't wait for tomorrow to see how you all got such ridiculously lowSun said:I golf too!
I got to reach 56 bytes, but I highly doubt I can shave one more byte
from
it.
I can't wait for tomorrow to see how you all got such ridiculously low
numbers =)
We failed, just look at the achieves, I do not consider that a spoilerI golf too!
I got to reach 56 bytes, but I highly doubt I can shave one more byte from
it.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.