結果

問題 No.668 6.0*10^23
ユーザー MIKI TakushiMIKI Takushi
提出日時 2019-01-02 14:13:41
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 251 bytes
コンパイル時間 68 ms
コンパイル使用メモリ 10,724 KB
実行使用メモリ 9,424 KB
最終ジャッジ日時 2023-09-13 22:02:53
合計ジャッジ時間 2,812 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
9,020 KB
testcase_01 AC 20 ms
9,160 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 20 ms
9,344 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 20 ms
9,112 KB
testcase_10 AC 21 ms
9,244 KB
testcase_11 AC 20 ms
9,328 KB
testcase_12 AC 20 ms
9,096 KB
testcase_13 AC 21 ms
9,168 KB
testcase_14 AC 21 ms
9,188 KB
testcase_15 AC 20 ms
9,052 KB
testcase_16 AC 21 ms
9,192 KB
testcase_17 AC 20 ms
9,156 KB
testcase_18 AC 20 ms
9,264 KB
testcase_19 AC 20 ms
9,076 KB
testcase_20 AC 21 ms
9,292 KB
testcase_21 AC 21 ms
9,268 KB
testcase_22 AC 21 ms
9,188 KB
testcase_23 AC 21 ms
9,172 KB
testcase_24 AC 20 ms
9,028 KB
testcase_25 AC 21 ms
9,308 KB
testcase_26 AC 20 ms
9,028 KB
testcase_27 AC 21 ms
9,232 KB
testcase_28 AC 20 ms
9,180 KB
testcase_29 AC 20 ms
9,144 KB
testcase_30 AC 20 ms
9,424 KB
testcase_31 AC 21 ms
9,276 KB
testcase_32 AC 20 ms
9,172 KB
testcase_33 AC 21 ms
9,160 KB
testcase_34 AC 20 ms
9,236 KB
testcase_35 AC 20 ms
9,252 KB
testcase_36 AC 21 ms
9,164 KB
testcase_37 AC 21 ms
9,268 KB
testcase_38 AC 21 ms
9,116 KB
testcase_39 AC 21 ms
9,328 KB
testcase_40 AC 21 ms
9,184 KB
testcase_41 AC 21 ms
9,384 KB
testcase_42 AC 21 ms
9,168 KB
testcase_43 AC 21 ms
9,148 KB
testcase_44 AC 20 ms
9,152 KB
testcase_45 AC 20 ms
9,212 KB
testcase_46 AC 20 ms
9,164 KB
testcase_47 AC 20 ms
9,028 KB
testcase_48 AC 21 ms
9,148 KB
testcase_49 AC 21 ms
9,232 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
from math import log10,floor
from decimal import Decimal

s = input()

k = len(s)-1
x = int(s[:3])
x /= 100
x = float(Decimal(str(x)).quantize(Decimal("1.0")))

if x>=10.0:
    x /= 10
    k += 1

print("{}*10^{}".format(x,k))
0