ASCII-art Histogram
Create an ASCCI-art histogram for the given numbers. Make sure not to leave trailing whitespaces. Thanks to VimGolf I recently discovered a feature of Vim thAT blew my mind. I'm curious to see what real ninjas make of it ;-)
Start file
2 4 3 6 5 8 9 7 2 3 1
End file
[#]
[#][#]
[#][#][#]
[#] [#][#][#]
[#][#][#][#][#]
[#] [#][#][#][#][#]
[#][#][#][#][#][#][#] [#]
[#][#][#][#][#][#][#][#][#][#]
[#][#][#][#][#][#][#][#][#][#][#]
2 4 3 6 5 8 9 7 2 3 1
View Diff
0a1,10
>
> [#]
> [#][#]
> [#][#][#]
> [#] [#][#][#]
> [#][#][#][#][#]
> [#] [#][#][#][#][#]
> [#][#][#][#][#][#][#] [#]
> [#][#][#][#][#][#][#][#][#][#]
> [#][#][#][#][#][#][#][#][#][#][#]
Solutions by @BaineWedlock:
Unlock 9 remaining solutions by signing in and submitting your own entry