結果

問題 No.565 回転拡大
ユーザー Orisano
提出日時 2017-09-14 19:25:51
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 278 bytes
コンパイル時間 151 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-11-07 19:55:13
合計ジャッジ時間 2,078 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

R, K = map(int, input().split())
H, W = map(int, input().split())
C = [input().strip() for _ in range(H)]
for _ in range(R // 90):
    C = [x[::-1] for x in zip(*C)]

print("\n".join(
    "\n".join(
        "".join(y * K for y in x)
        for _ in range(K)
    ) for x in C
))
0