Nest the 0

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

Nest the zero in square brackets. Number of brackets is given on each line.

Options

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

Sample input:_

9
3
7
1
15

Sample output:

[[[[[[[[[0]]]]]]]]]
[[[0]]]
[[[[[[[0]]]]]]]
[0]
[[[[[[[[[[[[[[[0]]]]]]]]]]]]]]]

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1yvl330.01222014/09/19 08:14:290B / 20B / 11B
2Histocrat340.01322014/09/18 12:18:570B / 20B / 13B
3leonid340.01152014/09/19 08:29:540B / 14B / 18B
4BioFALSE400.01152014/09/19 00:22:160B / 17B / 23B

Perl _

RankUserSizeTimeDateStatistics
1teebee280.01072014/09/18 06:59:540B / 11B / 17B
2mitchs280.01612014/09/19 00:06:010B / 11B / 17B
3brx280.01082014/09/19 05:10:400B / 11B / 17B
4ninjalj280.01082014/09/20 10:21:410B / 11B / 17B
5tails280.01082014/09/20 17:26:390B / 11B / 17B
6corruptio300.01232014/09/18 14:50:410B / 13B / 15B
7BioFALSE300.01422014/09/18 23:56:460B / 12B / 18B
8jonathan camacho300.01092014/09/19 14:25:240B / 11B / 19B
9Phocine_Panacea300.01102014/09/20 01:17:150B / ?B / ?B

Python _

RankUserSizeTimeDateStatistics
1leonid380.05742014/09/18 04:00:250B / 20B / 17B
2rolf380.06002014/09/18 05:55:070B / 20B / 17B
3teebee380.02892014/09/18 07:07:150B / 20B / 17B
4corruptio380.03252014/09/18 15:09:020B / 20B / 17B
5xsot380.03352014/09/18 16:00:190B / 20B / 17B
6hallvabo380.03102014/09/18 18:29:010B / 17B / 21B
7mitchs380.03702014/09/19 00:07:480B / 20B / 17B
8Jim C380.03182014/09/19 07:52:120B / ?B / ?B
9jamesaxl380.03222014/09/20 18:11:540B / ?B / ?B
10Hendrik380.02862014/09/21 01:59:200B / 20B / 17B
11croyal590.03152014/09/19 01:48:421B / ?B / ?B
12Sp3000380.02912015/06/27 15:41:080B / ?B / ?B
13Vim Lover390.02772016/08/17 06:19:040B / ?B / ?B
14potato390.04442016/08/17 06:19:250B / ?B / ?B
15undergroundmonorail490.02812014/10/02 01:37:590B / 21B / 26B

Io _

RankUserSizeTimeDateStatistics
1pooq560.11072014/09/19 18:41:014B / 24B / 25B
2teebee560.07032014/09/20 18:45:454B / 25B / 24B

JavaScript _

RankUserSizeTimeDateStatistics
1madshall510.01452014/09/18 05:49:020B / 26B / 25B
2teebee510.01652014/09/18 07:03:480B / 26B / 25B
3_nderscore510.01292014/09/21 03:20:260B / 26B / 25B

Lua _

RankUserSizeTimeDateStatistics
1teebee610.01092014/09/20 10:29:150B / 31B / 28B
2Hendrik610.01122014/09/21 02:34:530B / 31B / 28B
3pooq620.01112014/09/20 11:41:410B / 36B / 21B
4AndoDaan670.01112014/09/20 11:01:350B / 37B / 28B

PARI/GP _

RankUserSizeTimeDateStatistics
1teebee390.01362014/09/20 20:22:280B / 24B / 15B
2mitchs390.01142014/09/20 22:44:000B / 24B / 15B

Cyan _

RankUserSizeTimeDateStatistics
1pooq410.83302014/09/20 21:39:190B / 24B / 16B
2teebee410.49332014/09/21 01:24:300B / 24B / 16B

BASIC _

RankUserSizeTimeDateStatistics
1teebee630.01512014/09/20 02:48:320B / 31B / 29B
2pooq640.00702014/09/19 17:58:130B / 35B / 21B

J _

RankUserSizeTimeDateStatistics
1pooq310.06762014/09/19 17:19:440B / 11B / 20B
2medialuna630.02922014/09/18 14:19:350B / 14B / 47B

K _

RankUserSizeTimeDateStatistics
1teebee230.01172014/09/18 08:44:350B / 7B / 16B

C _

RankUserSizeTimeDateStatistics
1nu760.01082014/09/18 15:36:580B / 37B / 38B
2lpha800.01052014/09/19 16:14:340B / 45B / 35B
3chocobi820.01062014/09/18 05:57:110B / 44B / 38B
4corruptio820.01062014/09/18 16:17:390B / 39B / 43B
5jamesaxl1250.01052014/09/20 20:48:050B / ?B / ?B
6%20(exec)510.00562016/08/17 07:20:560B / 26B / 21B

Haskell _

RankUserSizeTimeDateStatistics
1henkma560.01772014/09/19 20:36:080B / 27B / 26B
2nooodl570.01132014/09/18 04:40:300B / ?B / ?B

Maxima _

RankUserSizeTimeDateStatistics
1pooq570.65412014/09/19 19:28:340B / 29B / 25B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee650.09282014/09/18 07:51:260B / 33B / 30B
2chocobi650.08222014/09/18 08:18:250B / 34B / 29B

AWK _

RankUserSizeTimeDateStatistics
1_290.01422014/09/18 23:14:180B / ?B / ?B
2llhuii290.01052014/09/18 23:14:320B / 10B / 19B
3teebee290.01052014/09/19 05:37:200B / 10B / 19B
4ninjalj290.01302014/09/20 10:49:030B / 10B / 19B

sed _

RankUserSizeTimeDateStatistics
1tails490.01062014/09/20 17:09:180B / 21B / 23B
2ninjalj510.01082014/09/20 20:12:570B / 26B / 25B
3%20(exec)340.02712016/08/17 06:49:540B / 15B / 18B
4kanitawa890.01072014/10/09 00:49:320B / ?B / ?B

Bash _

RankUserSizeTimeDateStatistics
1ninjalj560.05222014/09/20 11:49:390B / 22B / 28B
2%20300.00352016/08/17 06:57:180B / 10B / 18B

dc _

RankUserSizeTimeDateStatistics
1tails330.01342014/09/20 17:23:180B / 25B / 8B
2ninjalj410.01162014/09/20 22:53:320B / 31B / 10B

xgawk _

RankUserSizeTimeDateStatistics
1llhuii290.04182014/09/18 23:14:450B / 10B / 19B
2teebee290.01332014/09/19 05:37:490B / 10B / 19B
3ninjalj290.01522014/09/20 10:49:210B / 10B / 19B

R _

RankUserSizeTimeDateStatistics
1teebee620.14832014/09/19 06:43:390B / 30B / 29B
2NikNakk670.32552014/09/19 01:01:310B / ?B / ?B
3Vlo800.21232014/09/19 03:39:310B / ?B / ?B
4%20(exec)420.17882016/08/17 07:20:440B / 22B / 16B
5vlo620.16042014/09/23 05:11:460B / ?B / ?B

QCL _

RankUserSizeTimeDateStatistics
1pooq810.13712014/09/20 22:40:540B / 47B / 25B

Whitespace _

RankUserSizeTimeDateStatistics
1%201390.01792014/09/18 04:25:190B / ?B / ?B
2%20(lpha)1130.00722015/12/05 22:15:590B / 0B / 0B
3lpha1140.01682014/09/22 05:07:310B / 0B / 0B

GolfScript _

RankUserSizeTimeDateStatistics
1nooodl120.02112014/09/18 04:14:400B / ?B / ?B
2whio120.01772014/09/18 04:27:210B / 2B / 10B

gs2 _

RankUserSizeTimeDateStatistics
1nooodl80.08092014/09/19 06:46:262B / ?B / ?B

Burlesque _

RankUserSizeTimeDateStatistics
1mroman140.01192014/09/18 16:11:170B / 10B / 4B
2teebee140.01172014/09/20 03:25:200B / 11B / 3B
3AndoDaan150.01202014/10/06 03:36:060B / 11B / 4B

Vim _

RankUserSizeTimeDateStatistics
1udioica220.01502016/12/03 11:29:013B / ?B / ?B

Groovy _

RankUserSizeTimeDateStatistics
1teebee521.46072014/09/20 18:18:470B / 34B / 16B

Logo _

RankUserSizeTimeDateStatistics
1teebee560.01462014/09/20 20:00:110B / 34B / 14B

Language Ranking_

RankLangUserSizeScore
1gs2nooodl810000
2GolfScriptnooodl126666
3Burlesquemroman145714
4Vimudioica223636
5Kteebee233478
6Perlteebee282857
7AWK292758
8xgawkllhuii292758
9Bash%20302666
10Jpooq312580
11Rubyyvl332424
12dctails332424
13sed%20(exec)342352
14Pythonleonid382105
15PARI/GPteebee392051
16Cyanpooq411951
17R%20(exec)421904
18JavaScriptmadshall511568
19C%20(exec)511568
20Groovyteebee521538
21Iopooq561428
22Haskellhenkma561428
23Logoteebee561428
24Maximapooq571403
25Luateebee611311
26BASICteebee631269
27Asymptoteteebee651230
28QCLpooq81987
29Whitespace%20(lpha)113707

return top