Nest Tower

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

Print a tower (rotated) by nesting values into lists.

x -> {x} -> {{x} x} and so forth

Options

exec is denied

no deadline, the server will not save your submission

Sample input:_

*NOTHING*

Sample output:

0
{0}
{{0} 0}
{{{0} 0} {0} 0}
{{{{0} 0} {0} 0} {{0} 0} {0} 0}
{{{{{0} 0} {0} 0} {{0} 0} {0} 0} {{{0} 0} {0} 0} {{0} 0} {0} 0}
{{{{{0} 0} {0} 0} {{0} 0} {0} 0} {{{0} 0} {0} 0} {{0} 0} {0} 0}
{{{{0} 0} {0} 0} {{0} 0} {0} 0}
{{{0} 0} {0} 0}
{{0} 0}
{0}
0

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs450.01122014/12/16 06:51:360B / 17B / 26B
2jpl520.03212013/10/11 00:13:100B / ?B / ?B

Perl _

RankUserSizeTimeDateStatistics
1primo460.00012013/10/24 20:25:490B / 15B / 31B
2tails480.03612013/12/14 20:18:130B / 20B / 27B
3brx520.01912013/11/19 00:40:190B / 24B / 27B
4corruptio540.02262013/09/29 15:43:260B / 17B / 33B

Python _

RankUserSizeTimeDateStatistics
1leonid630.03532013/10/05 06:15:520B / 30B / 27B
2hallvabo660.04052013/09/12 10:25:520B / 19B / 42B
3rolf670.10822013/10/11 02:48:320B / 28B / 36B
4twobit670.13282013/12/08 04:54:380B / 28B / 36B
5recursive740.03102013/11/19 02:38:230B / 36B / 33B
6malkovich750.02992013/09/15 16:02:590B / 32B / 39B
7corruptio810.03392013/09/14 03:25:030B / 40B / 32B
8mroman1270.03102013/09/11 23:51:532B / 60B / 56B
9com3130.03332013/10/06 21:17:180B / ?B / ?B

Scheme _

RankUserSizeTimeDateStatistics
1kaki990.10932013/11/19 17:23:580B / 32B / 60B

Common LISP _

RankUserSizeTimeDateStatistics
1Hawkseye1520.02112014/02/23 09:09:220B / 74B / 65B

Io _

RankUserSizeTimeDateStatistics
1clock700.07132015/02/22 02:06:540B / 30B / 32B
2pooq830.09482013/12/11 23:29:410B / 49B / 30B

JavaScript _

RankUserSizeTimeDateStatistics
1Shmiddty710.01342013/10/05 06:30:460B / 32B / 37B
2clock730.01082013/09/25 21:02:340B / 31B / 41B
3_nderscore910.01462013/09/19 02:59:050B / 33B / 56B

Lua _

RankUserSizeTimeDateStatistics
1twobit830.02862013/12/09 03:59:400B / 37B / 37B
2tehtmi960.00022013/11/26 18:18:210B / 46B / 46B

J _

RankUserSizeTimeDateStatistics
1I., S.440.02222013/09/13 21:35:460B / 11B / 32B
2I., S.(genuine)780.03092013/09/13 21:42:160B / 22B / 55B

K _

RankUserSizeTimeDateStatistics
1twobit370.01202013/12/10 09:32:490B / 9B / 27B

Haskell _

RankUserSizeTimeDateStatistics
1henkma760.00012013/12/15 22:12:330B / 37B / 35B
2ho950.00012014/02/07 02:07:210B / ?B / ?B

AWK _

RankUserSizeTimeDateStatistics
1llhuii820.01062014/03/20 20:46:540B / 34B / 47B

sed _

RankUserSizeTimeDateStatistics
1tails470.01342013/09/15 00:49:500B / 15B / 26B
2clock520.01332013/09/12 01:15:200B / 12B / 33B

jq _

RankUserSizeTimeDateStatistics
1clock630.01072015/02/11 05:02:250B / 28B / 33B

wake _

RankUserSizeTimeDateStatistics
1tails460.01552013/09/15 15:49:510B / 10B / 33B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii790.01072014/03/20 20:43:230B / 34B / 44B

Brainfuck _

RankUserSizeTimeDateStatistics
1mitchs (cheat)1300.03132015/10/05 02:57:146B / 16B / 92B

GolfScript _

RankUserSizeTimeDateStatistics
1tails230.03652013/12/15 23:08:110B / 3B / 20B
2twobit240.03132013/12/09 08:27:020B / 3B / 21B
3nooodl310.01912013/09/12 03:28:280B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1teebee100.00012014/09/20 03:29:450B / 6B / 4B
2nooodl100.00012014/10/06 04:14:590B / ?B / ?B
3mroman100.00012014/10/06 04:21:060B / ?B / ?B
4clock100.01592015/01/15 15:32:030B / 7B / 3B
5Hendrik100.00012016/12/13 03:02:000B / 6B / 4B

Vim _

RankUserSizeTimeDateStatistics
1clock280.01382015/02/28 23:31:383B / 21B / 4B

Language Ranking_

RankLangUserSizeScore
1Burlesqueteebee1010000
2GolfScripttails234347
3Vimclock283571
4Ktwobit372702
5JI., S.442272
6Rubymitchs452222
7waketails462173
8Perlprimo462173
9sedtails472127
10Pythonleonid631587
11jqclock631587
12Ioclock701428
13JavaScriptShmiddty711408
14Haskellhenkma761315
15xgawkllhuii791265
16AWKllhuii821219
17Luatwobit831204
18Schemekaki991010
19Brainfuckmitchs (cheat)130769
20Common LISPHawkseye152657

return top