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
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

nbcool: 2013-01-19 20:49:10

I have not get any points and it is written 33 only.Please help me


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