API Response (JSON)
{
"problem": {
"name": "D. Bear and Rectangle Strips",
"description": {
"content": "Limak has a grid that consists of 2 rows and _n_ columns. The _j_\\-th cell in the _i_\\-th row contains an integer _t__i_, _j_ which can be positive, negative or zero. A non-empty rectangle of cells i",
"description_type": "Markdown"
},
"platform": "Codeforces",
"limit": {
"time_limit": 3000,
"memory_limit": 262144
},
"difficulty": "None",
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "CF790D"
},
"statements": [
{
"statement_type": "Markdown",
"content": "Limak has a grid that consists of 2 rows and _n_ columns. The _j_\\-th cell in the _i_\\-th row contains an integer _t__i_, _j_ which can be positive, negative or zero.\n\nA non-empty rectangle of cells i...",
"is_translate": false,
"language": "English"
},
{
"statement_type": "Markdown",
"content": "Limak 有一个由 #cf_span[2] 行和 #cf_span[n] 列组成的网格。第 #cf_span[i] 行第 #cf_span[j] 列的单元格包含一个整数 #cf_span[ti, j],它可以是正数、负数或零。\n\n一个非空的矩形区域被称为 _nice_,当且仅当其中所有单元格的数字之和等于 #cf_span[0]。\n\nLimak 希望选择一些 nice 矩形并作为礼物送给他的朋友...",
"is_translate": true,
"language": "Chinese"
},
{
"statement_type": "Markdown",
"content": "**Definitions** \nLet $ n \\in \\mathbb{Z} $, $ n \\geq 1 $, be the number of columns. \nLet $ T = \\begin{bmatrix} t_{1,1} & t_{1,2} & \\cdots & t_{1,n} \\\\ t_{2,1} & t_{2,2} & \\cdots & t_{2,n} \\end{bmatri...",
"is_translate": false,
"language": "Formal"
}
]
}