Sierpinski Fractal

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

See inputs/outputs and http://acm.pku.edu.cn/JudgeOnline/problem?id=1941

Options

exec is denied

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

Sample input:_

1

Sample output:

 /\
/__\

Sample input:_

3

Sample output:

       /\
      /__\
     /\  /\
    /__\/__\
   /\      /\
  /__\    /__\
 /\  /\  /\  /\
/__\/__\/__\/__\

Sample input:_

5

Sample output:

                               /\
                              /__\
                             /\  /\
                            /__\/__\
                           /\      /\
                          /__\    /__\
                         /\  /\  /\  /\
                        /__\/__\/__\/__\
                       /\              /\
                      /__\            /__\
                     /\  /\          /\  /\
                    /__\/__\        /__\/__\
                   /\      /\      /\      /\
                  /__\    /__\    /__\    /__\
                 /\  /\  /\  /\  /\  /\  /\  /\
                /__\/__\/__\/__\/__\/__\/__\/__\
               /\                              /\
              /__\                            /__\
             /\  /\                          /\  /\
            /__\/__\                        /__\/__\
           /\      /\                      /\      /\
          /__\    /__\                    /__\    /__\
         /\  /\  /\  /\                  /\  /\  /\  /\
        /__\/__\/__\/__\                /__\/__\/__\/__\
       /\              /\              /\              /\
      /__\            /__\            /__\            /__\
     /\  /\          /\  /\          /\  /\          /\  /\
    /__\/__\        /__\/__\        /__\/__\        /__\/__\
   /\      /\      /\      /\      /\      /\      /\      /\
  /__\    /__\    /__\    /__\    /__\    /__\    /__\    /__\
 /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\  /\
/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\/__\

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1Mark Byers860.23662007/05/19 04:48:040B / 21B / 57B
2ksk860.25812007/05/23 08:24:500B / 26B / 54B
3ozy4dm910.37112007/05/23 10:51:460B / 33B / 54B
4shinh920.20622007/05/24 12:47:300B / 28B / 60B
5niha980.19302007/05/18 22:22:000B / 29B / 62B
6kt3k980.25242007/05/20 04:44:540B / 42B / 49B
7flagitious1070.23962007/05/19 00:22:230B / 40B / 62B
8shinh830.22462007/05/25 17:36:410B / 21B / 55B
9ksk850.20152007/05/25 15:24:440B / 25B / 53B
10tabasa20270.06212007/10/02 08:57:4341B / 64B / 762B

Perl _

RankUserSizeTimeDateStatistics
1ySas860.37412007/05/24 23:54:221B / 26B / 53B
2flagitious940.10152007/05/19 01:42:380B / 24B / 61B
3shinh950.10482007/05/25 15:07:440B / 18B / 70B
4Mark Byers980.10422007/05/19 01:13:180B / 33B / 63B
5mitchs (shinh,%20)790.05282015/12/23 17:53:340B / 18B / 53B
6shinh800.13462007/05/25 16:25:100B / 18B / 54B

Python _

RankUserSizeTimeDateStatistics
1Mark Byers1080.31032007/05/19 05:22:290B / 39B / 61B
2hirose1090.33162007/05/23 13:53:250B / 45B / 47B
3kt3k1120.92662007/05/23 22:59:430B / 50B / 43B
4Defenestrator1270.31272007/05/22 10:33:040B / 54B / 58B
5mskzzzz1380.32222007/05/21 02:01:260B / 53B / 68B
6primo1050.00722010/04/26 20:52:150B / 50B / 46B
7MarkByers1070.17172008/10/04 09:51:220B / 38B / 61B
8hirose1082.00172007/05/30 13:58:490B / 45B / 46B
9kt3k1091.55212007/05/29 22:21:130B / 48B / 44B

PHP _

RankUserSizeTimeDateStatistics
1primo1070.09312013/07/03 18:35:126B / 37B / 64B

Scheme _

RankUserSizeTimeDateStatistics
1murky-satyr1410.25832008/07/07 01:33:530B / 58B / 77B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima1620.37032007/05/22 13:25:111B / 78B / 75B
2kozima1560.27302008/09/22 13:32:240B / 61B / 83B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr1183.38782009/12/29 14:38:310B / 46B / 58B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr1385.46232010/05/31 17:34:330B / 64B / 69B

Io _

RankUserSizeTimeDateStatistics
1murky-satyr1462.70732008/07/05 10:36:190B / 71B / 68B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr970.03832007/09/10 04:55:200B / 41B / 55B

Lua _

RankUserSizeTimeDateStatistics
1GreyKnight2320.09492012/01/05 23:20:070B / ?B / ?B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr1480.48802008/07/13 09:07:300B / 72B / 66B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz2620.38232007/05/23 00:02:160B / 118B / 126B
2mskzzzz2580.32092007/05/26 19:42:450B / 116B / 124B

J _

RankUserSizeTimeDateStatistics
1I., S.580.11222011/01/22 07:09:230B / 10B / 48B
2pooq1030.21252009/05/09 22:47:050B / 29B / 69B

C _

RankUserSizeTimeDateStatistics
1ozy4dm1050.07732007/05/23 17:19:020B / 55B / 50B
2hinoe1110.17322007/05/23 23:40:340B / 54B / 57B
37gyou1190.08932007/05/23 07:17:470B / 55B / 63B
451b1240.08602007/05/24 19:32:200B / 54B / 70B
5test940.08972007/05/26 18:52:530B / ?B / ?B
6↑hinoeさんのコードを弄ってみた(by Ozy)940.09022007/05/26 19:31:450B / ?B / ?B
7hinoe1000.09092007/06/24 16:05:470B / 48B / 52B

C++ _

RankUserSizeTimeDateStatistics
1ozy4dm1250.08882007/05/23 10:27:430B / 70B / 53B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1510.26972007/05/22 02:15:240B / 74B / 72B
2m.ukai1640.24912007/05/21 15:37:580B / 81B / 63B

Haskell _

RankUserSizeTimeDateStatistics
1moriA1310.11822007/05/21 03:56:370B / 65B / 58B
2notogawa1370.08562007/05/20 17:02:150B / ?B / ?B
3irori1490.08222007/05/20 13:32:560B / 74B / 65B
4moriA1210.08992008/10/03 23:57:560B / 56B / 60B
5notogawa1220.09912007/05/26 22:57:050B / ?B / ?B

Nemerle _

RankUserSizeTimeDateStatistics
1murky-satyr1550.86852008/11/02 08:05:160B / 91B / 59B

AWK _

RankUserSizeTimeDateStatistics
1nn1430.04902008/09/23 13:04:230B / 57B / 81B

sed _

RankUserSizeTimeDateStatistics
1emoken1620.16802007/05/23 18:22:420B / 47B / 91B
2%20(mitchs (%20 (shinh)))920.03562015/12/24 18:36:510B / 22B / 55B
3mitchs (%20 (shinh))940.03502015/12/23 17:17:590B / 23B / 54B
4%20(shinh)1030.04292015/12/23 16:37:110B / 26B / 58B
5shinh1210.10362007/05/25 16:53:000B / 26B / 72B

Postscript _

RankUserSizeTimeDateStatistics
1ySas962.71292007/05/24 22:59:1638B / 31B / 24B
2ySas;1000.86512007/05/22 13:29:0341B / 32B / 24B
3yshl(bin)1080.89962007/05/24 17:22:3839B / 36B / 29B
4ySas(not bin)1720.91922007/05/25 15:13:240B / 119B / 26B
5yshl1830.86242007/05/24 17:13:540B / 120B / 33B
6yshl(bin)940.90072007/07/09 16:36:0038B / 30B / 23B
7yshl1700.89362007/07/09 16:35:490B / 119B / 22B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious490.34142008/01/02 00:53:490B / 4B / 42B
2flagitious(sym)580.36922007/12/18 01:55:020B / 0B / 55B

gs2 _

RankUserSizeTimeDateStatistics
1recursive340.39852015/10/02 09:15:448B / 8B / 13B
2nooodl390.24872014/10/08 23:04:3611B / ?B / ?B

Unlambda _

RankUserSizeTimeDateStatistics
1irori5940.02432007/05/20 00:56:290B / 282B / 309B

Universal Lambda _

RankUserSizeTimeDateStatistics
1hinoe850.33532009/03/08 13:16:2064B / 7B / 10B

z80 _

RankUserSizeTimeDateStatistics
1kodera670.70412007/12/30 22:57:0836B / 15B / 13B

Vim _

RankUserSizeTimeDateStatistics
1pla450.10172009/12/13 21:12:586B / 19B / 17B

goruby _

RankUserSizeTimeDateStatistics
1murky-satyr730.40782008/07/23 01:10:220B / 13B / 54B

Groovy _

RankUserSizeTimeDateStatistics
1murky-satyr1083.57902009/12/16 08:15:380B / 47B / 56B
2nn11310.47962009/04/19 00:14:410B / 51B / 56B

Language Ranking_

RankLangUserSizeScore
1gs2recursive3410000
2Vimpla457555
3GolfScriptflagitious496938
4JI., S.585862
5z80kodera675074
6gorubymurky-satyr734657
7Perlmitchs (shinh,%20)794303
8Rubyshinh834096
9Universal Lambdahinoe854000
10sed%20(mitchs (%20 (shinh)))923695
11Ctest943617
12Postscriptyshl(bin)943617
13JavaScriptmurky-satyr973505
14Pythonprimo1053238
15PHPprimo1073177
16Groovymurky-satyr1083148
17Arcmurky-satyr1182881
18HaskellmoriA1212809
19C++ozy4dm1252720
20Clojuremurky-satyr1382463
21Schememurky-satyr1412411
22AWKnn1432377
23Iomurky-satyr1462328
24Smalltalkmurky-satyr1482297
25OCamlksk1512251
26Nemerlemurky-satyr1552193
27Common LISPkozima1562179
28LuaGreyKnight2321465
29Prologmskzzzz2581317
30Unlambdairori594572

Referer

Note that, they may contain spoilers.

return top