[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Prove you can fizzbuzz

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 42
Thread images: 7

File: 1490453238621.jpg (236KB, 963x1024px) Image search: [Google]
1490453238621.jpg
236KB, 963x1024px
Prove you can fizzbuzz
>>
>>59812879
delet
>>
>>59812879
import fizzbuzz
print(fizzbuzz.do(100))
>>
File: 1490878427450.png (446KB, 2518x1024px) Image search: [Google]
1490878427450.png
446KB, 2518x1024px
>>59812879
>>
File: 1472844021201.png (312KB, 853x853px) Image search: [Google]
1472844021201.png
312KB, 853x853px
>>
>>59812879
This hits too close to home.
>>
>>59812879
Easy.

++++++++++[>++++++++++<-]>>++++++++++>->>>>>>>>>>>>>>>>-->+++++++[->++
++++++++<]>[->+>+>+>+<<<<]+++>>+++>>>++++++++[-<++++<++++<++++>>>]++++
+[-<++++<++++>>]>>-->++++++[->+++++++++++<]>[->+>+>+>+<<<<]+++++>>+>++
++++>++++++>++++++++[-<++++<++++<++++>>>]++++++[-<+++<+++<+++>>>]>>-->
---+[-<+]-<[+[->+]-<<->>>+>[-]++[-->++]-->+++[---++[--<++]---->>-<+>[+
+++[----<++++]--[>]++[-->++]--<]>++[--+[-<+]->>[-]+++++[---->++++]-->[
->+<]>>[.>]++[-->++]]-->+++]---+[-<+]->>-[+>>>+[-<+]->>>++++++++++<<[-
>+>-[>+>>]>[+[-<+>]>+>>]<<<<<<]>>[-]>>>++++++++++<[->-[>+>>]>[+[-<+>]>
+>>]<<<<<]>[-]>>[>++++++[-<++++++++>]<.<<+>+>[-]]<[<[->-<]++++++[->+++
+++++<]>.[-]]<<++++++[-<++++++++>]<.[-]<<[-<+>]+[-<+]->>]+[-]<<<.>>>+[
-<+]-<<]
>>
File: vwalk-gotta-go-fast.png (43KB, 312x436px) Image search: [Google]
vwalk-gotta-go-fast.png
43KB, 312x436px
I'm too fast for memes.
>>
mov dx,03030h

----

mov ah,0Eh


mov bl,100d
xor cx,cx

xor bh,bh


writeloop:
inc dl
cmp dl,3Ah
jnz writeloop1
mov dl,30h
inc dh
writeloop1:
inc bh
cmp bh,03h


jz writefizz

cmp dl,30h
jz writebuzz
cmp dl,35h
jz writebuzz


mov al,dh
int 10h
mov al,dl
int 10h
writespace:
mov al,020h
int 10h
dec bl
jnz writeloop

programend:
cli
hlt
jmp programend

writefizz:
mov si,offset fizz
call write
xor bh,bh

cmp dl,30h
jz writebuzz
cmp dl,35h
jnz writespace


writebuzz:


mov si,offset buzz
call write
jmp writespace


write:
mov cl,04h

write1:
mov al,[si]
inc si
int 10h


loop write1
ret


fizz:
db "fizz"

buzz:
db "buzz"
>>
>>59813285
revolting. delete your post
>>
>>59812879
Assuming you need it up to 100, I can do it in about 100 lines
>>
>>59813301
I, too, want to impregnate Maki with my seed
>>
>>59813330
too bad. maki doesn't like boys in that way
>>
>>59812965
>>59812965
this, which is sad. I didn't know I was so predictable
>>
d = {(True, False): 'Fizz',
(False, True): 'Buzz',
(True, True): 'FizzBuzz'}

for i in range(1, 101):
print(d.get((bool(i%3), bool(i%5)), i)
>>
for i = 1:100;
if rem(i,3) == 0
if rem(i,5) == 0
fprintf('FizzBuzz\n')
else
fprintf('Fizz\n')
end
elseif rem(i,5) == 0
fprintf('Buzz\n')
else
fprintf('%d\n',i)
end
end
>>
>>59813889
>>59812965
Underlying cause is social phobia / fear of other people, developed early in life through an overbearing - strict father/mother figure.
Result: the desire to become invisible
>>
>>59812879
class FizzBuzzCommandlet extends Commandlet;

event int Main(string Parms)
{
local int i;
local string S;

while(i++ < 100)
{
S = "";
if(i % 3 == 0)
S $= "Fizz";
if(i % 5 == 0)
S $= "Buzz";
Log(Eval(S=="",i,S));
}
return 0;
}
>>
>>59812955
>not using modulo
>instead reinventing modulo like a faggot
>posting with an anime picture
>>
File: fizzbuzz.png (798KB, 1230x810px) Image search: [Google]
fizzbuzz.png
798KB, 1230x810px
>>
File: 1485314109208.jpg (65KB, 770x702px) Image search: [Google]
1485314109208.jpg
65KB, 770x702px
>>59813138
H-HAYAI!
>>
>>59814902
what should we do to fix ourselves?
>>
>>59816099
find people with common interests and spend time interacting with them.
>>
>>59816427
Interact with them in meatspace. Not over a computer network.
>>
>>59814902
FUCK
>>
>>59814902
hello darkness my old firend
>>
>>59812879
I'd never wear new balance tho
>>
>>59816427
well, I do know people who have common interests.. they are my coworkers, and are as nerdy and a-social as me.
I'm 30, and even if I try, I just can't talk or interact with people in a "normal" way. I probably am damaged for life...
>>
>>59816706
hell, I know this is 4chan and barely anyone here will believe me, but I've had hot women get close to me, talk to me and even throw themselves at me, and I did nothing at all, simply because of the fear

sage because off-topic
>>
I'm everything in that pic except for the New Balance shoes and the part about the hair (I'm balding and thus have it buzzed). I'm not a virgin though, and had a longterm gf... once.
>>
>>59812955
If this is your desktop, what image viewer do you use?
>>
File: 1490347372094.jpg (196KB, 432x444px) Image search: [Google]
1490347372094.jpg
196KB, 432x444px
>>59812879
>be tall
>walk slightly faster than average person because longer legs
>have to look below horizontal because everyone's faces are there
>still get loads of pussy, because women prefer taller guys
>>
>>59812955
That's a foobar not a fizzbuzz you moron.
>>
>>59812908
where is the virgin chad edition?
>>
>>59813338
she doesn't need to like boys, we'll force her into submission :^))))))))))
>>
>>59816739
maybe you're secretly a faggot
>>
>>59813274
savage
>>
>people falling for the virgin walk meme again

It was made to trigger everyone, you fucking asswipes.
>>
>>59812879
>pours cola on a rapi plugged in a 240
There's your damn fizzy buzz
>>
>fizzbuzz

Your meme is deprecated, oldfag. Now we're summing all primes under 2 billion or something.
>>
>>59815665
oh my god did he really show us up that hard and fizzbuzz us in asm?
>>
>>59812879
               >     q
>@F5~%"d@F{ > @F q
_1>F3~%'d`Fizz`@F5~%'d >`Buzz`@FNp
;bL@~.~4~.5~5@ P<
Thread posts: 42
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.