Euclids orchard

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 the visible trees of Euclid's orchard from the top.

Options

exec is denied

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

Sample input:_

10

Sample output:

tttttttttt
t t t t t 
tt tt tt t
t t t t t 
tttt tttt 
t   t t   
tttttt ttt
t t t t t 
tt tt tt t
t t   t t 

Sample input:_

20

Sample output:

tttttttttttttttttttt
t t t t t t t t t t 
tt tt tt tt tt tt tt
t t t t t t t t t t 
tttt tttt tttt tttt 
t   t t   t t   t t 
tttttt tttttt tttttt
t t t t t t t t t t 
tt tt tt tt tt tt tt
t t   t t t t   t t 
tttttttttt ttttttttt
t   t t   t t   t t 
tttttttttttt ttttttt
t t t   t t t t t t 
tt t  tt  t tt tt t 
t t t t t t t t t t 
tttttttttttttttt ttt
t   t t   t t   t t 
tttttttttttttttttt t
t t   t t t t   t t 

Sample input:_

100

Sample output:

tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt t
t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt 
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tt
t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt t
t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t 
tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt tttttttttt t
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttttttttt tttttttttttt tttttttttttt tttttttttttt tttttttttttt tttttttttttt tttttttttttt ttttttttt
t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t 
tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  
t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tttttttttttttttt tttttttttttttttt tttttttttttttttt tttttttttttttttt tttttttttttttttt ttttttttttttttt
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttttttttttttttt tttttttttttttttttt tttttttttttttttttt tttttttttttttttttt tttttttttttttttttt ttttt
t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t 
tt tt  t tt t  tt tt tt tt  t tt t  tt tt tt tt  t tt t  tt tt tt tt  t tt t  tt tt tt tt  t tt t  t
t t t t t   t t t t t t t t t t   t t t t t t t t t t   t t t t t t t t t t   t t t t t t t t t t   
tttttttttttttttttttttt tttttttttttttttttttttt tttttttttttttttttttttt tttttttttttttttttttttt tttttttt
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt tttt 
t t t t t t   t t t t t t t t t t t t   t t t t t t t t t t t t   t t t t t t t t t t t t   t t t t 
tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt t
t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t 
tttttttttttttttttttttttttttt tttttttttttttttttttttttttttt tttttttttttttttttttttttttttt ttttttttttttt
t     t   t t   t t   t     t t     t   t t   t t   t     t t     t   t t   t t   t     t t     t   
tttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttt ttttttt
t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tt tt tt t  tt tt tt  t tt tt tt tt tt tt t  tt tt tt  t tt tt tt tt tt tt t  tt tt tt  t tt tt tt t
t t t t t t t t   t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t   t t t t t t t 
tttt t tt ttt  tttt  ttt tt t tttt tttt t tt ttt  tttt  ttt tt t tttt tttt t tt ttt  tttt  ttt tt t 
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttt
t t t t t t t t t   t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t   t t 
tt tt tt tt  t tt tt tt t  tt tt tt tt tt tt tt tt  t tt tt tt t  tt tt tt tt tt tt tt tt  t tt tt t
t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t 
tttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttt tttttttttttttttttt
t   t     t t   t t   t t   t t     t   t t   t     t t   t t   t t   t t     t   t t   t     t t   
tttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttt tttttttttttttt
t t t t t   t t t t t t t t t t   t t t t t t t t t t   t t t t t t t t t t   t t t t t t t t t t   
tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  
t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t 
tttttttttttttttttttttttttttttttttttttttttttttt tttttttttttttttttttttttttttttttttttttttttttttt tttttt
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tttttt tt
t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t 
tt tt tt tt tt t  tt tt tt tt tt  t tt tt tt tt tt tt tt tt tt tt t  tt tt tt tt tt  t tt tt tt tt t
t t t t t t   t t t t t t t t t t t t   t t t t t t t t t t t t   t t t t t t t t t t t t   t t t t 
tttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttttttttttttttttttttttt
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttt tttt  ttt tttt t tt tttt tt t tttt ttt  tttt tttt tttt tttt  ttt tttt t tt tttt tt t tttt ttt  
t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t 
tt tt tt tt tt tt  t tt tt tt tt tt t  tt tt tt tt tt tt tt tt tt tt tt tt  t tt tt tt tt tt t  tt t
t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t t t t t t t   t t t t t t 
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttttttttttttttttt
t     t   t t   t t   t     t t     t   t t   t t   t     t t     t   t t   t t   t     t t     t   
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttttttttttttttt
t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t   t t t 
tt tt  t tt t  tt tt tt tt  t tt t  tt tt tt tt  t tt t  tt tt tt tt  t tt t  tt tt tt tt  t tt t  t
t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tttt tttt tt t tttt tttt  ttt tttt ttt  tttt tttt t tt tttt tttt tttt tttt tt t tttt tttt  ttt tttt 
t   t t     t   t t   t t   t t   t t   t t   t t   t     t t   t t   t t     t   t t   t t   t t   
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttttttttt
t t t t t t t t   t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t   t t t t t t t 
tt tt tt tt tt tt tt t  tt tt tt tt tt tt tt  t tt tt tt tt tt tt tt tt tt tt tt tt tt tt t  tt tt t
t t     t t t   t t   t   t t t t   t t t t   t   t t   t t t     t t t t     t t t   t t   t   t t 
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttttt
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttttttttt
t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  t tt tt t  tt  
t t t t t t t t t   t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t   t t 
tttttt ttt tt tttttt  ttttt tttt t tttttt t tttt ttttt  tttttt tt ttt tttttt tttttt ttt tt tttttt  t
t   t t   t     t t   t t   t t   t t   t t   t t   t t   t t     t   t t   t t   t t   t     t t   
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttttttt
t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t 
tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt tt t
t t t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttttttttt
t   t     t t   t t   t t   t t     t   t t   t     t t   t t   t t   t t     t   t t   t     t t   
tttt tttt tttt t tt tttt tttt ttt  tttt tttt tttt  ttt tttt tttt tt t tttt tttt tttt tttt tttt tttt 
t t t t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t t t t t t t 
tt tt tt tt tt tt tt tt tt t  tt tt tt tt tt tt tt tt tt  t tt tt tt tt tt tt tt tt tt tt tt tt tt t
t t t t t   t t t t t t t t t t   t t t t t t t t t t   t t t t t t t t t t   t t t t t t t t t t   
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttttttttttt
t     t   t t   t t   t     t t     t   t t   t t   t     t t     t   t t   t t   t     t t     t   
tttttt ttttt  tttttt tttt t tttttt ttt tt tttttt tt ttt tttttt t tttt tttttt  ttttt tttttt tttttt tt
t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t 
tt tt tt tt tt tt tt tt tt tt  t tt tt tt tt tt tt tt tt tt t  tt tt tt tt tt tt tt tt tt tt tt tt t
t t t t t t t t t t t t t t t t t t t t t t t   t t t t t t t t t t t t t t t t t t t t t t t t t t 
tttt tttt tttt ttt  tttt tttt tttt tt t tttt tttt tttt t tt tttt tttt tttt  ttt tttt tttt tttt tttt 
t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   t t   
tttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttttt ttt
t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t t t   t t t t 
tt tt tt t  tt tt tt  t tt tt tt tt tt tt t  tt tt tt  t tt tt tt tt tt tt t  tt tt tt  t tt tt tt t
t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t t t   t t 

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1leonid710.89762011/10/19 05:07:230B / 31B / 36B
2yvl710.83652011/10/19 21:50:220B / 29B / 41B
3clock750.24252011/10/11 10:39:200B / 36B / 35B
4kaki770.11552011/10/22 02:23:220B / 38B / 35B
5primo820.20082011/10/11 02:06:550B / 44B / 34B
6leonid (yvl)700.75172011/10/22 09:11:050B / 30B / 38B

Perl _

RankUserSizeTimeDateStatistics
1tails470.06672011/10/22 01:34:480B / 16B / 30B
2teebee650.67822011/10/17 02:35:360B / 18B / 47B

Python _

RankUserSizeTimeDateStatistics
1recursive870.35932011/10/19 01:28:230B / 51B / 24B
2hallvabo870.35712011/10/19 03:31:530B / 51B / 24B
3leonid870.35892011/10/19 06:38:300B / 50B / 25B
4niisaka870.46712011/10/21 11:09:490B / 51B / 24B
5twobit980.55792011/10/10 11:15:140B / 51B / 25B
6primo1000.11432011/10/10 08:56:450B / 59B / 29B

PHP _

RankUserSizeTimeDateStatistics
1teebee930.65442011/10/13 05:13:562B / 33B / 58B
2clock1080.40412011/10/11 20:21:012B / 48B / 58B

Scheme _

RankUserSizeTimeDateStatistics
1kaki810.20752011/10/08 06:14:390B / 32B / 43B
2youz810.20502011/10/14 12:31:360B / 32B / 43B

Common LISP _

RankUserSizeTimeDateStatistics
1youz810.25492011/10/14 10:41:430B / 38B / 40B

Arc _

RankUserSizeTimeDateStatistics
1youz946.21962011/10/14 12:41:230B / 43B / 36B
2pooq976.55672011/10/09 06:34:230B / 46B / 36B

Io _

RankUserSizeTimeDateStatistics
1pooq1180.75922011/10/09 09:02:520B / 78B / 36B

JavaScript _

RankUserSizeTimeDateStatistics
1nn850.64462011/10/08 14:02:030B / 43B / 41B

Lua _

RankUserSizeTimeDateStatistics
1twobit1070.11912011/10/10 11:30:210B / 68B / 24B
2pooq1070.06912011/10/10 12:46:410B / 68B / 24B

Xtal _

RankUserSizeTimeDateStatistics
1pooq1000.11032011/10/09 12:36:200B / 53B / 46B

REXX _

RankUserSizeTimeDateStatistics
1pooq1160.15682012/04/16 12:57:250B / 69B / 24B

PARI/GP _

RankUserSizeTimeDateStatistics
1pooq650.11372012/05/06 23:16:040B / 39B / 26B

BASIC _

RankUserSizeTimeDateStatistics
1*yuko*1000.18522011/10/20 21:40:010B / 62B / 31B
2pooq1040.07612011/10/08 07:05:000B / 62B / 27B

J _

RankUserSizeTimeDateStatistics
1pooq260.35952011/10/08 06:38:290B / 8B / 17B
2I., S.(w/o GCD)310.28592011/10/10 08:52:170B / 8B / 22B

C _

RankUserSizeTimeDateStatistics
1inaniwa930.03682011/10/13 08:10:270B / 52B / 41B
2nn940.02622011/10/08 14:47:540B / 46B / 47B

Haskell _

RankUserSizeTimeDateStatistics
1notogawa740.00732011/10/08 20:32:400B / 41B / 28B
2henkma740.00742011/10/10 22:41:410B / 41B / 28B
3koyama41740.04502011/10/18 22:41:480B / 41B / 28B
4kaki740.05342011/10/20 01:11:160B / 42B / 27B

Pascal _

RankUserSizeTimeDateStatistics
1*yuko*1490.06402011/10/18 21:20:400B / 93B / 34B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1090.07452011/10/18 21:00:140B / 63B / 42B
2*yuko*1030.10562011/12/04 04:52:000B / 57B / 40B

COBOL _

RankUserSizeTimeDateStatistics
1*yuko*(LF)3180.04502011/10/21 21:57:130B / 210B / 59B
2*yuko*2890.04282011/10/27 01:51:160B / 192B / 51B
3*yuko*(LF)3020.04092011/10/27 01:26:080B / 201B / 54B

Maxima _

RankUserSizeTimeDateStatistics
1pooq911.20692011/10/15 15:39:280B / 42B / 47B

Octave _

RankUserSizeTimeDateStatistics
1inaniwa570.57442011/10/15 22:39:510B / 30B / 27B
2pooq761.80572011/10/15 15:41:360B / 41B / 31B
3inaniwa510.70012011/11/15 13:07:110B / 29B / 22B

REBOL _

RankUserSizeTimeDateStatistics
1pooq1210.37102011/10/10 00:54:560B / 67B / 31B

Asymptote _

RankUserSizeTimeDateStatistics
1teebee1030.44862011/12/26 00:13:530B / 50B / 51B

AWK _

RankUserSizeTimeDateStatistics
1teebee720.22382011/10/10 10:41:190B / 31B / 40B
2teebee(tails)600.07822011/10/22 05:42:230B / 25B / 34B

bc _

RankUserSizeTimeDateStatistics
1teebee890.18882011/10/10 02:53:170B / 42B / 44B
2teebee(tails)680.08092011/10/22 05:32:080B / 29B / 36B

R _

RankUserSizeTimeDateStatistics
1pooq1082.32432011/10/09 08:23:080B / 52B / 50B

GolfScript _

RankUserSizeTimeDateStatistics
1nooodl380.83032011/11/01 02:48:320B / ?B / ?B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*430.11722011/10/20 22:55:1217B / 14B / 7B

goruby _

RankUserSizeTimeDateStatistics
1leonid460.29042011/10/19 06:53:230B / 19B / 23B
2pooq490.60832011/10/08 21:27:390B / 19B / 28B

Groovy _

RankUserSizeTimeDateStatistics
1teebee707.02002011/10/08 06:16:370B / 40B / 28B
2nn707.06752011/10/08 13:58:350B / 41B / 26B
3teebee(nn)684.33612011/10/22 15:15:500B / 40B / 26B

Scala _

RankUserSizeTimeDateStatistics
1pooq8522.48552011/10/08 22:40:570B / 55B / 27B
2murky-satyr8212.72772011/11/01 10:03:080B / 54B / 24B

Language Ranking_

RankLangUserSizeScore
1Jpooq2610000
2GolfScriptnooodl386842
3z80*yuko*436046
4gorubyleonid465652
5Perltails475531
6Octaveinaniwa515098
7AWKteebee(tails)604333
8PARI/GPpooq654000
9bcteebee(tails)683823
10Groovyteebee(nn)683823
11Rubyleonid (yvl)703714
12Haskellnotogawa743513
13Schemekaki813209
14Common LISPyouz813209
15Scalamurky-satyr823170
16JavaScriptnn853058
17Pythonrecursive872988
18Maximapooq912857
19PHPteebee932795
20Cinaniwa932795
21Arcyouz942765
22Xtalpooq1002600
23BASIC*yuko*1002600
24Fortran*yuko*1032524
25Asymptoteteebee1032524
26Luatwobit1072429
27Rpooq1082407
28REXXpooq1162241
29Iopooq1182203
30REBOLpooq1212148
31Pascal*yuko*1491744
32COBOL*yuko*289899

return top