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
2022-07-20 14:29:03
search for pi online can get you about 3,500 digits.
2020-05-18 10:51:21
9999 in Java! Try the Gauss-Legendre algorithm guys
Now 44702!

Last edit: 2020-05-20 02:29:47
2019-09-27 19:35:07
9258 in python
2019-08-02 10:49:03
3895 in c++
2019-08-01 23:49:23
how to solve this
2018-12-06 04:21:22
I got 4002 yey
2018-02-15 14:55:37
got 8794 on python 2 :)
2017-12-31 11:09:25
Only classical problems count to your global rank. This is a challenge problem.
2017-12-19 23:06:44
Despite getting a score of 1002, my points for global ranking didn't change. Anyone else facing similar problem. Or, do we need to get a minimum score of more than what I have achieved to achieve non-zero points for this challenge?
2016-10-09 19:45:24
wat da hell.. i found someone's account has solved this problem with 8000 digits-_-
© Spoj.com. All Rights Reserved. Spoj uses Sphere Engine™ © by Sphere Research Labs.