API Response (JSON)
{
"problem": {
"name": "[JOI2025 预选赛 R1H3] 循环字符串",
"description": {
"content": "给定长度为 $N$ 的字符串 $S$,$S$ 中仅包含小写字母。 若存在一个非空字符串 $T$,使得 $m(m\\geq 2)$ 个字符串 $T$ 首尾拼接在可以得到 $S$,那么我们称 $S$ 是循环的。 若 $S$ 是循环字符串,输出 $\\tt Yes$,否则输出 $\\tt No$。 ",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 2000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P2"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4119"
},
"statements": [
{
"statement_type": "Markdown",
"content": "给定长度为 $N$ 的字符串 $S$,$S$ 中仅包含小写字母。\n\n若存在一个非空字符串 $T$,使得 $m(m\\geq 2)$ 个字符串 $T$ 首尾拼接在可以得到 $S$,那么我们称 $S$ 是循环的。\n\n若 $S$ 是循环字符串,输出 $\\tt Yes$,否则输出 $\\tt No$。\n\n## Input\n\n第一行一个正整数 $N$。\n\n第二行一个长度为 $N$ 的字符串 $S$。\n\n## O...",
"is_translate": false,
"language": "English"
}
]
}