ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1750. Pakhom and the Gully

To those, who had WA.
Posted by Yermak 24 Jan 2010 02:48
Deleted.

Edited by author 24.01.2010 03:44
Re: To those, who had WA.
Posted by Programmer 26 Jan 2010 19:04
Give me some tests.
Re: To those, who had WA.
Posted by Sandello 8 Feb 2010 02:52
Here is some useful tests (after passing all of it I got
AC):
14
1 1 3 3 0 2 2 2 2 0
2 2 6 1 -1 1 5 6 5 0
2 2 0 3 -1 1 5 6 5 0
2 2 -4 0 -1 1 5 6 5 0
2 2 6 7 -1 1 5 6 5 0
2 2 5 7 -1 1 4 6 5 0
1 1 6 6 2 2 3 3 4 4
1 1 6 6 2 4 3 3 4 2
1 1 2 2 -1 -1 -1 -2 -2 -1
1 1 3 3 4 6 2 2 6 4
1 1 3 3 4 6 1 2 6 4
1 1 3 3 4 6 1 2 7 4
1 1 2 2 1 3 3 3 3 1
1 1 1 5 0 8 1 2 3 2

Answer:
4.576491
5.019765
5.398346
6.324555
10.676619
10.605551
7.071068
7.634414
1.414214
8.993230
8.993230
9.162278
1.414214
5.841619

Good Luck :)
Re: To those, who had WA.
Posted by LoRd_TaPaKaH 8 Feb 2010 18:37
Thanks!!
Re: To those, who had WA.
Posted by kirill 17 Jan 2011 23:59
Yet tests:
5
5 2 3 5 -1 2 4 5 6 3
4 1 5 5 2 3 6 4 5 2
1 1 7 5 2 3 6 4 5 2
1 1 3 3 2 4 2 2 4 2
6 1 6 4 0 5 7 2 6 5

answers:
5.242641
5.064495
7.621233
4.576491
5.576491

And don't use float! When I use float system reply WA#4, after s/float/double/ I get AC.

Edited by author 18.01.2011 00:00
Re: To those, who had WA.
Posted by Oracle[Lviv NU] 23 May 2011 17:09
some more:

2
2 2 4 2 2 1 3 6 4 1
4 2 2 2 2 1 3 6 4 1

4.000000
4.000000
Re: To those, who had WA.
Posted by cdfpysw 19 Aug 2014 08:53
THX A LOT!
Re: To those, who had WA.
Posted by popolwooh 12 Aug 2015 16:45
My WA4 passed all having tests, but it had problems with something like this
2
8 7 1 3 6 1 7 4 0 9
5 1 2 2 2 1 4 1 8 9

11,709720
4,000000