Rectangles (3)

Write a program that prints k, n × m rectangles. Print each rectangle in
an independent way, fill it up with 9, followed by 8, …followed by 0,
etc.

Input

The input consists of three natural numbers k, n, m.

Output

Print k rectangles of size n × m, filled with 9,8,…0, 9, …. Separate two
rectangles with an empty line.

Problem information

Author: Unknown
Translator: Maria Serna

Generation: 2026-01-25T14:42:28.209Z

© Jutge.org, 2006–2026.
https://jutge.org
