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

Обсуждение задачи 1217. Unlucky Tickets

Показать все сообщения Спрятать все сообщения

thanks.
answer me,plz
this is a maths problem!
you will do it as 1044 And 1036
but could you say it clearly?
thank you.
D[i,j,k] : i-th digit with the sum of 1st -> i-th digit = j and the difference between sum of even digits and sum of odd digits = k

Result = Sum of D[n div 2,i,j] * D[n div 2,i,j] ;

Understand ?
No, can you explain it clearly ?
Re: Who can solove this problem in DP?help me,please nickolas stoudemire 27 авг 2007 21:06
Ha Ha!
I think it's mostly the same as mine.
But they're a little bit different.
Re: Who can solove this problem in DP?help me,please Oleg Strekalovsky [Vologda SPU] 9 май 2010 03:44
My Solution was 2 deminition DP.
Use algorithm from problem #1036