20
4
Your work is to recreate this piece of art:
_____
|
|
|
|
_____|
|
|
|
|
_____|
|
|
|
|
_____|
|
|
|
|
_____|
The answer must recreate this and print this as a result. All languages allowed, no direct printing of art, ofc, some level of manipulation is required. The answer with the least bytes wins.
Closes on Thursday 6:30 AM UTC or so.
The original thing was shown to me by my friend who did this with Java, he refused to show me the source code and now I'll dazzle him with the brilliance of other languages possibly. :D
You cannot use any alternative character (makes it easier?).
Current leader board
- Pyth - 28 bytes - isaacg
- CJam - 30 bytes - Runer112
- CJam - 32 bytes - Martin Büttner
Highest votes: C - 73 bytes - Paul R
isaacg takes the crown for passing the Staircase Challenge with Pyth. Watch out for more challenges like these on PPCG!
1Welcome to Programming Puzzles & Code Golf Stack Exchange! All challenges here require an objective winning criterion, to indisputably decide which solution should win. This looks like a [tag:code-golf] question, i.e. shortest code wins, but I'll let you edit it in yourself in case you want to make it something different. Thanks! – Doorknob – 2015-03-02T15:08:27.600
I did mention that the one with the least bytes wins. – therewillbecoffee – 2015-03-02T15:10:23.277
1Ah, sorry, I missed that. I've edited the proper tag into your question, then. – Doorknob – 2015-03-02T15:11:08.887
@Doorknob This is interesting. We ec-ed twice apparently, explains the loss the information which I had to readd. – therewillbecoffee – 2015-03-02T15:15:43.153
13Do we have to print that 1 weird trailing space on the 6th line ? – Optimizer – 2015-03-02T15:45:09.640
4More generally, is trailing space allowed? Can I pad this to a rectangle of the width of the first line? – Martin Ender – 2015-03-02T15:56:39.260
8Can we have a trailing newline? – TheNumberOne – 2015-03-02T16:26:46.710
1@Optimizer Nope, not necessary. Anything that looks necessarily similar is permitted in accordance to what I stated above. – therewillbecoffee – 2015-03-02T16:53:36.520
1@MartinBüttner Well, since a trailing newline would reduce the bytes, everyone can do it. No probs. I'm looking for the most optimized code. – therewillbecoffee – 2015-03-02T16:54:37.160