結果
| 問題 | No.1169 Row and Column and Diagonal |
| コンテスト | |
| ユーザー |
👑 |
| 提出日時 | 2020-08-17 00:03:16 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 148 ms / 2,000 ms |
| + 95µs | |
| コード長 | 204 bytes |
| 記録 | |
| コンパイル時間 | 53 ms |
| コンパイル使用メモリ | 15,104 KB |
| 実行使用メモリ | 11,136 KB |
| 最終ジャッジ日時 | 2026-09-13 22:24:33 |
| 合計ジャッジ時間 | 2,378 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
n = int(input())
for i in range(n):
num = i * 2 + 1
num = (num - 1) % n + 1
for _ in range(n):
print(num, end=" ")
num -= 1
if num == 0:
num = n
print()