結果
| 問題 | No.1169 Row and Column and Diagonal |
| コンテスト | |
| ユーザー |
ion0002
|
| 提出日時 | 2020-08-15 13:36:18 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 45 ms / 2,000 ms |
| + 777µs | |
| コード長 | 137 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2026-09-13 08:24:49 |
| 合計ジャッジ時間 | 1,859 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
n=int(input())
d=[i for i in range(1,n+1)]
l=0
for i in range(n):
ans=d[l::-1]+d[n-1:l:-1]
print(' '.join(map(str, ans)))
l=(l+2)%n
ion0002