結果

問題 No.1169 Row and Column and Diagonal
ユーザー NatsubiSoganNatsubiSogan
提出日時 2020-11-12 19:34:58
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 138 ms / 2,000 ms
コード長 75 bytes
コンパイル時間 343 ms
コンパイル使用メモリ 10,416 KB
実行使用メモリ 8,304 KB
最終ジャッジ日時 2023-09-30 01:47:24
合計ジャッジ時間 2,657 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,772 KB
testcase_01 AC 15 ms
7,880 KB
testcase_02 AC 15 ms
7,728 KB
testcase_03 AC 15 ms
7,908 KB
testcase_04 AC 16 ms
7,868 KB
testcase_05 AC 15 ms
7,732 KB
testcase_06 AC 23 ms
8,304 KB
testcase_07 AC 37 ms
8,188 KB
testcase_08 AC 52 ms
8,268 KB
testcase_09 AC 70 ms
8,276 KB
testcase_10 AC 117 ms
8,304 KB
testcase_11 AC 129 ms
7,888 KB
testcase_12 AC 136 ms
8,184 KB
testcase_13 AC 138 ms
8,124 KB
testcase_14 AC 138 ms
8,252 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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