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
1mitchs440.01332019/12/22 05:56:380B / 17B / 24B
2jpl520.03212013/10/11 00:13:100B / ?B / ?B

Ruby2 _

RankUserSizeTimeDateStatistics
1mitchs430.04872019/12/22 06:41:580B / 17B / 23B

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

BASIC _

RankUserSizeTimeDateStatistics
1pooq740.00012019/10/11 21:49:030B / ?B / ?B

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
1clock410.01042019/12/19 23:39:130B / 10B / 23B
2tails420.01052019/12/19 09:42:210B / 11B / 25B

jq _

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

Bash (builtins) _

RankUserSizeTimeDateStatistics
1McBusLuck660.00512019/12/19 04:17:130B / 23B / 34B

wake _

RankUserSizeTimeDateStatistics
1tails460.01552013/09/15 15:49:510B / 10B / 33B
2clock460.01512019/10/11 14:15:130B / 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

Scala _

RankUserSizeTimeDateStatistics
1clock762.41592020/01/04 16:29:1812B / 26B / 37B
2rotary-o812.51702020/01/05 00:05:250B / 45B / 28B

Language Ranking_

RankLangUserSizeScore
1Burlesqueteebee1010000
2GolfScripttails234347
3Vimclock283571
4Ktwobit372702
5sedclock412439
6Ruby2mitchs432325
7JI., S.442272
8Rubymitchs442272
9waketails462173
10Perlprimo462173
11Pythonleonid631587
12jqclock631587
13Bash (builtins)McBusLuck661515
14Ioclock701428
15JavaScriptShmiddty711408
16BASICpooq741351
17Haskellhenkma761315
18Scalaclock761315
19xgawkllhuii791265
20AWKllhuii821219
21Luatwobit831204
22Schemekaki991010
23Brainfuckmitchs (cheat)130769
24Common LISPHawkseye152657

return to the top page