PIVAL - Digits of Pi

In this problem you have to find as many digits of PI as possible.

Output

Output must contain as many digits of PI as possible (not more than 1000000).

Score

The score awarded to your program will be the first position of the digit where the first difference occured.

Example

Output:
3.1415926535897932384626433832795

will be awarded with 33 points.


Added by:Roman Sol
Date:2004-12-27
Time limit:5s
Source limit:4096B
Memory limit:1536MB
Cluster: Cube (Intel G860)
Languages:All except: CLPS LISP sbcl LISP clisp ERL JS-RHINO
Resource:ZCon 2005

hide comments
2012-10-20 06:53:53 Mukund Kumar
AC :)

Last edit: 2013-05-11 04:59:37
2012-06-16 06:47:58 reo_j
i m getting 33 but there is no any accepted term.??
2011-08-31 04:26:04 Apoorv Upreti
I keep getting NZEC when I use the decimal module in python..what's wrong?
2011-06-07 22:10:23 Santiago Zubieta
The thing with Kousthub solution is that you are limited to the source size ;) (4096 bytes)
What amazes me is that guy who did 260k in C++ (there is the other guy with 720k in Haskell, but I don't know how that language is)
2011-05-01 10:37:48 Matteo Kinkela
acos(-1)
2011-01-10 12:49:52 Bob
π=16arctan1/5-4arctan1/239
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.