結果

問題 No.1130 Grid Numbers
ユーザー deepjuggling
提出日時 2023-03-10 15:42:21
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 183 bytes
コンパイル時間 170 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-09-18 03:19:43
合計ジャッジ時間 1,158 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12
権限があれば一括ダウンロードができます

ソースコード

diff #

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