結果
| 問題 |
No.1130 Grid Numbers
|
| ユーザー |
otsu1000
|
| 提出日時 | 2020-10-13 10:46:44 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 33 ms / 2,000 ms |
| コード長 | 234 bytes |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-07-20 18:23:59 |
| 合計ジャッジ時間 | 1,105 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 |
ソースコード
H, W = map(int, input().split()) grid = [x for y in (map(int, input().split()) for _ in range(H)) for x in y] grid.sort() grid = [grid[x:x + W] for x in range(0, H * W, W)] print(*map(lambda x: ' '.join(map(str, x)), grid), sep='\n')
otsu1000