API Response (JSON)
{
"problem": {
"name": "A. Binary Protocol",
"description": {
"content": "Polycarp has just invented a new binary protocol for data transmission. He is encoding positive integer decimal number to binary string using following algorithm: * Each digit is represented with n",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF825A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Polycarp has just invented a new binary protocol for data transmission. He is encoding positive integer decimal number to binary string using following algorithm:\n\n* Each digit is represented with n...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Polycarp 刚刚发明了一种用于数据传输的新二进制协议。他使用以下算法将正整数的十进制数编码为二进制字符串:\n\n尽管 Polycarp 学会了如何编码数字,但他不知道如何将其解码回来。请帮助他计算出解码后的数字。\n\n第一行包含一个整数 #cf_span[n](#cf_span[1 ≤ n ≤ 89])——字符串 #cf_span[s] 的长度。\n\n第二行包含字符串 #cf_span[s] ——...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ be the length of the binary string. \nLet $ s = s_1 s_2 \\dots s_n $ be a binary string with $ s_i \\in \\{0,1\\} $, $ s_1 = 1 $.\n\n**Constraints** \n1. $ 1 \\leq ...",
"is_translate": false,
"language": "Formal"
}
]
}