結果

問題 No.1971 Easy Sudoku
ユーザー hir355hir355
提出日時 2022-06-10 21:43:37
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 53 ms / 2,000 ms
コード長 123 bytes
コンパイル時間 238 ms
コンパイル使用メモリ 81,688 KB
実行使用メモリ 64,176 KB
最終ジャッジ日時 2023-10-21 05:00:30
合計ジャッジ時間 1,782 ms
ジャッジサーバーID
(参考情報)
judge12 / judge10
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
53,232 KB
testcase_01 AC 49 ms
62,104 KB
testcase_02 AC 51 ms
64,152 KB
testcase_03 AC 52 ms
62,104 KB
testcase_04 AC 51 ms
64,152 KB
testcase_05 AC 41 ms
53,232 KB
testcase_06 AC 45 ms
53,232 KB
testcase_07 AC 53 ms
64,152 KB
testcase_08 AC 42 ms
53,232 KB
testcase_09 AC 51 ms
62,104 KB
testcase_10 AC 53 ms
64,176 KB
testcase_11 AC 39 ms
53,232 KB
testcase_12 AC 39 ms
53,232 KB
testcase_13 AC 52 ms
64,152 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
for i in range(n):
    ans = []
    for j in range(n):
        ans.append((i + j) % n + 1)
    print(*ans)
0