Sierpinski Carpet

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 Sierpinski Carpet.

Options

exec is denied

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

Sample input:_

1

Sample output:

::::::
::  ::
::::::

Sample input:_

2

Sample output:

::::::::::::::::::
::  ::::  ::::  ::
::::::::::::::::::
::::::      ::::::
::  ::      ::  ::
::::::      ::::::
::::::::::::::::::
::  ::::  ::::  ::
::::::::::::::::::

Sample input:_

3

Sample output:

::::::::::::::::::::::::::::::::::::::::::::::::::::::
::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::      ::::::::::::      ::::::::::::      ::::::
::  ::      ::  ::::  ::      ::  ::::  ::      ::  ::
::::::      ::::::::::::      ::::::::::::      ::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::
::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::                  ::::::::::::::::::
::  ::::  ::::  ::                  ::  ::::  ::::  ::
::::::::::::::::::                  ::::::::::::::::::
::::::      ::::::                  ::::::      ::::::
::  ::      ::  ::                  ::  ::      ::  ::
::::::      ::::::                  ::::::      ::::::
::::::::::::::::::                  ::::::::::::::::::
::  ::::  ::::  ::                  ::  ::::  ::::  ::
::::::::::::::::::                  ::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::
::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::      ::::::::::::      ::::::::::::      ::::::
::  ::      ::  ::::  ::      ::  ::::  ::      ::  ::
::::::      ::::::::::::      ::::::::::::      ::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::
::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::::  ::
::::::::::::::::::::::::::::::::::::::::::::::::::::::

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1MarkByers670.10962008/10/01 02:21:390B / 23B / 38B
2leonid670.10952008/10/02 22:40:180B / 31B / 33B
3niha690.05462008/09/23 00:01:380B / 32B / 36B
4ksk710.07912008/09/21 22:31:340B / 27B / 37B
5flagitious730.13012008/09/27 03:22:510B / 37B / 31B
6shinh780.13332008/09/21 17:55:390B / 31B / 42B

Perl _

RankUserSizeTimeDateStatistics
1jonathan camacho1290.03312014/08/04 10:10:290B / 55B / 69B

Python _

RankUserSizeTimeDateStatistics
1MarkByers900.22192008/10/01 06:49:370B / 33B / 51B
2recursive920.85902008/10/02 03:31:310B / 47B / 35B
3hirose1000.21382008/10/04 16:15:000B / 55B / 35B
4kt3k1060.21682008/09/25 12:34:360B / 55B / 39B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1251.43162008/09/23 14:05:110B / 68B / 53B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1072.69952008/10/01 06:15:200B / 60B / 44B

JavaScript _

RankUserSizeTimeDateStatistics
1MarkByers940.14852008/10/01 10:13:180B / 39B / 52B
2nn980.20562008/10/04 15:34:030B / 47B / 48B
3murky-satyr1080.06352008/09/22 20:34:560B / 49B / 57B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr1540.03782008/09/22 20:56:510B / 85B / 54B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1680.47662008/10/03 14:55:210B / 89B / 70B
2murky-satyr1230.78692008/10/08 05:16:390B / 66B / 48B

J _

RankUserSizeTimeDateStatistics
1pooq630.60182008/09/29 23:19:590B / 16B / 43B
2I., S.450.11382011/02/05 07:37:230B / 14B / 28B
3I., S.(Kronecker prod.)480.11252011/01/25 23:34:260B / 12B / 35B

C _

RankUserSizeTimeDateStatistics
1hinoe1010.05812008/09/29 20:04:002B / 43B / 53B
251b1020.00072008/10/04 21:12:372B / 40B / 57B
3nils1780.07252008/09/29 02:19:063B / ?B / ?B

D _

RankUserSizeTimeDateStatistics
151b1220.03812008/10/19 20:18:232B / 50B / 65B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa940.05412008/09/26 19:52:590B / ?B / ?B

C# _

RankUserSizeTimeDateStatistics
1mashi13680.60452008/09/29 08:00:1056B / ?B / ?B

Octave _

RankUserSizeTimeDateStatistics
1teebee(Hendrik)750.57952016/09/26 06:20:110B / 42B / 30B
2Hendrik760.61552016/09/26 03:57:130B / 42B / 30B

AWK _

RankUserSizeTimeDateStatistics
1nn1170.03242008/09/21 22:51:500B / 52B / 62B

sed _

RankUserSizeTimeDateStatistics
1GeoJ830.12672008/09/21 23:20:310B / 28B / 45B
2tails (%20)730.03532016/09/26 11:27:590B / 29B / 31B
3mitchs (GeoJ)770.03672015/12/23 18:34:010B / 27B / 41B
4mitchs (%20)790.03692015/12/23 18:33:160B / 30B / 36B
5%20800.03232015/12/23 11:54:320B / 31B / 36B

Postscript _

RankUserSizeTimeDateStatistics
1MarkByers741.11762008/09/29 05:09:1015B / 22B / 35B
2yshl(bin)911.26642008/10/05 12:34:1941B / 30B / 16B
3MarkByers (nobin)1021.16822008/09/26 22:48:250B / 45B / 49B
4yshl1531.19802008/10/04 21:49:580B / 97B / 27B

GolfScript _

RankUserSizeTimeDateStatistics
1irori370.41922008/09/22 23:41:300B / 5B / 31B
2flagitious370.33782008/09/27 03:14:190B / 2B / 34B
3mender360.06672016/09/26 06:00:590B / 4B / 32B
4mender (alt)360.05972016/09/26 06:01:300B / 5B / 31B

Unlambda _

RankUserSizeTimeDateStatistics
1irori2690.10692008/09/28 23:47:210B / 127B / 140B

Grass _

RankUserSizeTimeDateStatistics
1irori5290.02282008/09/29 01:46:380B / 529B / 0B

Universal Lambda _

RankUserSizeTimeDateStatistics
1hinoe600.32712009/03/08 13:14:2335B / 13B / 10B
2flagitious1000.56332008/11/14 04:57:5469B / 19B / 9B

z80 _

RankUserSizeTimeDateStatistics
1kodera481.13692008/09/26 03:20:0031B / 7B / 6B

Vim _

RankUserSizeTimeDateStatistics
1pla470.21432008/09/26 02:57:306B / 27B / 12B
2pla350.07622009/12/13 21:39:003B / 23B / 8B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr580.08682009/12/22 15:52:050B / 12B / 44B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr996.25312010/08/23 00:55:050B / 49B / 47B
2nn10310.42922009/04/19 17:40:360B / 52B / 48B

Language Ranking_

RankLangUserSizeScore
1Vimpla3510000
2GolfScriptmender (alt)369722
3JI., S.457777
4z80kodera487291
5gorubymurky-satyr586034
6Universal Lambdahinoe605833
7RubyMarkByers675223
8sedtails (%20)734794
9PostscriptMarkByers744729
10Octaveteebee(Hendrik)754666
11PythonMarkByers903888
12Haskellnotogawa943723
13JavaScriptMarkByers943723
14Groovymurky-satyr993535
15Chinoe1013465
16Iomurky-satyr1073271
17AWKnn1172991
18D51b1222868
19Smalltalkmurky-satyr1232845
20Common LISPkozima1252800
21Perljonathan camacho1292713
22Luamurky-satyr1542272
23Unlambdairori2691301
24Grassirori529661
25C#mashi1368255

return top