Triangle ASCII art

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

Draw a right triangle in ASCII art with the base width equaling the number on STDIN and the height and hypotenuse equal to the base+1.
Separate triangles with 32 '*'s

Options

exec is denied

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

Sample input:_

1
3
2
4
6
7
5
8
9
0
10
11
16
26
24

Sample output:

|\
|_\
********************************
|\
| \
|  \
|___\
********************************
|\
| \
|__\
********************************
|\
| \
|  \
|   \
|____\
********************************
|\
| \
|  \
|   \
|    \
|     \
|______\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|_______\
********************************
|\
| \
|  \
|   \
|    \
|_____\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|________\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|_________\
********************************
|\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|         \
|__________\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|         \
|          \
|___________\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|         \
|          \
|           \
|            \
|             \
|              \
|               \
|________________\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|         \
|          \
|           \
|            \
|             \
|              \
|               \
|                \
|                 \
|                  \
|                   \
|                    \
|                     \
|                      \
|                       \
|                        \
|                         \
|__________________________\
********************************
|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|         \
|          \
|           \
|            \
|             \
|              \
|               \
|                \
|                 \
|                  \
|                   \
|                    \
|                     \
|                      \
|                       \
|________________________\
********************************

Sample input:_

30

Sample output:

|\
| \
|  \
|   \
|    \
|     \
|      \
|       \
|        \
|         \
|          \
|           \
|            \
|             \
|              \
|               \
|                \
|                 \
|                  \
|                   \
|                    \
|                     \
|                      \
|                       \
|                        \
|                         \
|                          \
|                           \
|                            \
|                             \
|______________________________\
********************************

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1clock680.02422012/06/09 13:31:250B / 24B / 43B

Perl _

RankUserSizeTimeDateStatistics
1teebee580.03392012/06/09 11:55:050B / 15B / 41B
2nfouille600.03302012/06/11 18:51:330B / ?B / ?B
3Hem620.05082012/06/09 17:17:150B / 21B / 39B

Python _

RankUserSizeTimeDateStatistics
1twobit770.09082012/06/09 19:55:170B / 36B / 39B
2clock770.06012012/06/09 20:16:320B / 36B / 39B
3hallvabo770.08062012/06/09 23:03:460B / 36B / 39B
4Hendrik790.04502012/06/09 22:42:330B / 40B / 28B

PHP _

RankUserSizeTimeDateStatistics
1clock1020.09042012/06/10 15:35:097B / 44B / 51B

Common LISP _

RankUserSizeTimeDateStatistics
1youz870.25972012/06/11 12:32:320B / 38B / 45B

Io _

RankUserSizeTimeDateStatistics
1pooq1260.38352012/06/09 13:51:440B / 82B / 39B

JavaScript _

RankUserSizeTimeDateStatistics
10mg920.05602012/06/11 20:55:240B / 35B / 55B
2nn940.04622012/06/11 01:52:530B / 43B / 50B
3clock980.04482012/06/10 14:21:520B / 43B / 54B

Lua _

RankUserSizeTimeDateStatistics
1Hendrik1050.03772012/06/09 17:13:400B / 55B / 43B
2clock1050.02392012/06/09 17:28:230B / 55B / 43B
3twobit1050.03222012/06/11 07:48:060B / 56B / 41B

Icon _

RankUserSizeTimeDateStatistics
1clock990.02302012/06/10 13:16:130B / 47B / 45B

PARI/GP _

RankUserSizeTimeDateStatistics
1clock960.02872012/06/09 18:17:140B / 51B / 45B

J _

RankUserSizeTimeDateStatistics
1I., S.580.14862012/06/13 20:30:180B / 19B / 37B

K _

RankUserSizeTimeDateStatistics
1teebee(av)450.00852012/08/09 06:08:430B / 9B / 36B
2av570.01922012/08/02 22:51:180B / 8B / 47B

C _

RankUserSizeTimeDateStatistics
1smkt1530.03202012/06/10 05:36:370B / 72B / 80B
2fill1300.02702012/06/14 14:48:440B / 72B / 58B

Haskell _

RankUserSizeTimeDateStatistics
1henkma980.03832012/06/10 22:42:320B / 41B / 48B
2Hendrik1000.03522012/06/09 18:58:010B / 40B / 55B

Maxima _

RankUserSizeTimeDateStatistics
1pooq1160.26602012/06/09 19:15:480B / 60B / 52B

R _

RankUserSizeTimeDateStatistics
1pooq1120.35022012/06/09 15:10:470B / 48B / 57B

GolfScript _

RankUserSizeTimeDateStatistics
1clock380.07832012/06/11 08:52:470B / 4B / 32B
2nooodl390.05322012/06/11 07:00:250B / ?B / ?B

Vim _

RankUserSizeTimeDateStatistics
1clock430.10082012/06/12 08:03:225B / 20B / 16B
2nn470.07292012/06/09 16:58:405B / 20B / 18B
3pla540.08562012/06/12 01:42:004B / 28B / 20B

Groovy _

RankUserSizeTimeDateStatistics
1clock852.31522012/06/10 15:58:120B / 49B / 32B
2teebee862.57702012/06/09 21:23:410B / 50B / 33B
3nn862.44132012/06/09 22:17:290B / 42B / 40B
4clock842.38762012/06/12 11:03:420B / 49B / 32B

Language Ranking_

RankLangUserSizeScore
1GolfScriptclock3810000
2Vimclock438837
3Kteebee(av)458444
4Perlteebee586551
5JI., S.586551
6Rubyclock685588
7Pythontwobit774935
8Groovyclock844523
9Common LISPyouz874367
10JavaScript0mg924130
11PARI/GPclock963958
12Haskellhenkma983877
13Iconclock993838
14PHPclock1023725
15LuaHendrik1053619
16Rpooq1123392
17Maximapooq1163275
18Iopooq1263015
19Cfill1302923

return to the top page