POJ 2406 KMP, 单元串个数-good idea!