Calculator Community > Community Contests

[ENDED] Code Golf Contest #7

<< < (2/8) > >>

Matrefeytontias:
44 bytes in z80 ASM.

EDIT : 42 bytes

EDIT 2 : 41 bytes

EDIT 3 : 38 bytes (unstoppable me)

EDIT 4 : 37 bytes

EDIT 5 : 36 bytes

Juju:
47 43 42 bytes of Ruby here.

JWinslow23:

--- Quote from: Adriweb on August 26, 2014, 08:19:54 am ---Got a 101-bytes one in Lua.

Also, that's assuming you want to have displayed only 0 if it's not possible, and nothing else printed during the process.
(Because if other number can appear in the loop as well as 0, well, I got a shorter one.)

--- End quote ---
Only 0.
And WOW, some of these submissions are even smaller than my Golfscript solution! :P First time ever that a lang other than CJam has beaten Golfscript.

Juju:
Oh wait, my solution throws an error instead of printing 0. Whatever, that just adds 8 bytes.

Matrefeytontias:
What do you mean by printing 0 actually ? I didn't get that part.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version