Christmas Tree
Submit
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 Christmas Tree! Input is number of levels after the first one.
Options
exec is denied
rejudge feature is enabled
now post-mortem time, all source codes will be revealed
Sample input:_
6
Sample output:
\ /
-->*<--
/_\
/_\_\
/_/_/_\
/_\_\_\
/_/_/_/_\
/_\_\_\_\
/_/_/_/_/_\
[___]
Sample input:_
4
Sample output:
\ /
-->*<--
/_\
/_\_\
/_/_/_\
/_\_\_\
/_/_/_/_\
[___]
Sample input:_
13
Sample output:
\ /
-->*<--
/_\
/_\_\
/_/_/_\
/_\_\_\
/_/_/_/_\
/_\_\_\_\
/_/_/_/_/_\
/_\_\_\_\_\
/_/_/_/_/_/_\
/_\_\_\_\_\_\
/_/_/_/_/_/_/_\
/_\_\_\_\_\_\_\
/_/_/_/_/_/_/_/_\
/_\_\_\_\_\_\_\_\
[___]
Ranking
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 115 | 0.0339 | 2017/12/21 01:52:55 | 0B / 43B / 68B |
2 | rotary-o | 115 | 0.0324 | 2017/12/24 02:30:49 | 0B / 44B / 66B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | rotary-o | 115 | 0.1790 | 2017/12/24 02:31:30 | 0B / 44B / 66B |
2 | mitchs | 115 | 0.1576 | 2017/12/29 03:17:28 | 0B / 43B / 68B |
3 | letranger | 163 | 0.1606 | 2017/12/16 03:49:37 | 0B / 48B / 105B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 105 | 0.0345 | 2017/12/28 16:57:18 | 1B / 17B / 77B |
2 | _ | 109 | 0.0324 | 2017/12/28 16:43:07 | 1B / 18B / 80B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 125 | 0.0786 | 2017/12/17 08:46:02 | 0B / 45B / 76B |
2 | DL | 132 | 0.0728 | 2017/12/19 21:23:26 | 0B / 47B / 76B |
3 | rolf | 174 | 0.0728 | 2017/12/19 08:31:30 | 0B / 63B / 95B |
4 | tehMillhouse | 199 | 0.0722 | 2017/12/16 00:50:13 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | mitchs | 132 | 0.1246 | 2017/12/19 10:06:58 | 0B / 44B / 85B |
2 | mypetlion | 168 | 0.1181 | 2017/12/19 07:54:24 | 0B / 53B / 106B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | smkt | 273 | 0.0314 | 2017/12/30 00:13:22 | 0B / 118B / 154B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | tails | 147 | 0.0346 | 2017/12/22 18:07:47 | 0B / 44B / 82B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Kha | 102 | 0.0420 | 2017/12/16 01:35:58 | 0B / ?B / ?B |
Rank | User | Size | Time | Date | Statistics |
---|
1 | Kha | 85 | 0.1796 | 2017/12/16 08:04:26 | 32B / ?B / ?B |
2 | tails (Kha) | 66 | 0.1926 | 2018/01/04 17:18:07 | 24B / 6B / 28B |
Language Ranking_
Rank | Lang | User | Size | Score |
1 | gs2 | tails (Kha) | 66 | 10000 |
2 | GolfScript | Kha | 102 | 6470 |
3 | Perl | tails | 105 | 6285 |
4 | Ruby | mitchs | 115 | 5739 |
5 | Ruby2 | rotary-o | 115 | 5739 |
6 | Python | mitchs | 125 | 5280 |
7 | Python3 | mitchs | 132 | 5000 |
8 | Scala | rotary-o | 135 | 4888 |
9 | sed | tails | 147 | 4489 |
10 | C | smkt | 273 | 2417 |
return to the top page