結果
問題 |
No.2610 Decreasing LCMs
|
ユーザー |
![]() |
提出日時 | 2025-06-12 13:14:23 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 452 bytes |
コンパイル時間 | 270 ms |
コンパイル使用メモリ | 82,512 KB |
実行使用メモリ | 54,244 KB |
最終ジャッジ日時 | 2025-06-12 13:16:46 |
合計ジャッジ時間 | 4,728 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 22 |
ソースコード
n = int(input()) if n == 3: print("21 24 144") else: # For n > 3, we can extend the sequence by adding numbers in front of 21 # For example, starting from 20, 21, 24, 144 and adding more numbers before 20 # Here, we construct a sequence starting from 20 - (n-3)*2, stepping by 2 each time start = 20 - (n - 3) * 2 sequence = list(range(start, 20 + 1, 2)) sequence += [21, 24, 144] print(' '.join(map(str, sequence[:n])))