Tripling a matrix

Write a program that reads a matrix m × n and prints it with its
elements tripled.

Input

Input consists of two natural numbers strictly positive m and n,
followed m lines with n integer numbers each one.

Output

Print the matrix with its elements tripled, following the format of the
instance.

Problem information

Author: Unknown
Translator: Carlos Molina

Generation: 2026-01-25T10:20:55.449Z

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