|
|
back to boardRounding Posted by ... 29 Aug 2007 22:50 The statement says "The only line of the output should contain the Average LCP of T with 3 digits after decimal point. " Is this with rounding or without? I'm using printf("%0.3lf") and keep on getting WA 35 Re: Rounding Posted by Al.Cash 22 Oct 2010 23:18 Can somebody tell what's the reason of WA 35? I think it's not rounding. Re: Rounding Do you use long long to count total length of common prefixes? Try a test like AAA...AAA (250000 times) Re: Rounding Posted by Al.Cash 22 Oct 2010 23:52 I've tried both long long and double. There's no problem with such test. |
|
|