結果

問題 No.2610 Decreasing LCMs
ユーザー rlangevin
提出日時 2024-01-20 14:14:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 41 ms / 1,000 ms
コード長 178 bytes
コンパイル時間 152 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 52,352 KB
最終ジャッジ日時 2024-09-28 05:34:28
合計ジャッジ時間 1,931 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

from math import gcd

N = int(input())
ans = [3, 4, 8]
for i in range(N - 3):
    ans = list(map(lambda x : 2 * x, ans))
    ans = [ans[0] - 1] + ans
                
print(*ans)
0