2315: 二阶矩阵(2025年3月C++四级)

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:19 Solved:12

Description

Input

Output

一行,一个整数,表示A中好的子矩阵数量。

Sample Input Copy

3 4 
1 2 1 0 
2 4 2 1 
0 3 3 0

Sample Output Copy

2

HINT

Source/Category