|
|
back to boardTest # 15 Is there any1 could give me some noticeable points about this test??? I try both accuracy of 2 and 3 decimal digits after the point but in both cases I got Wrong at test # 15. I put Solution=2*(sqrt(Solution*array[i])) i from n-1 downto 1(I omit same numbers before and my array is sorted in increasing order ). Re: Test # 15 Posted by PSV 18 Nov 2006 22:39 Check your code for errors, because I've the same algo and AC!!! Try to use Pascal First time I solve this problem on C++ with same algo and have WA#15. When I write my code on Pascal I have AC. . . It's strange. . . May be it's problem with precision or type conversion. Edited by author 02.10.2007 00:52 |
|
|