結果

問題 No.565 回転拡大
ユーザー 👑 KazunKazun
提出日時 2021-01-07 18:00:28
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 323 bytes
コンパイル時間 323 ms
コンパイル使用メモリ 82,180 KB
実行使用メモリ 61,596 KB
最終ジャッジ日時 2024-04-26 10:03:18
合計ジャッジ時間 2,605 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 41 ms
59,560 KB
testcase_01 AC 40 ms
59,792 KB
testcase_02 AC 43 ms
60,176 KB
testcase_03 AC 37 ms
53,148 KB
testcase_04 AC 41 ms
59,848 KB
testcase_05 AC 38 ms
53,356 KB
testcase_06 AC 40 ms
59,284 KB
testcase_07 AC 40 ms
58,160 KB
testcase_08 AC 40 ms
59,908 KB
testcase_09 AC 37 ms
52,896 KB
testcase_10 AC 36 ms
52,820 KB
testcase_11 AC 37 ms
52,888 KB
testcase_12 AC 43 ms
60,660 KB
testcase_13 AC 38 ms
52,932 KB
testcase_14 AC 37 ms
52,252 KB
testcase_15 AC 39 ms
52,468 KB
testcase_16 AC 35 ms
53,092 KB
testcase_17 AC 36 ms
53,416 KB
testcase_18 AC 38 ms
52,960 KB
testcase_19 AC 44 ms
59,228 KB
testcase_20 AC 38 ms
52,496 KB
testcase_21 AC 38 ms
53,212 KB
testcase_22 AC 40 ms
58,692 KB
testcase_23 AC 35 ms
52,872 KB
testcase_24 AC 40 ms
59,708 KB
testcase_25 AC 40 ms
60,128 KB
testcase_26 AC 36 ms
53,488 KB
testcase_27 AC 39 ms
58,896 KB
testcase_28 AC 43 ms
61,596 KB
testcase_29 AC 37 ms
53,372 KB
testcase_30 AC 36 ms
52,472 KB
testcase_31 AC 34 ms
52,144 KB
testcase_32 AC 36 ms
52,196 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

R,K=map(int,input().split())
H,W=map(int,input().split())

C=[]
for i in range(H):
    D=list(input())
    E=[]
    for j in range(W):
        E+=D[j]*K

    for _ in range(K):
        C.append(E)

for _ in range(R//90):
    C=[list(X) for X in zip(*C[::-1])]

for D in C:
    X=""
    for d in D:
        X+=d
    print(X)
0