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

Обсуждение задачи 1107. Складская задача

1107 Trying to solve
Послано svr 25 июл 2007 12:18
1. First of all it seems that YES alltimes;
2. Secondly evident that we should find partition
of set of all possiible multisets of products not only given K~50000;
3. Let P(i,A)- predicate for i-th subdivision of the partition. 1<=i<=N+1.
Eqution P(i,A)==1 must become wrong if we add any element to A or raplace any element in A.
It seems that |A| mod(N+1) has this stable property.
Re: 1107 Trying to solve
Послано Chmel_Tolstiy 15 апр 2008 01:28
Thanks for ur idea.
Re: 1107 Trying to solve
Послано Denis Koshman 29 июл 2008 16:51
At first I was suprised by your statement that the answer is always YES.. But then I saw that M>N in problem statement, that makes life a lot easier! :) My current thoughts are about assiging shops to some dedicated type of goods.