結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,920 KB
testcase_01 AC 16 ms
8,532 KB
testcase_02 AC 15 ms
8,476 KB
testcase_03 AC 15 ms
8,048 KB
testcase_04 AC 15 ms
8,320 KB
testcase_05 AC 15 ms
7,968 KB
testcase_06 AC 16 ms
8,468 KB
testcase_07 AC 16 ms
7,972 KB
testcase_08 AC 16 ms
7,980 KB
testcase_09 AC 15 ms
7,920 KB
testcase_10 AC 16 ms
8,348 KB
testcase_11 AC 16 ms
8,308 KB
testcase_12 AC 16 ms
8,424 KB
testcase_13 AC 15 ms
8,360 KB
testcase_14 AC 16 ms
8,472 KB
testcase_15 AC 16 ms
8,024 KB
testcase_16 AC 15 ms
8,008 KB
testcase_17 AC 16 ms
8,460 KB
testcase_18 AC 16 ms
8,308 KB
testcase_19 AC 16 ms
7,964 KB
testcase_20 AC 16 ms
8,372 KB
testcase_21 AC 16 ms
8,440 KB
testcase_22 AC 16 ms
8,472 KB
testcase_23 AC 16 ms
8,356 KB
testcase_24 AC 16 ms
7,952 KB
testcase_25 AC 16 ms
8,488 KB
testcase_26 AC 15 ms
8,080 KB
testcase_27 AC 16 ms
8,556 KB
testcase_28 AC 16 ms
8,324 KB
testcase_29 AC 16 ms
8,112 KB
testcase_30 AC 16 ms
8,360 KB
testcase_31 AC 16 ms
8,324 KB
testcase_32 AC 16 ms
7,960 KB
testcase_33 AC 15 ms
8,352 KB
testcase_34 AC 16 ms
8,280 KB
testcase_35 AC 16 ms
8,352 KB
testcase_36 AC 16 ms
8,492 KB
testcase_37 AC 16 ms
8,472 KB
testcase_38 AC 16 ms
8,480 KB
testcase_39 AC 16 ms
8,512 KB
testcase_40 AC 16 ms
8,336 KB
testcase_41 AC 16 ms
8,512 KB
testcase_42 AC 15 ms
8,464 KB
testcase_43 AC 16 ms
8,328 KB
testcase_44 AC 16 ms
8,392 KB
testcase_45 AC 16 ms
8,024 KB
testcase_46 AC 15 ms
7,900 KB
testcase_47 AC 15 ms
8,100 KB
testcase_48 AC 16 ms
7,888 KB
testcase_49 AC 15 ms
7,924 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# copy from https://yukicoder.me/submissions/306024
i = input()
n= len(i)-1

import math
def my_round(x, d=0):
    p = 10 ** d
    return float(math.floor((x * p) + math.copysign(0.5, x)))/p

t = int(i[:3])/100

t = my_round(t,1)

if t == 10:
    t = t/10
    n += 1

print(str(t)+'*10^'+str(n))
0