API Response (JSON)
{
"problem": {
"name": "D. Animals and Puzzle",
"description": {
"content": "Owl Sonya gave a huge lake puzzle of size _n_ × _m_ to hedgehog Filya as a birthday present. Friends immediately started to assemble the puzzle, but some parts of it turned out to be empty — there was",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 5000,
"memory_limit": 524288
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF713D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Owl Sonya gave a huge lake puzzle of size _n_ × _m_ to hedgehog Filya as a birthday present. Friends immediately started to assemble the puzzle, but some parts of it turned out to be empty — there was...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "猫头鹰索尼娅送给刺猬菲利亚一个大小为 $n × m$ 的巨型拼图作为生日礼物。朋友们立即开始拼图,但其中一些部分是空的——上面没有图案。有图案的部分用 $1$ 表示,空的部分用 $0$ 表示。拼图的行从上到下编号为 $1$ 到 $n$,列从左到右编号为 $1$ 到 $m$。\n\n动物们决定完成图案并一起玩,这可能会更有趣!猫头鹰和刺猬互相提问。每个查询由四个整数 $x1$、$y1$、$x2$、$y2...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "Let $ A \\in \\{0,1\\}^{n \\times m} $ be a binary matrix representing the puzzle, where $ A[i][j] = 1 $ if cell $ (i,j) $ contains a picture, and $ 0 $ otherwise.\n\nFor a query $ (x_1, y_1, x_2, y_2) $, d...",
"is_translate": false,
"language": "Formal"
}
]
}