Recursive Expansion

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

Replace rectangles by subdivided rectangles

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:_

5

Sample output:

 _______________________________________________________________________________________________________________________________
| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |
|_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_|
|___|___|_|_| |___| |_|_|___|___|_|_| |___| |_|_|___|___|_|_| |___| |_|_|___|___|_|_| |___| |_|_|___|___|_|_| |___| |_|_|___|___|
| | | | |___|_|___|_|___| | | | |___|_|___|_|___| | | | |___|_|___|_|___| | | | |___|_|___|_|___| | | | |___|_|___|_|___| | | | |
|_|_|_|_|___| |___| |___|_|_|_|_| |___| | |___| |_|_|_|_|___| |___| |___|_|_|_|_| |___| | |___| |_|_|_|_|___| |___| |___|_|_|_|_|
|___|___| | |_|___|_| | |___|___|_|___|_|_|___|_|___|___| | |_|___|_| | |___|___|_|___|_|_|___|_|___|___| | |_|___|_| | |___|___|
| |___| |_|_| |___| |_|_| |___| |___|___|___|___| |___| |_|_| |___| |_|_| |___| |___|___|___|___| |___| |_|_| |___| |_|_| |___| |
|_|___|_|___|_|___|_|___|_|___|_| | | | | | | | |_|___|_|___|_|___|_|___|_|___|_| | | | | | | | |_|___|_|___|_|___|_|___|_|___|_|
|___| |___| |___|___| |___| |___|_|_|_|_|_|_|_|_| |___| |___| |___| |___| |___| |_|_|_|_|_|_|_|_|___| |___| |___|___| |___| |___|
| | |_|___|_| | | | |_|___|_| | |___|___|___|___|_|___|_| | |_|___|_| | |_|___|_|___|___|___|___| | |_|___|_| | | | |_|___|_| | |
|_|_| |___| |_|_|_|_| |___| |_|_| |___| | |___| |___|___|_|_| |___| |_|_|___|___| |___| | |___| |_|_| |___| |_|_|_|_| |___| |_|_|
|___|_|___|_|___|___|_|___|_|___|_|___|_|_|___|_| | | | |___|_|___|_|___| | | | |_|___|_|_|___|_|___|_|___|_|___|___|_|___|_|___|
| |___| | |___| | |___| | |___| |___| |___| |___|_|_|_|_|___| |___| |___|_|_|_|_|___| |___| |___| |___| | |___| | |___| | |___| |
|_|___|_|_|___|_|_|___|_|_|___|_| | |_|___|_| | |___|___| | |_|___|_| | |___|___| | |_|___|_| | |_|___|_|_|___|_|_|___|_|_|___|_|
|___|___|___|___|___|___|___|___|_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_|___|___|___|___|___|___|___|___|
| | | | | | | | | | | | | | | | |___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___| | | | | | | | | | | | | | | | |
|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|___| |___| |___| |___| |___| |___| |___| |___| |___| |___| |___|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|
|___|___|___|___|___|___|___|___| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |_|___|_| | |___|___|___|___|___|___|___|___|
| |___| | |___| | |___| | |___| |_|_| |___| |_|_|___|___|_|_| |___| |_|_|___|___|_|_| |___| |_|_| |___| | |___| | |___| | |___| |
|_|___|_|_|___|_|_|___|_|_|___|_|___|_|___|_|___| | | | |___|_|___|_|___| | | | |___|_|___|_|___|_|___|_|_|___|_|_|___|_|_|___|_|
|___| |___| |___|___| |___| |___| |___| | |___| |_|_|_|_|___| |___| |___|_|_|_|_| |___| | |___| |___| |___| |___|___| |___| |___|
| | |_|___|_| | | | |_|___|_| | |_|___|_|_|___|_|___|___| | |_|___|_| | |___|___|_|___|_|_|___|_| | |_|___|_| | | | |_|___|_| | |
|_|_| |___| |_|_|_|_| |___| |_|_|___|___|___|___| |___| |_|_| |___| |_|_| |___| |___|___|___|___|_|_| |___| |_|_|_|_| |___| |_|_|
|___|_|___|_|___|___|_|___|_|___| | | | | | | | |_|___|_|___|_|___|_|___|_|___|_| | | | | | | | |___|_|___|_|___|___|_|___|_|___|
| |___| |___| |___| |___| |___| |_|_|_|_|_|_|_|_| |___| |___| |___| |___| |___| |_|_|_|_|_|_|_|_| |___| |___| |___| |___| |___| |
|_|___|_| | |_|___|_| | |_|___|_|___|___|___|___|_|___|_| | |_|___|_| | |_|___|_|___|___|___|___|_|___|_| | |_|___|_| | |_|___|_|
|___|___|_|_| |___| |_|_|___|___| |___| | |___| |___|___|_|_| |___| |_|_|___|___| |___| | |___| |___|___|_|_| |___| |_|_|___|___|
| | | | |___|_|___|_|___| | | | |_|___|_|_|___|_| | | | |___|_|___|_|___| | | | |_|___|_|_|___|_| | | | |___|_|___|_|___| | | | |
|_|_|_|_|___| |___| |___|_|_|_|_|___| |___| |___|_|_|_|_|___| |___| |___|_|_|_|_|___| |___| |___|_|_|_|_|___| |___| |___|_|_|_|_|
|___|___| | |_|___|_| | |___|___| | |_|___|_| | |___|___| | |_|___|_| | |___|___| | |_|___|_| | |___|___| | |_|___|_| | |___|___|
| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |_|_| |___| |
|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|___|_|

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1mitchs (luck)1550.20082015/06/08 18:44:270B / 58B / 91B
2mitchs1590.18472015/06/08 17:54:350B / 62B / 91B
3mitchs (alt)1990.36432015/06/08 08:40:560B / 80B / 110B
4%20(tails (gs whio))1140.21112016/09/07 22:49:099B / 48B / 55B
5tails (gs whio)1150.22342016/09/07 22:30:269B / 48B / 55B

Perl _

RankUserSizeTimeDateStatistics
1tails1130.04962015/06/08 12:23:071B / 53B / 55B
2corruptio1550.03562015/06/19 19:11:380B / 57B / 88B

Python _

RankUserSizeTimeDateStatistics
1twobit1640.11192015/06/16 00:23:230B / ?B / ?B
2mitchs1810.21762015/06/08 17:41:040B / 89B / 79B
3xsot1910.09892015/06/20 01:33:310B / 84B / 92B
4mitchs (alt)2140.50242015/06/08 08:52:240B / 105B / 98B
5test4600.10632015/06/09 02:48:210B / 212B / 200B

K _

RankUserSizeTimeDateStatistics
1twobit740.03422015/06/15 23:27:190B / ?B / ?B

C _

RankUserSizeTimeDateStatistics
1nu(rand)1640.00072015/06/19 06:59:590B / 75B / 88B
2twobit1680.00072015/06/16 06:59:433B / ?B / ?B
3tails1860.00062015/06/13 14:46:192B / 80B / 102B
4foo2770.03432015/06/16 00:06:270B / ?B / ?B

sed _

RankUserSizeTimeDateStatistics
1tails1420.04112015/06/10 01:08:090B / 62B / 60B

GolfScript _

RankUserSizeTimeDateStatistics
1whio710.23472015/06/20 06:53:148B / 18B / 43B
2tails820.27612015/06/11 03:09:550B / 26B / 54B

goruby _

RankUserSizeTimeDateStatistics
1mitchs1320.12422015/06/08 19:27:160B / 46B / 83B

Language Ranking_

RankLangUserSizeScore
1GolfScriptwhio7110000
2Ktwobit749594
3Perltails1136283
4Ruby%20(tails (gs whio))1146228
5gorubymitchs1325378
6sedtails1425000
7Pythontwobit1644329
8Cnu(rand)1644329

return to the top page