結果
問題 | No.1528 Not 1 |
ユーザー |
|
提出日時 | 2021-06-09 20:55:46 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 545 bytes |
コンパイル時間 | 310 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 85,888 KB |
最終ジャッジ日時 | 2024-11-28 21:21:18 |
合計ジャッジ時間 | 4,280 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 6 WA * 13 |
ソースコード
n = int(input()) ans = [] if n < 10: if n%2 == 0: for i in range(2,n+1,2): ans.append(i) else: if n <= 5: print(-1) exit() else: ans.append(3) ans.append(6) for i in range(2,n+1,2): if i == 6: continue ans.append(i) print(ans) elif n >= 10: ans.append(5) ans.append(10) for i in range(2,n+1,2): if i == 10: continue ans.append(i) print(*ans)