House of Santa Claus

Submit

Your name:
File:
Open code-statistics:

Language is selected by the extension of the file. See the list of supported languages to know the extension of your language.

Problem

Especially the German golfers of us must know the House of Santa Claus (Haus vom Nikolaus). It is a drawing-game for children. You can draw it without lifting the pen and you don't have to draw one line twice. Test it yourself by saying "This-is-the-house-of-san-ta-claus" while drawing. ;-)

Simple Drawing problem. I give you the height of the building and you draw it.

Options

exec is denied

now post-mortem time, all source codes will be revealed

Sample input:_

7

Sample output:

  /\
 /  \
/____\
|\  /|
| \/ |
| /\ |
|/__\|

Sample input:_

16

Sample output:

     /\
    /  \
   /    \
  /      \
 /        \
/__________\
|\        /|
| \      / |
|  \    /  |
|   \  /   |
|    \/    |
|    /\    |
|   /  \   |
|  /    \  |
| /      \ |
|/________\|

Sample input:_

34

Sample output:

           /\
          /  \
         /    \
        /      \
       /        \
      /          \
     /            \
    /              \
   /                \
  /                  \
 /                    \
/______________________\
|\                    /|
| \                  / |
|  \                /  |
|   \              /   |
|    \            /    |
|     \          /     |
|      \        /      |
|       \      /       |
|        \    /        |
|         \  /         |
|          \/          |
|          /\          |
|         /  \         |
|        /    \        |
|       /      \       |
|      /        \      |
|     /          \     |
|    /            \    |
|   /              \   |
|  /                \  |
| /                  \ |
|/____________________\|

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1n1910.03622011/02/16 17:59:490B / ?B / ?B
2H.Hiro2150.04562011/02/15 02:34:310B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1teebee1250.10852011/02/27 06:57:121B / 42B / 79B
2tails1620.68362011/02/17 10:21:3678B / 61B / 18B
3ninjalj1880.00272011/03/02 00:09:340B / 43B / 142B

Python _

RankUserSizeTimeDateStatistics
1recursive1300.08232011/02/16 04:49:310B / 55B / 68B
2showyou2810.07262011/02/15 02:57:267B / ?B / ?B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima2080.17042011/03/04 14:33:350B / 71B / 117B

J _

RankUserSizeTimeDateStatistics
1I., S.950.09842011/03/10 06:19:330B / 21B / 73B
2pooq1160.20142011/03/09 04:46:460B / 38B / 75B

C _

RankUserSizeTimeDateStatistics
1kou1420.00182011/02/15 14:04:540B / 70B / 72B
2shinh1530.00192011/02/15 10:56:170B / 71B / 81B
3not1560.00182011/02/15 13:56:310B / 76B / 80B
4koi1730.00182011/02/14 21:39:400B / ?B / ?B

OCaml _

RankUserSizeTimeDateStatistics
1m.ukai2810.13182011/03/09 17:32:020B / 140B / 125B

Haskell _

RankUserSizeTimeDateStatistics
1rst761580.00382011/03/10 05:26:240B / 72B / 80B

Language Ranking_

RankLangUserSizeScore
1JI., S.9510000
2Perlteebee1257600
3Pythonrecursive1307307
4Ckou1426690
5Haskellrst761586012
6Rubyn1914973
7Common LISPkozima2084567
8OCamlm.ukai2813380

return to the top page