Hilbert Curve FIXED

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

Output n'th order Hilbert Curve on input n.

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

J _

RankUserSizeTimeDateStatistics
1I., S.2080.12692012/09/28 19:43:310B / 52B / 142B
2I., S.2060.16112012/09/30 07:57:510B / 53B / 144B

K _

RankUserSizeTimeDateStatistics
1twobit1080.03712012/09/27 04:30:120B / 25B / 82B

C _

RankUserSizeTimeDateStatistics
1nu(rand)1520.01342012/09/28 04:22:482B / 73B / 77B
2nu(embed)1620.03192012/09/26 02:38:112B / 80B / 80B
3nu1620.04022012/09/26 02:38:472B / 80B / 80B
4tails1900.02572012/09/25 02:01:500B / 93B / 97B
5tromp1920.03232012/09/26 10:07:350B / ?B / ?B

Universal Lambda _

RankUserSizeTimeDateStatistics
1tromp1540.27062012/09/15 00:06:39113B / ?B / ?B

Language Ranking_

RankLangUserSizeScore
1Ktwobit10810000
2Cnu(rand)1527105
3Universal Lambdatromp1547012
4JI., S.2065242

return to the top page