API Response (JSON)
{
"problem": {
"name": "J. Stepan's Series",
"description": {
"content": "Well, the series which Stepan watched for a very long time, ended. In total, the series had _n_ episodes. For each of them, Stepan remembers either that he definitely has watched it, or that he defini",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF795J"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Well, the series which Stepan watched for a very long time, ended. In total, the series had _n_ episodes. For each of them, Stepan remembers either that he definitely has watched it, or that he defini...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "好吧,Stepan 长时间观看的这部剧集终于结束了。该剧集总共有 #cf_span[n] 集。对于每一集,Stepan 记得自己要么肯定看过,要么肯定没看过,要么不确定是否看过。\n\nStepan 的不满值定义为他未观看的连续剧集的最大数量。\n\n你的任务是根据 Stepan 的记忆,判断他的不满值是否可能恰好等于 #cf_span[k]。\n\n第一行包含两个整数 #cf_span[n] 和 #cf_s...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions:**\n- Let $ n \\in \\mathbb{N} $, $ k \\in \\mathbb{Z}_{\\geq 0} $, with $ 1 \\leq n \\leq 100 $, $ 0 \\leq k \\leq n $.\n- Let $ s \\in \\{ \\text{Y}, \\text{N}, \\text{?} \\}^n $ be a sequence of lengt...",
"is_translate": false,
"language": "Formal"
}
]
}