結果

問題 No.668 6.0*10^23
ユーザー c7t1012c7t1012
提出日時 2018-04-10 13:19:02
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 252 bytes
コンパイル時間 96 ms
コンパイル使用メモリ 10,656 KB
実行使用メモリ 9,280 KB
最終ジャッジ日時 2023-09-12 18:05:37
合計ジャッジ時間 2,922 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 21 ms
9,020 KB
testcase_02 WA -
testcase_03 AC 21 ms
9,040 KB
testcase_04 AC 20 ms
8,864 KB
testcase_05 WA -
testcase_06 AC 21 ms
9,220 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 20 ms
8,948 KB
testcase_10 AC 21 ms
9,016 KB
testcase_11 AC 21 ms
9,068 KB
testcase_12 AC 20 ms
9,000 KB
testcase_13 WA -
testcase_14 AC 20 ms
9,196 KB
testcase_15 AC 21 ms
9,000 KB
testcase_16 AC 20 ms
9,040 KB
testcase_17 AC 20 ms
9,168 KB
testcase_18 WA -
testcase_19 AC 20 ms
9,044 KB
testcase_20 AC 21 ms
9,032 KB
testcase_21 AC 20 ms
9,000 KB
testcase_22 AC 20 ms
9,160 KB
testcase_23 AC 20 ms
9,280 KB
testcase_24 AC 20 ms
8,860 KB
testcase_25 AC 20 ms
9,036 KB
testcase_26 AC 21 ms
9,040 KB
testcase_27 AC 20 ms
9,216 KB
testcase_28 AC 21 ms
9,088 KB
testcase_29 AC 21 ms
9,056 KB
testcase_30 AC 21 ms
9,172 KB
testcase_31 AC 21 ms
9,016 KB
testcase_32 AC 21 ms
9,052 KB
testcase_33 AC 20 ms
9,244 KB
testcase_34 AC 21 ms
8,904 KB
testcase_35 AC 20 ms
8,996 KB
testcase_36 WA -
testcase_37 AC 21 ms
9,272 KB
testcase_38 AC 20 ms
9,068 KB
testcase_39 AC 19 ms
9,148 KB
testcase_40 AC 20 ms
9,196 KB
testcase_41 AC 21 ms
9,132 KB
testcase_42 AC 20 ms
9,096 KB
testcase_43 AC 20 ms
9,032 KB
testcase_44 AC 21 ms
9,044 KB
testcase_45 AC 20 ms
8,800 KB
testcase_46 AC 20 ms
8,852 KB
testcase_47 AC 20 ms
8,932 KB
testcase_48 AC 20 ms
9,016 KB
testcase_49 AC 20 ms
8,892 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal, ROUND_HALF_UP

num = input()

m = float(num[:3]) / 10**min(len(num)-1, 2)
m = Decimal(m).quantize(Decimal('0.1'), rounding=ROUND_HALF_UP)
e = len(num)-1

if m >= 10:
    e += 1
    m = 1.0

print(str(m)+'*10^'+str(e))





0