Submit | All submissions | Best solutions | Back to list |
SQRT2 - Digits of SQRT(2) |
In this task you are to find as many digits of the square root of 2 as possible. You have to make it within the limit of time and source code length.
Input
There is no input for this problem
Output
The output must contain as many digits of the square root of 2 as possible (max = 2000000)
Score
The score awarded to your program will be the first position of the digit where the first difference occurs.
Example
Output:1.41421356237309504
will be awarded with 19 points.
Added by: | Roman Sol |
Date: | 2007-01-07 |
Time limit: | 2.75s |
Source limit: | 4096B |
Memory limit: | 1536MB |
Cluster: | Cube (Intel G860) |
Languages: | All except: CLPS LISP sbcl LISP clisp ERL JS-RHINO NODEJS PERL6 VB.NET |
Resource: | ZCon 2007 |
hide comments
|
||||||
2015-07-29 19:47:52 ROHIT Kumar
got 17 points..... feeling like i m in heaven |
||||||
2015-04-28 22:33:00 _R0b_
i got max score 40002 after that time limit exceed |
||||||
2015-04-26 20:19:32 Min_25
@numerix Thanks ! |
||||||
2015-04-26 20:16:50 numerix
@Min_25: Great! |
||||||
2014-12-06 00:41:03 Mitch Schwartz
See also SQR2_VAL on the CONSTANT contest. |
||||||
2014-03-29 14:45:40 Vikesh_Tiwari
got 9995 points...what does it mean? |
||||||
2013-11-09 10:54:17 sridhar
what will happen if i write cout"1.41421356237309504"? |
||||||
2013-03-02 14:10:30 shally
ac in first attempt |
||||||
2012-06-13 07:28:21 :)
hey i am getting only 17.....using %lf what shoule be used to maximize score? |
||||||
2012-05-09 05:07:50 Aditya Pande
Last edit: 2012-07-23 12:49:49 |