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

Обсуждение задачи 1537. Энты

WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 15 мар 2007 21:57


Edited by author 16.03.2007 22:42
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано KIRILL(ArcSTU) 16 мар 2007 01:58
Pay attention on this line

a[i]=a[i-1]+a[i/2];
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 16 мар 2007 13:03
What mistake can be in this line?THANK!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано KIRILL(ArcSTU) 16 мар 2007 13:50
overflow
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 16 мар 2007 19:00
I try to correct it!If I cant,please, say how i must correct!THANK!!!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 16 мар 2007 19:21
I cant correct!IF YOU can,help me!!!THANK!!!!!

Edited by author 16.03.2007 19:22
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано KIRILL(ArcSTU) 16 мар 2007 20:44
a[i]=(a[i-1]+a[i/2])%p;
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 16 мар 2007 22:04
THANK for hint!


Edited by author 16.03.2007 22:21
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 16 мар 2007 22:22
NOW I HAVE MLE on 24 test!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано Romko [Lviv NU] 16 мар 2007 22:23
Use int instead of __int64 and you'll get AC!
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 16 мар 2007 22:39
WOW!!!NOW I GOT AC!!!THANK to KIRILL(ArcSTU) & Romko [Lviv NU]!!!!

Edited by author 16.03.2007 22:41
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 18 июн 2007 13:55
[code deleted]

Edited by author 18.06.2007 16:58
Re: WhY WA#16???????????????!!!!!!!! I think it true solution
Послано CHIDEMYAN SERGEY 30 июн 2007 15:00
[code delete]

Edited by author 30.06.2007 15:04