結果
| 問題 |
No.3287 Golden Ring
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-03 21:31:16 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 149 bytes |
| コンパイル時間 | 398 ms |
| コンパイル使用メモリ | 82,360 KB |
| 実行使用メモリ | 63,956 KB |
| 最終ジャッジ日時 | 2025-10-03 21:31:19 |
| 合計ジャッジ時間 | 2,178 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 13 WA * 1 |
ソースコード
N=int(input())
e=[]
o=[]
for i in range(1,N+1):
if i%2==0:e.append(i)
else:o.append(i)
o.sort(reverse=True)
ans=e+o
print("Yes")
print(*ans)