結果

問題 No.428 小数から逃げる夢
ユーザー Theta
提出日時 2022-10-24 18:03:12
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 36 ms / 1,000 ms
コード長 226 bytes
コンパイル時間 169 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,264 KB
最終ジャッジ日時 2024-07-02 21:10:45
合計ジャッジ時間 6,840 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 100
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal, getcontext


def main():
    getcontext().prec = 200
    N = int(input())

    D = "0." + "".join(map(str, range(1, 101)))
    D = Decimal(D)
    print(D*N)


if __name__ == "__main__":
    main()
0