The Golden Ratio

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 out the first 500 digits of the golden ratio.

http://en.wikipedia.org/wiki/Golden_ratio
http://mathworld.wolfram.com/GoldenRatio.html

Note original problem had an error in the output, but this is the fixed version.

Options

exec is denied

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

Sample input:_

*NOTHING*

Sample output:

1.6180339887498948482045868343656381177203091798057628621354486227052604628189024497072072041893911374847540880753868917521266338622235369317931800607667263544333890865959395829056383226613199282902678806752087668925017116962070322210432162695486262963136144381497587012203408058879544547492461856953648644492410443207713449470495658467885098743394422125448770664780915884607499887124007652170575179788341662562494075890697040002812104276217711177780531531714101170466659914669798731761356006708748071

Ranking

Ruby _

RankUserSizeTimeDateStatistics
1flagitious380.32842007/06/10 12:03:330B / 16B / 19B
2ksk430.65812007/06/12 00:50:590B / 17B / 25B
3shinh450.87402007/06/09 13:02:580B / 24B / 19B
4kt3k450.35322007/06/13 19:52:280B / 21B / 23B
5flagitious(sym)1560.06612007/06/11 03:08:480B / 0B / 154B
6uru610.05092009/05/10 22:26:420B / 28B / 33B
7tabasa1450.25812008/03/16 11:35:5212B / ?B / ?B
8leonid (alnum)4350.03922008/09/23 17:22:130B / 430B / 0B

Ruby2 _

RankUserSizeTimeDateStatistics
1primo340.08822018/11/03 22:17:100B / 18B / 16B

Perl _

RankUserSizeTimeDateStatistics
1ySas340.76222007/06/09 02:10:250B / 25B / 7B
2teebee300.34132011/06/20 07:32:070B / 18B / 10B
3leonid310.76972008/08/17 06:21:100B / 21B / 8B

Python _

RankUserSizeTimeDateStatistics
1flagitious490.57372007/06/10 12:06:290B / 28B / 19B
2hiro.suzuki490.88742007/06/11 00:45:520B / 28B / 19B
3hirose490.85772007/06/14 12:37:490B / 28B / 19B
4kt3k500.67982007/06/13 18:04:510B / 29B / 19B
5mskzzzz540.15892007/06/10 02:50:550B / 32B / 20B
6SeeNoEvil550.10362007/06/12 07:18:020B / 31B / 21B
7primo470.11542018/11/03 22:21:180B / 28B / 17B

PHP _

RankUserSizeTimeDateStatistics
1mskzzzz330.19362007/06/11 03:04:110B / 20B / 13B

Pike _

RankUserSizeTimeDateStatistics
1pooq640.05382014/03/05 17:56:090B / 35B / 27B

Scheme _

RankUserSizeTimeDateStatistics
1cddddr700.09592011/06/06 04:27:000B / 45B / 21B
2murky-satyr770.49662011/04/08 14:27:310B / 31B / 35B

Common LISP _

RankUserSizeTimeDateStatistics
1kozima750.13032007/06/10 18:11:450B / 45B / 27B
2kozima610.10612007/10/03 14:21:150B / 40B / 19B

Arc _

RankUserSizeTimeDateStatistics
1murky-satyr443.84082009/10/27 02:40:280B / 20B / 17B
2youz454.14472009/10/12 11:57:070B / 20B / 17B

Clojure _

RankUserSizeTimeDateStatistics
1murky-satyr833.25122010/05/29 13:31:220B / 57B / 24B

JavaScript _

RankUserSizeTimeDateStatistics
1murky-satyr2980.04962008/06/04 21:27:5375B / 133B / 84B
2kemco5100.04342007/12/20 10:12:310B / 505B / 5B

Lua _

RankUserSizeTimeDateStatistics
1murky-satyr3080.03982008/06/04 21:51:21179B / 98B / 26B

REXX _

RankUserSizeTimeDateStatistics
1*yuko*520.11282014/02/21 00:15:400B / 35B / 13B

PARI/GP _

RankUserSizeTimeDateStatistics
1pooq430.02382012/03/26 05:25:400B / 32B / 10B

Smalltalk _

RankUserSizeTimeDateStatistics
1murky-satyr420.39962008/07/03 21:57:020B / 26B / 15B
2flagitious800.51982007/12/23 03:38:510B / 40B / 37B

Prolog _

RankUserSizeTimeDateStatistics
1mskzzzz620.08692007/06/10 00:07:420B / 33B / 26B

BASIC _

RankUserSizeTimeDateStatistics
1yt3300.10372007/06/13 17:29:40225B / ?B / ?B
2*yuko*1160.39942014/02/07 00:53:590B / 67B / 43B

Perl6 _

RankUserSizeTimeDateStatistics
1primo302.21482018/10/02 17:58:513B / 16B / 10B

Erlang _

RankUserSizeTimeDateStatistics
151b1390.34822007/09/22 22:27:380B / 66B / 67B

J _

RankUserSizeTimeDateStatistics
1pooq350.16532007/07/11 08:05:020B / 16B / 18B
2HPWiz252.94272018/08/15 08:21:010B / 17B / 7B
3I., S.300.07002011/08/10 05:40:340B / 16B / 13B
4primo320.09772018/09/25 17:47:050B / 15B / 16B
5pooq330.14982007/10/28 03:12:430B / 15B / 17B

C _

RankUserSizeTimeDateStatistics
1flagitious1740.04762007/06/10 02:45:310B / 88B / 86B
251b2280.03212007/06/11 15:30:570B / 101B / 127B
351b1330.34982008/04/05 22:41:120B / 62B / 71B

D _

RankUserSizeTimeDateStatistics
151b1510.70952007/09/27 13:57:190B / 74B / 75B

Go _

RankUserSizeTimeDateStatistics
1uru1420.02312009/12/31 17:50:070B / 90B / 48B

OCaml _

RankUserSizeTimeDateStatistics
1ksk1250.56922007/06/09 11:46:240B / 79B / 36B
2m.ukai1390.61012007/06/11 13:36:490B / 90B / 37B

Haskell _

RankUserSizeTimeDateStatistics
1moriA600.06862007/06/17 13:10:490B / 37B / 22B
2notogawa600.07002007/06/17 13:45:000B / 36B / 24B
3[1..100]>>=pen650.05572007/06/12 00:44:220B / ?B / ?B
4flagitious680.22242007/06/10 12:28:170B / 40B / 22B

Java _

RankUserSizeTimeDateStatistics
1notogawa1531.23092007/06/16 12:45:510B / ?B / ?B
2letter1531.02952007/06/17 23:58:500B / 107B / 40B
3teebee1131.58112010/11/07 05:53:130B / ?B / ?B
4letter1461.10982007/07/25 22:11:450B / 102B / 38B

Fortran _

RankUserSizeTimeDateStatistics
1*yuko*1100.01642014/02/07 01:01:080B / 65B / 39B
2*yuko*(51b)1530.19042011/11/21 03:35:060B / 86B / 53B

Maxima _

RankUserSizeTimeDateStatistics
1pooq320.09752009/11/22 04:49:380B / 20B / 12B

AWK _

RankUserSizeTimeDateStatistics
1nn(embed)3520.00432008/06/26 13:23:0627B / 225B / 97B
2nn3520.02072009/05/10 21:38:3427B / 224B / 98B

sed _

RankUserSizeTimeDateStatistics
1hirose4980.01612007/06/19 20:02:200B / 477B / 17B

Bash _

RankUserSizeTimeDateStatistics
1teebee280.05532010/12/28 05:41:540B / 15B / 11B
2pooq470.02422010/02/15 13:15:200B / 26B / 17B

bc _

RankUserSizeTimeDateStatistics
1pooq230.02642010/12/22 02:23:490B / 15B / 7B

dc _

RankUserSizeTimeDateStatistics
1pooq110.00042010/04/12 05:53:540B / 9B / 2B
2cyrenaic570.04072015/11/13 06:22:200B / 39B / 16B

Postscript _

RankUserSizeTimeDateStatistics
1ySas(embed)2390.31012007/06/09 03:00:34125B / 61B / 51B
2yshl(embed)2390.28822007/06/13 19:05:52114B / 74B / 47B
3yshl(bin)3260.98132007/06/21 02:14:47132B / 104B / 79B
4yshl5350.93732007/06/21 02:13:590B / 360B / 68B
5yshl(bin)1970.73852008/01/03 02:08:02104B / 57B / 33B
6yshl3520.66772008/01/03 02:07:540B / 253B / 27B

Brainfuck _

RankUserSizeTimeDateStatistics
1REM(VIPPER)18040.00562007/06/10 16:19:340B / ?B / ?B
2nuko(cheat)5150.01762008/01/24 21:32:361B / ?B / ?B
3_12870.02442007/11/04 01:46:260B / 0B / 1287B
4_12880.01132018/01/13 22:46:150B / ?B / ?B
5kaki13890.01072007/10/03 22:42:540B / 0B / 1389B
6yowa13900.01962007/09/09 00:46:280B / 0B / 1390B
7tabasa21840.02012007/10/04 09:32:035B / 0B / 2172B

Whitespace _

RankUserSizeTimeDateStatistics
1mitchs (flagitious)1680.06052015/01/29 11:16:290B / 0B / 0B
2flagitious1690.15122007/09/23 00:36:050B / 0B / 0B

Befunge _

RankUserSizeTimeDateStatistics
1AndoDaan6250.00012014/08/04 19:32:520B / 510B / 34B

GolfScript _

RankUserSizeTimeDateStatistics
1flagitious250.26012008/01/02 00:54:370B / 7B / 18B
251b270.32652007/12/15 08:57:260B / 11B / 15B

Unlambda _

RankUserSizeTimeDateStatistics
1hirose15040.01962007/08/06 20:57:290B / 501B / 1003B

z80 _

RankUserSizeTimeDateStatistics
1*yuko*2420.36972012/03/05 03:38:42150B / 49B / 36B

DOS _

RankUserSizeTimeDateStatistics
1*yuko*2622.64262011/12/29 10:06:47157B / 59B / 38B
2chocobi2831.22542008/11/16 20:40:0897B / ?B / ?B

goruby _

RankUserSizeTimeDateStatistics
1leonid330.22512010/01/03 21:22:000B / 15B / 17B
2murky-satyr330.22632010/01/03 21:34:580B / 14B / 18B
3flagitious340.40092007/12/26 12:15:410B / 16B / 15B

Groovy _

RankUserSizeTimeDateStatistics
1teebee374.15262011/06/20 07:26:330B / 25B / 9B
2murky-satyr385.21022008/03/14 06:30:140B / 26B / 9B

Scala _

RankUserSizeTimeDateStatistics
1murky-satyr678.88352011/07/11 23:37:580B / 31B / 35B

Language Ranking_

RankLangUserSizeScore
1dcpooq1110000
2bcpooq234782
3GolfScriptflagitious254400
4JHPWiz254400
5Bashteebee283928
6Perlteebee303666
7Perl6primo303666
8Maximapooq323437
9PHPmskzzzz333333
10gorubyleonid333333
11Ruby2primo343235
12Groovyteebee372972
13Rubyflagitious382894
14Smalltalkmurky-satyr422619
15PARI/GPpooq432558
16Arcmurky-satyr442500
17Pythonprimo472340
18REXX*yuko*522115
19HaskellmoriA601833
20Common LISPkozima611803
21Prologmskzzzz621774
22Pikepooq641718
23Scalamurky-satyr671641
24Schemecddddr701571
25Clojuremurky-satyr831325
26Fortran*yuko*1101000
27Javateebee113973
28BASIC*yuko*116948
29OCamlksk125880
30C51b133827
31Erlang51b139791
32Gouru142774
33D51b151728
34Whitespacemitchs (flagitious)168654
35Postscriptyshl(bin)197558
36z80*yuko*242454
37DOS*yuko*262419
38JavaScriptmurky-satyr298369
39Luamurky-satyr308357
40AWKnn(embed)352312
41sedhirose498220
42Brainfucknuko(cheat)515213
43BefungeAndoDaan625176
44Unlambdahirose150473

Referer

Note that, they may contain spoilers.

return to the top page