結果

問題 No.668 6.0*10^23
ユーザー MIKI TakushiMIKI Takushi
提出日時 2019-01-02 17:46:06
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 22 ms / 2,000 ms
コード長 257 bytes
コンパイル時間 720 ms
コンパイル使用メモリ 10,524 KB
実行使用メモリ 9,284 KB
最終ジャッジ日時 2023-09-13 22:02:57
合計ジャッジ時間 2,876 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
9,064 KB
testcase_01 AC 21 ms
9,256 KB
testcase_02 AC 21 ms
9,260 KB
testcase_03 AC 21 ms
9,200 KB
testcase_04 AC 21 ms
9,280 KB
testcase_05 AC 21 ms
9,164 KB
testcase_06 AC 21 ms
9,196 KB
testcase_07 AC 20 ms
8,904 KB
testcase_08 AC 21 ms
9,048 KB
testcase_09 AC 21 ms
8,940 KB
testcase_10 AC 21 ms
9,160 KB
testcase_11 AC 21 ms
9,216 KB
testcase_12 AC 20 ms
8,992 KB
testcase_13 AC 21 ms
9,108 KB
testcase_14 AC 21 ms
9,212 KB
testcase_15 AC 21 ms
9,140 KB
testcase_16 AC 21 ms
8,956 KB
testcase_17 AC 21 ms
9,284 KB
testcase_18 AC 21 ms
9,148 KB
testcase_19 AC 20 ms
9,104 KB
testcase_20 AC 21 ms
9,092 KB
testcase_21 AC 21 ms
9,200 KB
testcase_22 AC 21 ms
9,228 KB
testcase_23 AC 22 ms
9,016 KB
testcase_24 AC 21 ms
8,952 KB
testcase_25 AC 22 ms
9,112 KB
testcase_26 AC 21 ms
8,948 KB
testcase_27 AC 21 ms
9,152 KB
testcase_28 AC 21 ms
9,272 KB
testcase_29 AC 21 ms
9,048 KB
testcase_30 AC 21 ms
9,168 KB
testcase_31 AC 21 ms
9,252 KB
testcase_32 AC 21 ms
9,168 KB
testcase_33 AC 21 ms
9,108 KB
testcase_34 AC 21 ms
9,020 KB
testcase_35 AC 21 ms
9,184 KB
testcase_36 AC 21 ms
9,048 KB
testcase_37 AC 21 ms
9,204 KB
testcase_38 AC 21 ms
9,248 KB
testcase_39 AC 21 ms
9,120 KB
testcase_40 AC 21 ms
9,256 KB
testcase_41 AC 21 ms
9,068 KB
testcase_42 AC 21 ms
9,100 KB
testcase_43 AC 21 ms
9,040 KB
testcase_44 AC 22 ms
9,260 KB
testcase_45 AC 20 ms
9,148 KB
testcase_46 AC 20 ms
9,060 KB
testcase_47 AC 21 ms
9,064 KB
testcase_48 AC 21 ms
9,120 KB
testcase_49 AC 21 ms
9,084 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

s = input()

k = len(s)-1
x = s[:3]

if int(x[2])>4:
    x = int(x[:2])+1
else:
    x = int(x[:2])

x /= 10

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

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