結果
| 問題 | No.1169 Row and Column and Diagonal |
| コンテスト | |
| ユーザー |
nehan_der_thal
|
| 提出日時 | 2020-08-14 22:06:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 61 ms / 2,000 ms |
| コード長 | 155 bytes |
| 記録 | |
| コンパイル時間 | 172 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 81,024 KB |
| 最終ジャッジ日時 | 2026-04-26 17:37:47 |
| 合計ジャッジ時間 | 1,933 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 |
ソースコード
N, = map(int, input().split())
for i in range(N):
x = (2*i+1)%N
if x == 0:
x = N
print(*(list(range(x, 0, -1))+list(range(N, x, -1))))
nehan_der_thal