結果

問題 No.668 6.0*10^23
ユーザー はむ吉🐹
提出日時 2018-03-24 20:09:36
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 281 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,392 KB
最終ジャッジ日時 2024-06-30 05:32:46
合計ジャッジ時間 3,210 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 48 WA * 2
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3

import decimal


def to_scientific_notation(n):
    return "{:.1e}".format(n).replace("e+", "*10^").replace("^0", "^")


def main():
    n = decimal.Decimal(input())
    res = to_scientific_notation(n)
    print(res)


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