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

Обсуждение задачи 1552. Brainfuck

why wa on test 28
Послано stelan 22 сен 2007 23:04
4 memory or 30000 memory ?
Re: why wa on test 28
Послано svr 30 сен 2007 17:01
I have WA 28 Also.
First 27 test I have passed with N=3 using Dejkstra.
But N==4 means very many possible states 27*27*27*27*4*50
and unprocessing.
Re: why wa on test 28
Послано Alias (Alexander Prudaev) 1 окт 2007 22:30
optimal program use 4 or less cells
Re: why wa on test 28
Послано svr 1 окт 2007 22:54
It's evident that using 5 cells we will have better solution for rather long strings, but jury's programm can't
work properly in this situation. Their hight level is 4 when they garantee right answer. I easy found Dejkstra's
solution for N=3. But for N=4 I tried DP,BFS with absolutely
bad characteristics. If solution depend on unproven statements which help diminish cardinality of set of possible states then it is unfair.
Re: why wa on test 28
Послано Denis Koshman 14 июл 2008 02:47
It's possible to work with DP over 27*27*27*4*50 states for 4 modifiable cells. Yes, this uses some interesting assumption but it is provable.

P.S: got AC

Edited by author 14.07.2008 02:52

Edited by author 14.07.2008 03:54
Re: why wa on test 28
Послано William Chou 9 янв 2011 06:29
Could you tell me what's your assumption?
I think DP should be 27^4 * 4 * 50,
and I assume that we just need modify 3 cells...
so I got wa#28~
could anybody help me?
sorry for my poor English.
Re: why wa on test 28
Послано ValenKof 16 дек 2011 04:28
I think you can assume that cell with position 0 <= i < 4  already have needed char.