The PDF version of this problem can be downloaded here.
1 1 aa 4 4 4 4 4 ttttttttttttttt
No Yes
Migrated from old NTUJ.
ACM ICPC Dalian 2011