No testdata at current.
No submission language available for this problem.
N S
给定长度为 N 的字符串 S,问是否存在一个子串 T,使得 S=T+T。是则 Yes,否则 No。
Translated by @Expecting_Sharing(@JYqwq)
6
abcabc
Yes
6
abcadc
No
1
z
No
By signing up a 西蒙科教 universal account, you can submit code and join discussions in all online judging services provided by us.