Printing GIST
Time limit1sMemory limit1024 MB
Given K, print the 3x4 GIST picture with each cell enlarged into a K by K block.
- Level
Easy1 of 10
- Topics
- Implementation, Simulation
- Solved
- No attempts yet
Problem
GIST student ambassador Jionnarae is preparing a large banner to promote GIST. The banner will include the following picture.
G...
.I.T
..S.
Given an integer , print the picture enlarged times.
Enlarging the picture times means treating the picture as a matrix and enlarging that matrix. The details are as follows. A picture with width and height is represented as an matrix . The matrix obtained by enlarging times is a matrix defined as follows.
Input
The first line contains an integer . ()
Output
Print the picture enlarged times.