Author Topic: [ENDED] Code Golf Contest #9  (Read 39336 times)

0 Members and 1 Guest are viewing this topic.

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Code Golf Contest #9
« Reply #30 on: September 11, 2014, 03:12:03 pm »
Well that's the challenge, print a specific number with a language that supports numbers but without using any ;)
It's like running a game, it's not impressive on a game console but it is more of a challenge on a printer.
But wouldn't it be a real challenge if there were no numbers or letters in the language at all? ;)
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline Hayleia

  • Programming Absol
  • Coder Of Tomorrow
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3367
  • Rating: +393/-7
    • View Profile
Re: Code Golf Contest #9
« Reply #31 on: September 11, 2014, 03:19:18 pm »
It would and it wouldn't.
With such languages, writing anything is a challenge, but writing something specific is not more of a challenge than writing something else ;)
I own: 83+ ; 84+SE ; 76.fr ; CX CAS ; Prizm ; 84+CSE
Sorry if I answer with something that seems unrelated, English is not my primary language and I might not have understood well. Sorry if I make English mistakes too.

click here to know where you got your last +1s

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #9
« Reply #32 on: September 11, 2014, 10:53:55 pm »
Deadline reset.
« Last Edit: September 13, 2014, 08:24:07 pm by JWinslow23 »
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #9
« Reply #33 on: September 13, 2014, 08:24:37 pm »
Bump.

I just have to tell this to someone.

The top entry in Contest #9 is 4 bytes
The next 4 entries are 9 bytes (that's not all...)
The next entry is 18 bytes (and 1+8=9)
The next 2 entries are 22 bytes (2 2s together)
The ninth entry is 32 bytes (and 3^2=9)
Looking at the next 4 entries, the first 2 and last 2:
      a). are done in different variants of the same lang
      b). have size differences of 1 byte
      c). the more advanced version of the lang has the smaller size

Coincidence? I think not!
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Princetonlion.tibd

  • Members
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 790
  • Rating: +3/-4
    • View Profile
Re: Code Golf Contest #9
« Reply #34 on: September 13, 2014, 08:25:59 pm »
Are you suggesting we are doing this on purpose :trollface:

my 68k, if it qualifies, is an exception. more advanced but huge :P due to me not knowing how to optimize well with 68k.

EDIT: I don't qualify. forgot :P
« Last Edit: September 13, 2014, 08:36:52 pm by Princetonlion.tibd »

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #9
« Reply #35 on: September 13, 2014, 08:39:20 pm »
Wait...take the sum of all of the entry sizes in the Language Ranking list (330, if you don't wanna do the math :P )...

...the sum of the digits is 9 (but it doesn't stop there)...

...also, divide the sum by the largest value (63)...

...you get 5.23809523809523809... (repeating)...

...the section that repeats is 5,2,3,8,0,9...

...add them together, you get 27...

...add up the digits of 27, you get 9...

...which is also the number of the contest!

Coincidence? :P
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Juju

  • Incredibly sexy mare
  • Coder Of Tomorrow
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 5730
  • Rating: +500/-19
  • Weird programmer
    • View Profile
    • juju2143's shed
Re: Code Golf Contest #9
« Reply #36 on: September 14, 2014, 11:20:19 am »
I broke the 9 wall >.>

Remember the day the walrus started to fly...

I finally cleared my sig after 4 years you're happy now?
THEGAME
This signature is ridiculously large you've been warned.

The cute mare that used to be in my avatar is Yuki Kagayaki, you can follow her on Facebook and Tumblr.

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #9
« Reply #37 on: September 14, 2014, 08:43:41 pm »
4 hours left! Make your last 9 solutions and early 10 solutions!
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline alberthrocks

  • Moderator
  • LV8 Addict (Next: 1000)
  • ********
  • Posts: 876
  • Rating: +103/-10
    • View Profile
Re: Code Golf Contest #9
« Reply #38 on: September 15, 2014, 01:00:37 am »
4 hours left! Make your last 9 solutions and early 10 solutions!
Final entry submitted at 12:59 AM 9/15/14! :D

EDIT: 1 AM exact! :o
« Last Edit: September 15, 2014, 01:04:45 am by alberthrocks »
Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/


Proud member of ClrHome!

Miss my old signature? Here it is!
Spoiler For Signature:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it! http://withg.org/albert/cpuhero/

Withgusto Networks Founder and Administrator
Main Server Status: http://withg.org/status/
Backup Server Status: Not available
Backup 2/MC Server Status: http://mc.withg.org/status/

Activity remains limited due to busyness from school et al. Sorry! :( Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern. :)

Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.


Proud member of ClrHome!

Spoiler For "My Projects! :D":
Projects:

Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it :P)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it :P)
wxWabbitemu: 40% done (NEED MOAR FEATURES :P)

Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming :P)

Offline JWinslow23

  • Coder Of Tomorrow
  • LV7 Elite (Next: 700)
  • *******
  • Posts: 556
  • Rating: +43/-6
  • I make quality calculator games...when I have time
    • View Profile
Re: Code Golf Contest #9
« Reply #39 on: September 15, 2014, 06:36:50 pm »
Congratulations, alberthrocks! I am accepting your submissions.
Did you know that "Ammonia Gas" rearranged is "As Omnimaga"?
Click here for the only set of games you'll ever need
= ?

Offline Adriweb

  • Editor
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1708
  • Rating: +229/-17
    • View Profile
    • TI-Planet.org
Re: Code Golf Contest #9
« Reply #40 on: September 16, 2014, 12:16:17 am »
BTW, optimization for (Nspire)-Lua based on LDStudio's code  ( 2 bytes less, 32 total )

Code: [Select]
s=string.byte print(s"\r"..s"%")
My calculator programs
TI-Planet.org co-admin.
TI-Nspire Lua programming : Tutorials  |  API Documentation

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf Contest #9
« Reply #41 on: June 10, 2015, 01:42:21 am »
I would like to point out that calc84's submission in TI-BASIC is 10 bytes, not 9, because e is a two-byte token.

Edit: int(π2^π+cosh(e is 9 bytes.

Edit: -int(-10^(πtanh(int(π is 8 bytes. A solution in 7 may be possible.
« Last Edit: June 10, 2015, 08:58:29 pm by lirtosiast »

Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf Contest #9
« Reply #42 on: June 10, 2015, 09:09:41 pm »
Since these Code Golf topics are no longer running, will you please refrain from posting in these topics? What you are doing is called necroposting, and it is generally frowned upon unless it has something valuable to add to the conversation or is a thread re-pick-up or update. Thanks.
I am Bach.

Offline lirtosiast

  • LV3 Member (Next: 100)
  • ***
  • Posts: 44
  • Rating: +1/-0
    • View Profile
Re: Code Golf Contest #9
« Reply #43 on: June 10, 2015, 09:19:22 pm »
Sorry! I was under the impression that the code golf contest threads were open to discussion about the optimal solution to the problems, even after the end of the contest. I know the contests have been closed for months, but I thought I was contributing something valuable.

Offline pimathbrainiac

  • Occasionally I make projects
  • Project Author
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1731
  • Rating: +136/-23
  • dagaem
    • View Profile
Re: Code Golf Contest #9
« Reply #44 on: June 10, 2015, 09:23:38 pm »
It's okay. The way you phrased your reply was a little off-putting, though. A hint: if you see the red text about the topic being over 120 days since the last post (or however long that is), it probably isn't a good idea to post.
I am Bach.