結果
| 問題 | No.3287 Golden Ring |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-10-03 21:31:16 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 149 bytes |
| 記録 | |
| コンパイル時間 | 248 ms |
| コンパイル使用メモリ | 95,472 KB |
| 実行使用メモリ | 83,840 KB |
| 最終ジャッジ日時 | 2026-07-15 08:58:32 |
| 合計ジャッジ時間 | 2,623 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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)