結果

問題 No.668 6.0*10^23
ユーザー MIKI TakushiMIKI Takushi
提出日時 2019-01-02 13:21:56
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 167 ms
コンパイル使用メモリ 10,548 KB
実行使用メモリ 9,328 KB
最終ジャッジ日時 2023-09-13 22:01:17
合計ジャッジ時間 3,676 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,980 KB
testcase_01 AC 21 ms
9,168 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 AC 22 ms
9,160 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 21 ms
8,968 KB
testcase_10 AC 21 ms
9,196 KB
testcase_11 AC 21 ms
9,244 KB
testcase_12 AC 21 ms
9,060 KB
testcase_13 AC 21 ms
9,328 KB
testcase_14 AC 21 ms
9,096 KB
testcase_15 AC 22 ms
9,128 KB
testcase_16 AC 22 ms
9,148 KB
testcase_17 AC 22 ms
9,120 KB
testcase_18 AC 21 ms
9,228 KB
testcase_19 AC 22 ms
9,156 KB
testcase_20 AC 21 ms
9,256 KB
testcase_21 AC 21 ms
9,224 KB
testcase_22 AC 22 ms
9,228 KB
testcase_23 AC 21 ms
9,156 KB
testcase_24 AC 21 ms
9,160 KB
testcase_25 AC 21 ms
9,120 KB
testcase_26 AC 21 ms
8,976 KB
testcase_27 AC 21 ms
9,176 KB
testcase_28 AC 22 ms
9,124 KB
testcase_29 AC 21 ms
9,048 KB
testcase_30 AC 21 ms
9,256 KB
testcase_31 AC 21 ms
9,248 KB
testcase_32 AC 21 ms
9,172 KB
testcase_33 AC 22 ms
9,288 KB
testcase_34 AC 21 ms
9,096 KB
testcase_35 AC 21 ms
9,308 KB
testcase_36 AC 21 ms
9,108 KB
testcase_37 AC 21 ms
9,260 KB
testcase_38 AC 21 ms
9,236 KB
testcase_39 AC 21 ms
9,120 KB
testcase_40 AC 22 ms
9,184 KB
testcase_41 AC 21 ms
9,232 KB
testcase_42 AC 21 ms
9,120 KB
testcase_43 AC 21 ms
9,064 KB
testcase_44 AC 22 ms
9,228 KB
testcase_45 AC 21 ms
8,996 KB
testcase_46 AC 21 ms
9,128 KB
testcase_47 AC 21 ms
9,192 KB
testcase_48 AC 21 ms
9,116 KB
testcase_49 AC 21 ms
8,988 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-
from math import log10,floor
from decimal import *
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