#PU665. USACO 2016 December Contest, Bronze — Problem 3. The Cow-Signal
USACO 2016 December Contest, Bronze — Problem 3. The Cow-Signal
USACO 2016 December Contest, Bronze — Problem 3. The Cow-Signal
题目描述
Bessie and her cow friends are playing as their favorite cow superheroes. Of course, everyone knows that any self-respecting superhero needs a signal to call them to action. Bessie has drawn a special signal on a sheet of paper (), but this is too small, much too small! Bessie wants to amplify the signal so it is exactly times bigger () in each direction. The signal will consist only of the '.' and 'X' characters.
输入格式
The first line of input contains , , and , separated by spaces. The next lines each contain a length- string, collectively describing the picture of the signal.
输出格式
You should output lines, each with characters, giving a picture of the enlarged signal.
数据范围
(见题面原文)
样例
样例 1
5 4 2
XXX.
X..X
XXX.
X..X
XXX.
XXXXXX..
XXXXXX..
XX....XX
XX....XX
XXXXXX..
XXXXXX..
XX....XX
XX....XX
XXXXXX..
XXXXXX..
Problem credits: Nathan Pinsker