結果

問題 No.1130 Grid Numbers
ユーザー brthyyjpbrthyyjp
提出日時 2020-09-30 06:46:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 76 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 1,031 ms
コンパイル使用メモリ 86,592 KB
実行使用メモリ 71,232 KB
最終ジャッジ日時 2023-09-18 15:08:38
合計ジャッジ時間 3,799 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,224 KB
testcase_01 AC 75 ms
70,952 KB
testcase_02 AC 74 ms
71,124 KB
testcase_03 AC 74 ms
71,060 KB
testcase_04 AC 74 ms
71,124 KB
testcase_05 AC 73 ms
71,232 KB
testcase_06 AC 74 ms
71,076 KB
testcase_07 AC 73 ms
71,232 KB
testcase_08 AC 75 ms
71,040 KB
testcase_09 AC 74 ms
71,080 KB
testcase_10 AC 76 ms
71,120 KB
testcase_11 AC 75 ms
70,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

h, w = map(int, input().split())
A = []
for i in range(h):
    A += list(map(int, input().split()))
A.sort()
for i in range(h):
    print(*A[i*w:(i+1)*w])
0