結果
| 問題 | No.3287 Golden Ring |
| コンテスト | |
| ユーザー |
Kude
|
| 提出日時 | 2025-10-03 21:49:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 69 ms / 2,000 ms |
| + 34µs | |
| コード長 | 161 bytes |
| 記録 | |
| コンパイル時間 | 252 ms |
| コンパイル使用メモリ | 95,600 KB |
| 実行使用メモリ | 83,968 KB |
| 最終ジャッジ日時 | 2026-07-15 09:16:03 |
| 合計ジャッジ時間 | 2,585 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 14 |
ソースコード
n = int(input())
if n == 2:
print('No')
else:
print('Yes')
a = list(range(1, n + 1))
if n % 2 == 0:
a[-2], a[-1] = n, n - 1
print(*a)
Kude