Excuse me, im pretty new into spoj. I would ask testcase for this problem https://www.spoj.com/problems/PUBLICAT/ anyone can show other testcase? thank you
2 2 ORIZANDO B A A B 5 DFDFGDHD JZD HGFGF JHGH JHFHK HJKLHH JZD HGFGF JZD ORIZONDO ABC JHGH GDHGD GFJGF
Expected output
A 1 B 1 ORIZANDO 0 ABC 3 DFDFGDHD 2 GDHGD 3 GFJGF HGFGF 2 HJKLHH 2 JHFHK 2 JHGH 2 JZD 1 ORIZONDO 0
thank you very much