Решай "в лоб" с кешированием - это называется "динамическое программирование".
Misha Marchenko wrote: > Смотрел. Мне интереснее какой алгоритм был использован, какого его > название? > В том году я узнал, например, про венгерский алгоритм > > 7 сентября 2009 г. 22:08 пользователь Satyajit Malugu > <[email protected] <mailto:[email protected]>> написал: > > Last year the contest was won by a chinese. Though the questions > are given in English and we'd be interested in knowing what all > the talking, we can't force anyone to communicate with rest of us :) > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "google-codejam" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-code?hl=en -~----------~----~----~----~------~----~------~--~---
