結果

問題 No.668 6.0*10^23
ユーザー Konton7Konton7
提出日時 2019-05-15 22:28:08
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 19 ms / 2,000 ms
コード長 303 bytes
コンパイル時間 72 ms
コンパイル使用メモリ 10,700 KB
実行使用メモリ 9,056 KB
最終ジャッジ日時 2023-09-14 18:27:12
合計ジャッジ時間 3,037 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 17 ms
7,772 KB
testcase_01 AC 18 ms
8,832 KB
testcase_02 AC 19 ms
8,620 KB
testcase_03 AC 16 ms
8,264 KB
testcase_04 AC 17 ms
8,448 KB
testcase_05 AC 17 ms
8,096 KB
testcase_06 AC 16 ms
8,412 KB
testcase_07 AC 15 ms
7,820 KB
testcase_08 AC 15 ms
7,772 KB
testcase_09 AC 16 ms
7,844 KB
testcase_10 AC 17 ms
8,308 KB
testcase_11 AC 18 ms
9,004 KB
testcase_12 AC 17 ms
8,268 KB
testcase_13 AC 18 ms
8,940 KB
testcase_14 AC 18 ms
8,676 KB
testcase_15 AC 16 ms
8,128 KB
testcase_16 AC 17 ms
8,032 KB
testcase_17 AC 18 ms
8,560 KB
testcase_18 AC 18 ms
8,500 KB
testcase_19 AC 16 ms
8,104 KB
testcase_20 AC 18 ms
8,428 KB
testcase_21 AC 17 ms
8,396 KB
testcase_22 AC 18 ms
8,908 KB
testcase_23 AC 18 ms
8,696 KB
testcase_24 AC 17 ms
8,176 KB
testcase_25 AC 18 ms
8,836 KB
testcase_26 AC 16 ms
7,844 KB
testcase_27 AC 17 ms
8,584 KB
testcase_28 AC 18 ms
8,864 KB
testcase_29 AC 17 ms
8,292 KB
testcase_30 AC 18 ms
8,876 KB
testcase_31 AC 17 ms
8,296 KB
testcase_32 AC 16 ms
8,056 KB
testcase_33 AC 17 ms
8,792 KB
testcase_34 AC 16 ms
8,244 KB
testcase_35 AC 17 ms
8,032 KB
testcase_36 AC 17 ms
8,724 KB
testcase_37 AC 18 ms
8,952 KB
testcase_38 AC 16 ms
8,492 KB
testcase_39 AC 16 ms
8,744 KB
testcase_40 AC 18 ms
8,912 KB
testcase_41 AC 17 ms
8,784 KB
testcase_42 AC 16 ms
8,420 KB
testcase_43 AC 17 ms
8,788 KB
testcase_44 AC 17 ms
9,056 KB
testcase_45 AC 16 ms
7,956 KB
testcase_46 AC 16 ms
7,804 KB
testcase_47 AC 16 ms
7,796 KB
testcase_48 AC 16 ms
7,852 KB
testcase_49 AC 16 ms
7,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s = list(input())

if s[2] in ["5","6","7","8","9"]:

    if s[1] != "9":
        s[1] = chr(ord(s[1])+1)
    else:
        s[1] = "0"
        if s[0] != "9":
            s[0] = chr(ord(s[0])+1)
        else:
            s[0] = "10"
s[2] = "0"

s = "".join(s)

print(s[0]+"."+s[1]+"*10^"+str(len(s)-1))
0