Edit: Cleaned up a bit for 68:@_=map(1/$_,map($_**2,1...1000000));for $a(@_){$s+=$_[$i++];}$s*=6;pri +nt sqrt($s);
Edit edit: We both realized the same thing at the same time apparently.for(@_=map(6/$_,map($_**2,1..1000000))){$s+=$_[$i++]}print sqrt($s);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pi golf:
by ikegami (Patriarch) on Sep 05, 2006 at 20:05 UTC | |
|
Re: Pi golf:
by friedo (Prior) on Sep 05, 2006 at 19:50 UTC | |
by Robbjedi (Novice) on Sep 05, 2006 at 19:52 UTC | |
|
Re: Pi golf:
by chargrill (Parson) on Sep 05, 2006 at 21:26 UTC | |
by liverpole (Monsignor) on Sep 05, 2006 at 22:00 UTC | |
by truedfx (Monk) on Sep 07, 2006 at 13:13 UTC | |
by liverpole (Monsignor) on Sep 07, 2006 at 14:23 UTC | |
|
Re: Pi golf:
by jimt (Chaplain) on Sep 05, 2006 at 21:13 UTC | |
by Tanktalus (Canon) on Sep 05, 2006 at 21:40 UTC | |
|
Re: Pi golf:
by ambrus (Abbot) on Sep 05, 2006 at 20:16 UTC |