結果
問題 | No.1971 Easy Sudoku |
ユーザー |
|
提出日時 | 2022-11-01 19:01:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 31 ms / 2,000 ms |
コード長 | 219 bytes |
コンパイル時間 | 115 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-07-16 09:13:48 |
合計ジャッジ時間 | 1,286 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 13 |
ソースコード
from collections import deque def main(): N = int(input()) first_row = deque(range(1, N+1)) for _ in range(N): print(*first_row) first_row.rotate(1) if __name__ == "__main__": main()