結果

問題 No.1971 Easy Sudoku
ユーザー Issei MoriIssei Mori
提出日時 2022-06-10 21:24:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 272 bytes
コンパイル時間 172 ms
コンパイル使用メモリ 81,764 KB
実行使用メモリ 64,376 KB
最終ジャッジ日時 2023-10-21 04:48:41
合計ジャッジ時間 1,730 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

def get_list(ty=int):
    return list(map(ty, input().split()))


def get_int():
    return int(input())


def get_str():
    return input()


N = get_int()

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