結果

問題 No.1169 Row and Column and Diagonal
ユーザー rei60
提出日時 2020-08-22 11:39:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 148 ms / 2,000 ms
コード長 121 bytes
コンパイル時間 175 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-10-15 06:57:10
合計ジャッジ時間 2,152 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 13
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
temp = [1] + list(range(N,1,-1))
for i in range(N):
    print(*temp)
    temp = temp[N-2:N] + temp[:N-2]
0