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

Обсуждение задачи 1525. Path

Please, give me some hints
Послано Duzhy Igor 20 фев 2007 14:33
Who can explain me how to solve this problem?
Re: Please, give me some hints
Послано Kit 20 фев 2007 14:44
Firstly try to solve similiar problem in one dimension. Then you will find 3D-answer easily.
Good luck!
Re: Please, give me some hints
Послано Alias (Alexander Prudaev) 20 фев 2007 21:47
I know how to generalize solution of 1-dimensional problem
to case 3d, but i can't solve 1-dimensional problem :)
Re: Please, give me some hints
Послано Index Tree 20 фев 2007 23:32
I think it's a "not hard combinatorial task" but I cannot get the sample output on test 3, it think it should be 13*13*10
Re: Please, give me some hints
Послано svr 20 фев 2007 23:42
In one dimension is enough to find final positions of left and right ends of segment only. All coordinats between these positions are achievable.