#2913. Echo
0
Echo
Echo
题目描述
给定一个正整数 和一个长度为 的由小写英文字母组成的字符串 。 判断该字符串是否是某个字符串的两次拼接。 也就是说,判断是否存在一个字符串 使得 。
输入格式
Input is given from Standard Input in the following format:
输出格式
If is a concatenation of two copies of some string, print ; otherwise, print .
6
abcabc
Yes
6
abcadc
No
1
z
No
提示
consists of lowercase English letters.
Let , and .
标签: AtCoder|abc145B
来源
AtCoder|abc145B