Logo
(追記) (追記ここまで)

14175번 - The Cow-Signal 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
2 초 512 MB1477108098474.545%

문제

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 M×N paper (1≤M≤10,1≤N≤10), but this is too small, much too small! Bessie wants to amplify the signal so it is exactly K times bigger (1≤K≤10) in each direction.

The signal will consist only of the '.' and 'X' characters.

입력

The first line of input contains M, N, and K, separated by spaces.

The next M lines each contain a length-N string, collectively describing the picture of the signal.

출력

You should output KM lines, each with KN characters, giving a picture of the enlarged signal.

제한

예제 입력 1

5 4 2
XXX.
X..X
XXX.
X..X
XXX.

예제 출력 1

XXXXXX..
XXXXXX..
XX....XX
XX....XX
XXXXXX..
XXXXXX..
XX....XX
XX....XX
XXXXXX..
XXXXXX..

힌트

출처

Olympiad > USA Computing Olympiad > 2016-2017 Season > USACO 2016 December Contest > Bronze 3번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /