API Response (JSON)
{
"problem": {
"name": "F. Restoring the Expression",
"description": {
"content": "A correct expression of the form _a+b=c_ was written; _a_, _b_ and _c_ are non-negative integers without leading zeros. In this expression, the plus and equally signs were lost. The task is to restore",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF898F"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A correct expression of the form _a+b=c_ was written; _a_, _b_ and _c_ are non-negative integers without leading zeros. In this expression, the plus and equally signs were lost. The task is to restore...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "一个形如 _a+b=c_ 的正确表达式被写下了;#cf_span[a]、#cf_span[b] 和 #cf_span[c] 是没有前导零的非负整数。在这个表达式中,加号和等号丢失了。任务是恢复该表达式。换句话说,需要在给定的数字序列中插入一个字符 '_+_' 和一个字符 '_=_',使得:\n\n保证在给定的测试中答案总是存在。\n\n第一行包含一个由数字组成的非空字符串。字符串的长度不超过 #cf_sp...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ s \\in \\{0,1,\\dots,9\\}^* $ be the input string of digits, with $ 1 \\leq |s| \\leq 10^6 $.\n\nFind indices $ i, j \\in \\mathbb{Z} $ such that:\n- $ 1 \\leq i < j \\leq |s| $,\n- $ a = \\text{int}(s[0:i]) $...",
"is_translate": false,
"language": "Formal"
}
]
}