結果

問題 No.2728 Grid Expansion
ユーザー nikoro256nikoro256
提出日時 2024-04-19 21:25:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 223 bytes
コンパイル時間 474 ms
コンパイル使用メモリ 82,368 KB
実行使用メモリ 60,788 KB
最終ジャッジ日時 2024-04-19 21:26:22
合計ジャッジ時間 1,382 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
53,448 KB
testcase_01 AC 30 ms
52,836 KB
testcase_02 AC 35 ms
52,760 KB
testcase_03 AC 37 ms
59,376 KB
testcase_04 AC 34 ms
53,096 KB
testcase_05 AC 34 ms
52,832 KB
testcase_06 AC 32 ms
53,592 KB
testcase_07 AC 37 ms
59,368 KB
testcase_08 AC 33 ms
52,964 KB
testcase_09 AC 34 ms
52,900 KB
testcase_10 AC 33 ms
53,540 KB
testcase_11 AC 36 ms
59,208 KB
testcase_12 AC 38 ms
60,788 KB
testcase_13 AC 40 ms
60,024 KB
testcase_14 AC 39 ms
60,276 KB
testcase_15 AC 34 ms
52,940 KB
testcase_16 AC 34 ms
52,976 KB
testcase_17 AC 33 ms
52,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,K=map(int,input().split())
A=[]
for i in range(N):
    A.append(input())
ans=[[] for _ in range(N*K)]
for i in range(N*K):
    for j in range(N*K):
        ans[i].append(A[i//K][j//K])
for a in ans:
    print(''.join(a))
0