Блог пользователя jcg

Автор jcg, 12 лет назад, По-английски

Can anybody explain me how to solve this problem? link: http://poj.org/problem?id=3691

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
12 лет назад, скрыть # |
 
Проголосовать: нравится +4 Проголосовать: не нравится

If this question is still open, a solution based on Aho-Corasic + DP is explained here — http://www.cprogramdevelop.com/2578501/ (there are also links to other related solutions on the same page)