API Response (JSON)
{
"problem": {
"name": "G. Four Melodies",
"description": {
"content": "_Author note: I think some of you might remember the problem \"Two Melodies\" from Eductational Codeforces Round 22. Now it's time to make it a bit more difficult!_ Alice is a composer, and recently sh",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 5000,
"memory_limit": 1048576
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF818G"
},
"statements": [
{
"statement_type": "Markdown",
"content": "_Author note: I think some of you might remember the problem \"Two Melodies\" from Eductational Codeforces Round 22. Now it's time to make it a bit more difficult!_\n\nAlice is a composer, and recently sh...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "_作者注:我相信你们中的一些人可能还记得 Educational Codeforces Round 22 中的题目 \"Two Melodies\"。现在是时候让它变得更难一些了!_\n\nAlice 是一位作曲家,最近她录制了两首非常受欢迎的曲目。现在她拥有了大量等待新曲目的粉丝。\n\n这次,Alice 想为她的曲目创作四个旋律。\n\nAlice 的乐谱上写有 #cf_span[n] 个音符。她希望从中选出...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $ with $ 4 \\leq n \\leq 3000 $. \nLet $ A = (a_1, a_2, \\dots, a_n) $ be a sequence of integers with $ 1 \\leq a_i \\leq 10^5 $. \n\nA subsequence $ S = (s_1, s_2, ...",
"is_translate": false,
"language": "Formal"
}
]
}