API Response (JSON)
{
"problem": {
"name": "C. Online Courses In BSU",
"description": {
"content": "Now you can take online courses in the Berland State University! Polycarp needs to pass _k_ **main** online courses of his specialty to get a diploma. In total _n_ courses are availiable for the passa",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 2000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF770C"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Now you can take online courses in the Berland State University! Polycarp needs to pass _k_ **main** online courses of his specialty to get a diploma. In total _n_ courses are availiable for the passa...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "现在你可以在贝尔兰国立大学修读在线课程!Polycarp 需要修完 #cf_span[k] 门他专业的主要在线课程才能获得学位。总共有 #cf_span[n] 门课程可供选择。\n\n情况因课程之间的依赖关系而变得复杂:每门课程都有一份必须在开始该课程之前修完的课程列表(列表可能为空,表示没有限制)。\n\n帮助 Polycarp 修完最少数量的课程以获得专业资格(即修完所有*主要*课程及必要的前置课程)...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, k \\in \\mathbb{Z}^+ $ with $ 1 \\leq k \\leq n \\leq 10^5 $. \nLet $ M \\subseteq \\{1, 2, \\dots, n\\} $ with $ |M| = k $ be the set of main courses. \nLet $ G = (V, E) $ be a dire...",
"is_translate": false,
"language": "Formal"
}
]
}