結果
| 問題 |
No.3287 Golden Ring
|
| ユーザー |
|
| 提出日時 | 2025-10-03 22:48:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 101 bytes |
| コンパイル時間 | 315 ms |
| コンパイル使用メモリ | 82,188 KB |
| 実行使用メモリ | 63,556 KB |
| 最終ジャッジ日時 | 2025-10-03 22:48:49 |
| 合計ジャッジ時間 | 1,990 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 WA * 1 |
ソースコード
n=int(input())
print("Yes")
L=[i for i in range(1,n+1)]
if n%2==0:
L[-2],L[-1]=L[-1],L[-2]
print(*L)