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.


hide comments
Mitch Schwartz: 2014-07-01 00:45:41

@Sartaj: The point value here is calculated as your score divided by top score. You have gotten a small fraction of a point, not enough to increase your overall score to the next 0.1 increment. (I believe rounding occurs at the end, so if you have 0.049 points overall then it will register as 0 points, but if you make a 0.002 improvement in any problem then your total of 0.051 points will register as 0.1.)

Last edit: 2014-07-01 00:54:17
Tizen: 2014-06-30 22:20:52

Its given that the points awarded will be RELATIVE to the top score. What does this exactly mean?
My score is 4K n the best score is 890K, n i have got no points. What should be the least score to get points?

Last edit: 2014-06-30 22:23:43
KICK: 2014-06-14 08:05:07

i am new to SPOJ
i am getting 801
what does that mean?

Steven Hans Limantoro: 2014-05-29 15:45:13

If I got 0, what is the meaning of this?

Michooool: 2014-03-10 12:38:31

I have not get any points ... just written 3895

Last edit: 2014-03-10 12:39:42
Alexandre Henrique Afonso Campos: 2014-01-12 20:20:14

@Nrjana

The points to your account are relative to the best score. This is explained in the tutorial session.

Archangel: 2013-12-23 23:18:59

i got 17, and no points in my account..can someone explain me what it means that points will be awarded?

@looser@: 2013-08-14 11:23:03

i am getting 2779
what mens this ?

Pranye Mawai: 2013-07-09 04:55:30

hey rishabh r u here..

Vishal Sharma: 2013-06-08 12:31:03

i am getting 53 digits in ideone compiler but here it is giving just 17 by python using Decimal class


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 clisp LISP sbcl ERL JS-RHINO
Resource:ZCon 2005