API Response (JSON)
{
"problem": {
"name": "A. Tom Riddle's Diary",
"description": {
"content": "Harry Potter is on a mission to destroy You-Know-Who's Horcruxes. The first Horcrux that he encountered in the Chamber of Secrets is Tom Riddle's diary. The diary was with Ginny and it forced her to o",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF855A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Harry Potter is on a mission to destroy You-Know-Who's Horcruxes. The first Horcrux that he encountered in the Chamber of Secrets is Tom Riddle's diary. The diary was with Ginny and it forced her to o...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "哈利·波特正在执行摧毁伏地魔魂器的任务。他在密室中遇到的第一个魂器是汤姆·里德尔的日记。这本日记曾被金妮持有,并迫使她打开了密室。哈利想知道所有曾经持有过这本日记的人,以确保他们没有受到日记的影响。\n\n他拥有按顺序记录的 #cf_span[n] 个曾持有日记的人的名字。你需要对每个人判断:他/她是否在之前某个时刻已经持有过这本日记。\n\n形式化地,对于第 #cf_span[i] 行中的名字 #cf_...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the number of names. \nLet $ S = (s_1, s_2, \\dots, s_n) $ be a sequence of strings, where each $ s_i $ consists of lowercase English letters.\n\n**Constrain...",
"is_translate": false,
"language": "Formal"
}
]
}