API Response (JSON)
{
"problem": {
"name": "[GESP202503 四级] 二阶矩阵",
"description": {
"content": "小 A 有一个 $n$ 行 $m$ 列的矩阵 $A$。 小 A 认为一个 $2 \\times 2$ 的矩阵 $D$ 是好的,当且仅当 $D_{1,1} \\times D_{2,2} = D_{1,2} \\times D_{2,1}$。其中 $D_{i,j}$ 表示矩阵 $D$ 的第 $i$ 行第 $j$ 列的元素。 小 A 想知道 $A$ 中有多少个好的子矩阵。",
"description_type": "Markdown"
},
"platform": "Luogu",
"limit": {
"time_limit": 1000,
"memory_limit": 524288
},
"difficulty": {
"LuoguStyle": "P1"
},
"is_remote": true,
"is_sync": true,
"sync_url": null,
"sign": "LGB4264"
},
"statements": [
{
"statement_type": "Markdown",
"content": "小 A 有一个 $n$ 行 $m$ 列的矩阵 $A$。\n\n小 A 认为一个 $2 \\times 2$ 的矩阵 $D$ 是好的,当且仅当 $D_{1,1} \\times D_{2,2} = D_{1,2} \\times D_{2,1}$。其中 $D_{i,j}$ 表示矩阵 $D$ 的第 $i$ 行第 $j$ 列的元素。\n\n小 A 想知道 $A$ 中有多少个好的子矩阵。\n\n## Input\n\n第一行,...",
"is_translate": false,
"language": "English"
}
]
}