API Response (JSON)
{
"problem": {
"name": "E. New Year and Old Subsequence",
"description": {
"content": "A string _t_ is called _nice_ if a string \"_2017_\" occurs in _t_ as a **subsequence** but a string \"_2016_\" doesn't occur in _t_ as a **subsequence**. For example, strings \"_203434107_\" and \"_9220617_",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF750E"
},
"statements": [
{
"statement_type": "Markdown",
"content": "A string _t_ is called _nice_ if a string \"_2017_\" occurs in _t_ as a **subsequence** but a string \"_2016_\" doesn't occur in _t_ as a **subsequence**. For example, strings \"_203434107_\" and \"_9220617_...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "一个字符串 #cf_span[t] 被称为 _nice_,当且仅当字符串 \"_2017_\" 作为 *子序列* 出现在 #cf_span[t] 中,但字符串 \"_2016_\" 不作为 *子序列* 出现在 #cf_span[t] 中。例如,字符串 \"_203434107_\" 和 \"_9220617_\" 是 nice 的,而字符串 \"_20016_\"、\"_1234_\" 和 \"_20167_\" 不是 ni...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ s \\in \\{0,1,\\dots,9\\}^n $ be a string of length $ n $. \nLet $ T = \\text{\"2017\"} $, $ F = \\text{\"2016\"} $. \nA substring $ s[a:b] $ is *nice* if $ T $ is a subsequence of $ s[a...",
"is_translate": false,
"language": "Formal"
}
]
}