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

Общий форум

The problem1144 is NP-complete, isn't it? To admins: it is impossible to post message on the problem1144's board.
Послано Andrew V. Lazarev 22 ноя 2001 02:53
subj
I believe there must be a forumla, but I don't know.
Послано Li, Yi 22 ноя 2001 05:50
> subj
what is "the maximum result that the emperor accepts"
Послано snake 22 ноя 2001 06:52
Greedy algorithm, I think.
Послано Li, Yi 22 ноя 2001 09:44
> > subj
I think this is a number which not less the minimum difference. But I don't know for what K is given. N=10000, M=3, K=0... and... how to solve?
Послано Andrew V. Lazarev 22 ноя 2001 15:13
>
Greedy algorithm is a heuristics in this case... I think...
Послано Andrew V. Lazarev 22 ноя 2001 15:15
> > > subj
And do you know the greedy algorithm?
Послано Li, Yi 22 ноя 2001 16:08
> > > > subj
Yes, and not one, but all of them don't work on my tests :(
Послано Andrew V. Lazarev 23 ноя 2001 00:07
> > > > > subj
Test cases are not so difficult :)
Послано HNT 23 ноя 2001 12:20
I use Greedy Algorithm to solve.
Послано HNT 23 ноя 2001 12:26
While searching solutions, if a program find an answer
which is accepted, that program should stop.