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

Обсуждение задачи 1922. Команда супергероев

WA test 7
Послано Karpov Alexandr 28 окт 2012 13:07
What's this test?

Edited by author 28.10.2012 13:07
Re: WA test 7
Послано Talantsev Yegor 30 окт 2012 01:10
Try this test:
5
1
1
1
1
1

Answer is
1
5 1 2 3 4 5

Numbers order in the last(after 5) doesn't metter
Re: WA test 7
Послано alexProgrammer 30 окт 2012 11:22
but if we add to team 1 2 3 4 hero#5 this team will be effective?
Re: WA test 7
Послано Bogatyr 30 окт 2012 15:10
All teams that satisfy each member's demands are effective, the key to this problem is understanding the definition of "reliable."   It took me several readings of the problem statement to get this clear.
Re: WA test 7
Послано alexProgrammer 30 окт 2012 19:37
Excuse me. I can't understand you.
Can you answer my question?
in test
5
1
1
1
1
1

team with heroes 1, 2, 3 and 4 is reliable?
Re: WA test 7 Admins, please readjust wording to problem
Послано Bogatyr 31 окт 2012 02:48
It appears the wording for the problem has changed.   This was a badly worded problem to begin with, but now it is *incorrectly* worded!  The original wording was something like: "an effective team is also reliable if  there exists no superhero such that adding the superhero to the team results in an effective team."     Basically, a "reliable" team is one that cannot be added on to (by exactly one superhero) to make another effective team.

So no,  in the case "5 / 1 / 1 / 1  / 1 / 1" , "1 2 3 4" is not reliable because there exists a superhero such that adding it on to the team makes another effective team.



Edited by author 31.10.2012 03:05
Re: WA test 7 Admins, please readjust wording to problem
Послано alexProgrammer 31 окт 2012 19:16
Thank you very much!
Re: WA test 7 Admins, please readjust wording to problem
Послано Vladislav Antoshkin 11 фев 2013 05:49
On this test:
5
1
1
1
1
1

My program gets
Answer is
1
5 1 2 3 4 5
but I am still getting WA7.
yet have any thoughts on this?