API Response (JSON)
{
"problem": {
"name": "A. Tetris",
"description": {
"content": "You are given a following process. There is a platform with $n$ columns. $1 \\times 1$ squares are appearing one after another in some columns on this platform. If there are no squares in the column, ",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 1000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF961A"
},
"statements": [
{
"statement_type": "Markdown",
"content": "You are given a following process.\n\nThere is a platform with $n$ columns. $1 \\times 1$ squares are appearing one after another in some columns on this platform. If there are no squares in the column, ...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "你被给予以下过程。\n\n有一个包含 $n$ 列的平台。$1 \\times 1$ 的方块会依次出现在平台的某些列上。如果某一列没有方块,则方块会占据最底行;否则,方块会出现在该列最高方块的顶部。\n\n当所有 $n$ 列都至少有一个方块时,最底行会被移除。你会因此获得 $1$ 分,剩余的所有方块会向下移动一行。\n\n你的任务是计算你将获得的总分数。\n\n输入的第一行包含两个整数 $n$ 和 $m$($1 \\l...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n, m \\in \\mathbb{Z}^+ $ denote the number of columns and the number of squares, respectively. \nLet $ C = (c_1, c_2, \\dots, c_m) $ be a sequence of column indices, where $ c_i ...",
"is_translate": false,
"language": "Formal"
}
]
}