結果
| 問題 | No.1528 Not 1 |
| コンテスト | |
| ユーザー |
hell_walker
|
| 提出日時 | 2021-06-04 20:25:34 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 54 ms / 2,000 ms |
| + 337µs | |
| コード長 | 170 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,848 KB |
| 実行使用メモリ | 15,616 KB |
| 最終ジャッジ日時 | 2026-09-26 14:43:52 |
| 合計ジャッジ時間 | 2,251 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 19 |
ソースコード
import math
n=int(input())
if n%2==0:
print(*list(range(2,n+1,2)))
elif n>=6:
print(*([3,6,2,4]+list(range(8,n+1,2))))
elif n==1:
print(1)
else:
print(-1)
hell_walker