ENG  RUSTimus Online Judge
Online Judge
Задачи
Авторы
Соревнования
О системе
Часто задаваемые вопросы
Новости сайта
Форум
Ссылки
Архив задач
Отправить на проверку
Состояние проверки
Руководство
Регистрация
Исправить данные
Рейтинг авторов
Текущее соревнование
Расписание
Прошедшие соревнования
Правила
вернуться в форум

Обсуждение задачи 1750. Пахом и овраг

To those, who had WA.
Послано Yermak 24 янв 2010 02:48
Deleted.

Edited by author 24.01.2010 03:44
Re: To those, who had WA.
Послано Programmer 26 янв 2010 19:04
Give me some tests.
Re: To those, who had WA.
Послано Sandello 8 фев 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.
Послано LoRd_TaPaKaH 8 фев 2010 18:37
Thanks!!
Re: To those, who had WA.
Послано kirill 17 янв 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.
Послано Oracle[Lviv NU] 23 май 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.
Послано cdfpysw 19 авг 2014 08:53
THX A LOT!
Re: To those, who had WA.
Послано popolwooh 12 авг 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