Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Six different chars

by mtve (Deacon)
on Mar 30, 2004 at 07:34 UTC ( [id://340876]=note: print w/replies, xml ) Need Help??


in reply to Six different chars

Great! Also based on your idea it could be done with 5 chars and one space, unoptimized code follows:

s''.'.s..''s''s''s''s''s''s''s''s''s''g''g''g''g''g''g''g''g''g''g''g' +'g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g' +'g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g' +'g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g''g' +'''sss'sss'ssg'ssg'ssg'sgs'sgs'sgs'sgs'sgg'sgg'sgg'sgg'sgg'gss'gss'gs +s'gss'gss'gss'gsg'gsg'gsg'gsg'gsg'gsg'gsg'ggs'ggs'ggs'ggs'ggs'ggs'ggs +'ggs'ggg'ggg'ggg'ggg'ggg'ggg'ggg'ggg'ggg..s''s..'.s ees.'''.'''.g.s.'''.'''.g.s.'sss.'sss.g.'.'.s.'''.'''.g.s.'''.'''.g.s. +'sgs.'sgs.g.'.'.s.''s.''s.g.s.'sgg.'sgg.g.'.'.s.'''.'''.g.s.''s.''s.g +.'.'.s.'''.'''.g.s.'''.'''.g.s.'gss.'gss.g.'.'.s.'ssg.'ssg.g.s.'ggg.' +ggg.g.'.'.s.'gsg.'gsg.g.s.'sgs.'sgs.g.'.'.s.'''.'''.g.s.'''.'''.g.s.' +gsg.'gsg.g.'.'.s.'''.'''.g.s.'''.'''.g.s.'sgg.'sgg.g.'.'.s.'''.'''.g. +s.'''.'''.g.s.'gss.'gss.g.'.'.s.'ssg.'ssg.g.s.'sss.'sss.g.'.'.s.'ggg. +'ggg.g.s.'gsg.'gsg.g.'.'.s.'''.'''.g.s.''s.''s.g.'.'.s.'''.'''.g.s.'' +'.'''.g.s.'''.'''.g.'.'.s.'''.'''.g.s.'''.'''.g.s.'gss.'gss.g.'.'.s.' +'s.''s.g.s.'sgs.'sgs.g.'.'.s.''s.''s.g.s.'''.'''.g.'.'.s.'''.'''.g.s. +'''.'''.g.s.'sgs.'sgs.g.'.'.s.'ssg.'ssg.g.s.'sss.'sss.g.'.'.s.''g.''g +.g.'.'.s.''s.''s.g.s.'''.'''.g.'.'.s.'''.'''.g.s.'''.'''.g.s.'sgs.'sg +s.g.'.'.s.''s.''s.g.s.'ggs.'ggs.g.'.'.s.'ssg.'ssg.g.s.'sss.'sss.g.'.' +.s.''s.''s.g.s.'sgs.'sgs.g.'.'.s.'ggg.'ggg.g.s.'gsg.'gsg.g.'.'.s.'ggg +.'ggg.g.s.'ggg.'ggg.g.'.'.s.''s.''s.g.s.'gsg.'gsg.g.'.'.s.''s.''s.g.s +.'''.'''.g.'.'.s.'''.'''.g.s.'''.'''.g.s.'sgs.'sgs.g.'.'.s.''s.''s.g. +'.'.s.'ssg.'ssg.g.s.'ggg.'ggg.g.'.'.s.'sgg.'sgg.g.s.'ggg.'ggg.geeee

Replies are listed 'Best First'.
Re: Re: Six different chars
by Anonymous Monk on Mar 30, 2004 at 09:11 UTC
    Now, can anyone get rid of that space, or find a different way to do it in 5 chars? Could this be a new form of golf?

      To be accurate, my variant is 6 chars too. So it's a nice golf to produce shortest JAPH with only 6 chars :) As usual, the only problem with JAPH is to define exact output.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://340876]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-03-29 07:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found