結果

問題 No.2610 Decreasing LCMs
ユーザー Kude
提出日時 2024-01-19 21:54:46
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 45 ms / 1,000 ms
コード長 191 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,224 KB
最終ジャッジ日時 2024-09-28 04:23:08
合計ジャッジ時間 2,427 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

x = 2 ** 24
d = 10 ** 8
y = d // x // 2 - 1
z = (2 * y + 1) * x
d = []
for i in range(25):
    d.append(z)
    if i < 24:
        z -= 2 ** (23 - i)
d.reverse()
n = int(input())
print(*d[:n])
0