結果
| 問題 | No.565 回転拡大 | 
| コンテスト | |
| ユーザー |  maspy | 
| 提出日時 | 2020-01-04 23:50:08 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 399 bytes | 
| コンパイル時間 | 246 ms | 
| コンパイル使用メモリ | 12,544 KB | 
| 実行使用メモリ | 44,596 KB | 
| 最終ジャッジ日時 | 2024-11-22 21:47:02 | 
| 合計ジャッジ時間 | 20,643 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 WA * 1 | 
| other | AC * 13 WA * 17 | 
ソースコード
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
import numpy as np
R,K = map(int,readline().split())
H,W = map(int,readline().split())
C = np.frombuffer(read(),'S1').reshape(H,-1)[:,:W].astype('U1')
D = np.repeat(C,K,axis=0).repeat(K,axis=1)
for _ in range(R//90):
    D = D.T[::-1]
print('\n'.join(''.join(row) for row in D))
            
            
            
        