Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

rate my fizzbuzz

Name: Anonymous 2013-03-28 15:46


begin(a,b)=1
fizzbuzz(n)=if(eq(n,101),0,begin(if(eq(%(n,15),0),output("FizzBuzz"),if(eq(%(n,5),0),output("Buzz"),if(eq(%(n,3),0),output("Fizz"),output(n)))),fizzbuzz(+(n,1))))
main()=fizzbuzz(1)

Name: Anonymous 2013-03-28 16:24

0/10

Name: Anonymous 2013-03-28 17:12

Fizz

Name: Anonymous 2013-03-28 17:16

4

Name: Anonymous 2013-03-28 17:17

LELL

Name: Anonymous 2013-03-28 17:28

It's rather hard to read. I'll give it a 1/10.

Name: Anonymous 2013-03-28 17:30

>>6
U FUCK YOU!!!! I COOKED BEANS WITH RECIPE FOUND ON PROG
NOW IM FARTING NONSTOP FOR 48HOURS?

Name: Anonymous 2013-03-28 20:24

main = putStrLn $ let a n = (==0) . flip mod n in let b n | a 15 n = "FizzBuzz" | a 3 n = "Fizz" | a 5 n = "Buzz" | True = show n in concatMap ((++", ") . b) [0..]

Name: Anonymous 2013-03-28 20:25


bindself fizzbuzz conjure empty
enchant fizzbuzz if (> n 100) unsummon self
enchant fizzbuzz if (= (% n 15) 0) and (print "FizzBuzz") (skip 3)
enchant fizzbuzz if (= (% n 5) 0) and (print "Buzz") (skip 2)
enchant fizzbuzz if (= (% n 3) 0) and (print "Fizz") (skip 1)
enchant fizzbuzz print n
enchant fizzbuzz set n + n 1
summon fizzbuzz with n 1

Name: Anonymous 2013-03-28 22:26

use feature 'say';

sub fizzbuzz
{ return "FizzBuzz" unless $_ % 15;
  return "Buzz" unless $_ % 5;
  return "Fizz" unless $_ % 3;
  return $_; }

say fizzbuzz for 1..100;

Name: Anonymous 2013-03-28 22:35

#define FBSTR(a,b,c,d,e,f,g,h) #a "\n" #b "\nFizz\n" #c "\nBuzz\nFizz\n" #d   \
                               "\n" #e "\nFizz\nBuzz\n" #f "\nFizz\n" #g "\n" \
                               #h "\nFizzBuzz\n"

#define FBSTRA(a,b) FBSTR(a##1,a##2,a##4,a##7,a##8,b##1,b##3,b##4)
#define FBSTRB(a,b) FBSTR(a##6,a##7,a##9,b##2,b##3,b##6,b##8,b##9)
#define FBSTRAB(a,b,c) FBSTRA(a,b) FBSTRB(b,c)

int main(void)
 { write(1, FBSTRAB(,1,2) FBSTRAB(3,4,5) FBSTRAB(6,7,8) FBSTRA(9,), 413); }

Name: Anonymous 2013-03-28 22:36

>>1
What language is this? It's so prefix.

Name: Anonymous 2013-03-28 22:37

Symta:

100 each/I say <(I mod 3).(0=\Fizz) join (I mod 5).(0=\Buzz) | I>

Name: Anonymous 2013-03-28 23:14

Symta is so much superior to all your Abrahamic kabbalistic bullshit languages. It's not even funny anymore.

Name: Anonymous 2013-03-29 0:09

1[$101\>][$$[$2>][3-]#\[$4>][5-]#$@$@*[@$.@@]?~["Fizz"]?~["Buzz"]?"
"1+]#%

Name: Anonymous 2013-03-29 0:21

>>14
Poe's law, I can't even tell if you're trolling or the real thing.

Name: Anonymous 2013-03-29 0:51

>>16
So if I call to lynch Jewish billionaire and donate Jewish capitals to goyish orphans, you can't tell if I'm trolling?

Name: Anonymous 2013-03-29 0:54

>>17
Then can it be, that I'm both trolling and calling for the real thing? I.e. I want Jews to be both trolled and dead, while empowering goyim by former Jewish property. It would no doubt be amusing to see 3rd World War, when Jews again fight for their evil lives.

Name: Anonymous 2013-03-29 1:00

>>17
What if you could get your wish only if it meant the death of the russian people as well?

Name: Anonymous 2013-03-29 4:12

>>19
"Russian" is a buzzword adjective, so many Jews call themselves "Russian", as well as many Jew call themselves "American" or "European".

Name: Anonymous 2013-03-29 4:26

print '\n'.join(''.join((str(i), ' ', (not i % 3 or '') and 'fizz', (not i % 5 or '') and 'buzz')) for i in xrange(1, 101) if not i % 3 or not i % 5)

Name: Anonymous 2013-03-29 5:23

rate my dubs

Name: Anonymous 2013-03-29 9:21

>>12
it's not been implemented yet http://esolangs.org/wiki/Lazy

Name: Anonymous 2013-03-29 16:37

seq 100 | awk '!($0%3||$0%5){print"FizzBuzz";next}!($0%3){print"Fizz";next}!($0%5){print"Buzz";next}1'

Name: Anonymous 2013-03-29 17:04

>>20
he doesn't understand what passports represent
laughingjews.jpg

Don't change these.
Name: Email:
Entire Thread Thread List