Time limit
2000 ms
Memory limit
262144 kB
Source
Codeforces Beta Round #98 (Div. 2)
Tags
dp strings *1900
Editorial
Announcement Tutorial
Descriptions: