結果
問題 | No.2610 Decreasing LCMs |
ユーザー |
![]() |
提出日時 | 2025-03-31 18:00:41 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 381 bytes |
コンパイル時間 | 345 ms |
コンパイル使用メモリ | 82,784 KB |
実行使用メモリ | 54,260 KB |
最終ジャッジ日時 | 2025-03-31 18:01:52 |
合計ジャッジ時間 | 4,108 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | WA * 22 |
ソースコード
n = int(input())# For N=3, the sample output is 21 24 144.# For larger N, we can extend this pattern by multiplying by 6 each time.if n >= 3:base = [21, 24]current = 24for _ in range(n-2):current *= 6base.append(current)print(' '.join(map(str, base)))else:# Although the problem states N >=3, handle edge cases if necessary.pass