#3640. C++-GESP 2025-03认证二级-编程题01(等差矩阵)

C++-GESP 2025-03认证二级-编程题01(等差矩阵)

Background

Description

image

Format

Input

Output

Samples

3 4
1 2 3 4
2 4 6 8
3 6 9 12

Limitation

1s, 1024KiB for each test case.