結果

問題 No.1971 Easy Sudoku
ユーザー taiga0629kyoprotaiga0629kyopro
提出日時 2022-06-12 12:05:26
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 54 ms / 2,000 ms
コード長 138 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 81,864 KB
実行使用メモリ 64,284 KB
最終ジャッジ日時 2023-10-24 05:27:46
合計ジャッジ時間 2,599 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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