Christmas tree

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

Create [ASCII art that loosely resembles] a Christmas tree of the given height.

Options

exec is denied

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

Sample input:_

4

Sample output:

  *
 ***
*****
  *

Sample input:_

9

Sample output:

       *
      ***
     *****
    *******
   *********
  ***********
 *************
***************
       *

Sample input:_

42

Sample output:

                                        *
                                       ***
                                      *****
                                     *******
                                    *********
                                   ***********
                                  *************
                                 ***************
                                *****************
                               *******************
                              *********************
                             ***********************
                            *************************
                           ***************************
                          *****************************
                         *******************************
                        *********************************
                       ***********************************
                      *************************************
                     ***************************************
                    *****************************************
                   *******************************************
                  *********************************************
                 ***********************************************
                *************************************************
               ***************************************************
              *****************************************************
             *******************************************************
            *********************************************************
           ***********************************************************
          *************************************************************
         ***************************************************************
        *****************************************************************
       *******************************************************************
      *********************************************************************
     ***********************************************************************
    *************************************************************************
   ***************************************************************************
  *****************************************************************************
 *******************************************************************************
*********************************************************************************
                                        *

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid480.07062010/12/06 09:41:570B / 22B / 25B
2yvl520.05572010/12/11 15:12:120B / 25B / 26B
3eban550.05352010/12/10 17:21:540B / 26B / 28B

Perl _

RankUserSizeTimeDateStatistics
1dcutter470.04092010/12/06 19:51:210B / 16B / 30B
2tails470.03652010/12/07 18:29:460B / 16B / 30B
3MG730.08242010/12/10 17:16:160B / 28B / 42B
4tails460.04652015/12/14 15:38:400B / 16B / 30B

Python _

RankUserSizeTimeDateStatistics
1hallvabo570.09052010/12/12 06:41:530B / 27B / 28B
2leonid580.07972010/12/12 05:22:400B / ?B / ?B
3ch3ka630.10292010/12/11 02:12:111B / 28B / 29B
4pv2b650.08402010/12/05 21:28:130B / 30B / 29B

Common LISP _

RankUserSizeTimeDateStatistics
1youz780.49202010/12/11 00:38:370B / 37B / 35B
2kozima830.16582010/12/10 16:28:250B / 36B / 41B

Arc _

RankUserSizeTimeDateStatistics
1youz766.73082010/12/11 14:45:230B / 29B / 38B

Io _

RankUserSizeTimeDateStatistics
1pooq1020.71502010/12/11 02:43:180B / 71B / 27B

JavaScript _

RankUserSizeTimeDateStatistics
1nn740.05822010/12/05 21:12:570B / 37B / 36B
20mg790.05782010/12/05 16:01:300B / 38B / 40B
3xulapp790.05362010/12/05 18:49:100B / 41B / 37B
4idealmachine1030.03592010/12/05 06:48:410B / 51B / 50B

Icon _

RankUserSizeTimeDateStatistics
1pooq900.04652012/04/04 18:27:230B / 52B / 31B

Prolog _

RankUserSizeTimeDateStatistics
1pooq1010.30392010/12/11 15:09:480B / 52B / 41B
2pooq870.23682012/03/05 10:39:290B / 45B / 34B

BASIC _

RankUserSizeTimeDateStatistics
1pooq910.09082010/12/11 15:30:010B / 54B / 25B

J _

RankUserSizeTimeDateStatistics
1pooq370.15372010/12/11 13:14:210B / 6B / 30B
2I., S.460.13982010/12/05 22:04:380B / 7B / 38B
3I., S.(devious)360.40012010/12/12 13:17:290B / 8B / 27B

C _

RankUserSizeTimeDateStatistics
1not870.03192010/12/06 07:55:090B / 42B / 45B
2inaniwa870.04242010/12/06 12:33:360B / 43B / 44B
3nn890.04272010/12/07 22:50:580B / 44B / 45B
4aglias930.04132010/12/07 11:21:010B / 49B / 44B
5pv2b1110.03402010/12/05 07:50:120B / ?B / ?B
6kyuridenamida1460.04282010/12/10 18:54:120B / ?B / ?B
7inaniwa(not)860.03852010/12/12 21:41:420B / 43B / 43B

OCaml _

RankUserSizeTimeDateStatistics
1ksk940.11672010/12/10 23:57:420B / 58B / 31B
2m.ukai1040.29412010/12/06 13:15:020B / 62B / 33B

Haskell _

RankUserSizeTimeDateStatistics
1henkma790.03402010/12/07 20:06:440B / 37B / 39B
2koyama41800.05052010/12/06 21:19:120B / 37B / 40B

Pascal _

RankUserSizeTimeDateStatistics
1uru1050.01692010/12/07 11:44:270B / 63B / 37B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*790.03802010/12/05 12:44:510B / 44B / 34B
2*yuko*760.04152011/11/26 10:25:560B / 41B / 33B

Maxima _

RankUserSizeTimeDateStatistics
1pooq790.56912010/12/10 19:22:300B / 33B / 44B

AWK _

RankUserSizeTimeDateStatistics
1yamaya540.06442010/12/07 01:12:270B / 20B / 34B

sed _

RankUserSizeTimeDateStatistics
1%20600.03362015/12/13 17:04:000B / 24B / 23B

Bash _

RankUserSizeTimeDateStatistics
1yamaya590.08962010/12/07 01:12:090B / 24B / 29B

Zsh _

RankUserSizeTimeDateStatistics
1eban740.05532010/12/09 10:15:000B / 31B / 37B

dc _

RankUserSizeTimeDateStatistics
1tails520.05982015/12/14 18:26:440B / 40B / 12B

GolfScript _

RankUserSizeTimeDateStatistics
1nn280.16912010/12/05 15:07:540B / 2B / 25B
2leonid280.17622010/12/06 05:22:100B / 2B / 25B

gs2 _

RankUserSizeTimeDateStatistics
1whio200.25342017/06/28 04:03:415B / 6B / 8B

FlogScript _

RankUserSizeTimeDateStatistics
1milieu290.18752010/12/05 09:46:030B / ?B / ?B
2zzo38350.21442010/12/06 10:00:280B / 7B / 27B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*410.04952010/12/08 23:34:1427B / 6B / 4B

Vim _

RankUserSizeTimeDateStatistics
1nn300.16842010/12/05 12:40:002B / 17B / 9B
2pla320.16382010/12/05 11:39:003B / 23B / 5B

Groovy _

RankUserSizeTimeDateStatistics
1nn706.41042010/12/05 13:32:350B / 36B / 32B
2teebee676.67042010/12/12 20:25:030B / 35B / 31B

Scala _

RankUserSizeTimeDateStatistics
1pooq6611.05162011/02/16 17:09:290B / 35B / 27B

Language Ranking_

RankLangUserSizeScore
1gs2whio2010000
2GolfScriptnn287142
3FlogScriptmilieu296896
4Vimnn306666
5JI., S.(devious)365555
6z80*yuko*414878
7Perltails464347
8Rubyleonid484166
9dctails523846
10AWKyamaya543703
11Pythonhallvabo573508
12Bashyamaya593389
13sed%20603333
14Scalapooq663030
15Groovyteebee672985
16JavaScriptnn742702
17Zsheban742702
18Arcyouz762631
19Fortran*yuko*762631
20Common LISPyouz782564
21Haskellhenkma792531
22Maximapooq792531
23Cinaniwa(not)862325
24Prologpooq872298
25Iconpooq902222
26BASICpooq912197
27OCamlksk942127
28Iopooq1021960
29Pascaluru1051904

return top