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

Обсуждение задачи 1223. Chernobyl’ Eagle on a Roof

Vlad-Doru Ion Hint [2] // Задача 1223. Chernobyl’ Eagle on a Roof 13 дек 2012 22:32
If your complexity is O(N^3) and your solution only gets AC in C/C++ then maybe you should print the matrix of where is best to drop the first egg.
keivan Re: Hint [1] // Задача 1223. Chernobyl’ Eagle on a Roof 29 янв 2013 17:07
If your complexity is O(N^3) you can use the fact that when number of eggs >= log(N) , answer is log(N) .
O(N^2*log(N)) .
Gary Ye Re: Hint // Задача 1223. Chernobyl’ Eagle on a Roof 25 авг 2014 04:25
keivan писал(a) 29 января 2013 17:07
If your complexity is O(N^3) you can use the fact that when number of eggs >= log(N) , answer is log(N) .
O(N^2*log(N)) .

Keivan, that's such a good observation! Is that the intended solution though?