結果

問題 No.1130 Grid Numbers
ユーザー chocopuuchocopuu
提出日時 2020-07-27 00:41:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 128 ms / 2,000 ms
コード長 190 bytes
コンパイル時間 335 ms
コンパイル使用メモリ 10,496 KB
実行使用メモリ 29,612 KB
最終ジャッジ日時 2023-09-12 14:37:56
合計ジャッジ時間 4,623 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 128 ms
29,484 KB
testcase_01 AC 128 ms
29,480 KB
testcase_02 AC 127 ms
29,428 KB
testcase_03 AC 127 ms
29,504 KB
testcase_04 AC 125 ms
29,524 KB
testcase_05 AC 126 ms
29,432 KB
testcase_06 AC 127 ms
29,524 KB
testcase_07 AC 125 ms
29,572 KB
testcase_08 AC 125 ms
29,568 KB
testcase_09 AC 126 ms
29,504 KB
testcase_10 AC 128 ms
29,612 KB
testcase_11 AC 127 ms
29,496 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy as np
H, W = map(int, input().split())
a = np.array([list(map(int, input().split())) for i in range(H)])
a = a.reshape(1, -1)
a.sort()
a = a.reshape(H, W)
for e in a : print(*e)
0