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

Обсуждение задачи 1400. Сотовые символы

IGOR_LNU HELP!!!!!!!!!!! [5] // Задача 1400. Сотовые символы 9 сен 2006 16:25
Those who worked above this program, help me. I receive Wrong Answer on the test №14. What can it be?
AlexF Re: HELP!!!!!!!!!!! [2] // Задача 1400. Сотовые символы 9 сен 2006 23:06
I've just solve it! Here are some tests!
5 5
Mean = 1.20
0 1 2 2 1

5 1
Mean = 1.20
0
1
2
2
1

5 2
Mean = 0.8
1 1
0 1
1

And don't forget that the first simbol is connected with the last! It helped me to pass WA#12! Good Luck!
IGOR_Lviv NU Re: HELP!!!!!!!!!!! // Задача 1400. Сотовые символы 11 мар 2007 05:16
Thanks to all who helped me. It was my first ACM problem
which i tried to solve. :)
Snetch Re: HELP!!!!!!!!!!! // Задача 1400. Сотовые символы 27 ноя 2007 04:33
AlexF писал(a) 9 сентября 2006 23:06
And don't forget that the first symbol is connected with the last! It helped me to pass WA#12!
It did not help me, however; I still have WA#12
My program's output on your first two tests is placing the zero in the middle, but the task says: "If there are several variants, output any of them", so I don't think that would make the output fail. Maybe I am wrong?

Edited by author 27.11.2007 04:36
Bob Re: HELP!!!!!!!!!!! [1] // Задача 1400. Сотовые символы 3 ноя 2006 19:04
I want to add that you can't move UP if there is no cell upper current cell and you can't move DOWN if there is no cell lower current cell.
Nechaev Ilya (Rybinsk SAAT) Re: HELP!!!!!!!!!!! // Задача 1400. Сотовые символы 4 ноя 2006 22:00
One more test:

1 1

Mean = 0.00
0