結果
問題 | No.1528 Not 1 |
ユーザー |
![]() |
提出日時 | 2021-06-04 20:07:21 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 73 ms / 2,000 ms |
コード長 | 313 bytes |
コンパイル時間 | 322 ms |
コンパイル使用メモリ | 82,008 KB |
実行使用メモリ | 86,264 KB |
最終ジャッジ日時 | 2024-11-19 08:04:17 |
合計ジャッジ時間 | 2,919 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 19 |
ソースコード
N = int(input())M = -(-N // 2)if N == 1:print(1)exit()if N == 2:print(2)exit()if N == 3:print(-1)exit()if N == 4:print(2, 4)exit()if N == 5:print(-1)exit()L = [3, 6]for i in range(2, N + 1, 2):if i == 6: continueL.append(i)if len(L) == M:breakprint(*L)