結果
| 問題 |
No.1528 Not 1
|
| コンテスト | |
| ユーザー |
H20
|
| 提出日時 | 2021-06-04 21:11:17 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 260 bytes |
| コンパイル時間 | 976 ms |
| コンパイル使用メモリ | 82,144 KB |
| 実行使用メモリ | 85,836 KB |
| 最終ジャッジ日時 | 2024-11-19 11:30:00 |
| 合計ジャッジ時間 | 3,529 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | AC * 15 WA * 4 |
ソースコード
N = int(input())
if N==1 or N==2:
print(1)
elif N==3 or N==5:
print(-1)
elif N==4:
print(2,4)
elif N==6:
print(2,4,6)
else:
ANS = [3,6]
for i in range(2,N-1,2):
if i==6:
continue
ANS.append(i)
print(*ANS)
H20