#3861. C++-数据存储与读入-已知矩形大小为n * m ,现用a * a的正方形填充该矩形... ...(拓展01-多种计算方式)

C++-数据存储与读入-已知矩形大小为n * m ,现用a * a的正方形填充该矩形... ...(拓展01-多种计算方式)

Background

Description

image

image

Format

Input

Output

Samples

5 6 2
15
7
7
6

Limitation

1s, 1024KiB for each test case.