API Response (JSON)
{
"problem": {
"name": "C1. Encryption (easy)",
"description": {
"content": "Rebel spy Heidi has just obtained the plans for the Death Star from the Empire and, now on her way to safety, she is trying to break the encryption of the plans (of course they are encrypted – the Emp",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF958C1"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Rebel spy Heidi has just obtained the plans for the Death Star from the Empire and, now on her way to safety, she is trying to break the encryption of the plans (of course they are encrypted – the Emp...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "叛徒间谍海蒂刚刚从帝国获得了死星的计划,现在她正前往安全地点,试图破解这些计划的加密(当然,它们是加密的——帝国可能邪恶,但并不愚蠢!)。加密有多层安全机制,而第一层如下所示。\n\n海蒂面前的屏幕上显示了一个整数序列 #cf_span[A] 和一个正整数 #cf_span[p]。她知道加密代码是一个单一的数字 #cf_span[S],其定义如下:\n\n定义 #cf_span[X] 的 #cf_span...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ N, p \\in \\mathbb{Z}^+ $ with $ 2 \\leq N \\leq 100{,}000 $ and $ 2 \\leq p \\leq 10{,}000 $. \nLet $ A = (a_1, a_2, \\dots, a_N) $ be a sequence of integers with $ a_i \\in [1, 1{,}0...",
"is_translate": false,
"language": "Formal"
}
]
}