結果

問題 No.668 6.0*10^23
ユーザー syunsukesyunsuke
提出日時 2018-08-26 22:11:22
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 108 ms
コンパイル使用メモリ 10,608 KB
実行使用メモリ 9,232 KB
最終ジャッジ日時 2023-09-13 19:24:23
合計ジャッジ時間 3,333 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,848 KB
testcase_01 WA -
testcase_02 AC 25 ms
8,920 KB
testcase_03 AC 21 ms
8,560 KB
testcase_04 AC 22 ms
8,708 KB
testcase_05 AC 18 ms
8,344 KB
testcase_06 AC 22 ms
8,788 KB
testcase_07 AC 16 ms
7,844 KB
testcase_08 AC 16 ms
7,812 KB
testcase_09 WA -
testcase_10 AC 20 ms
8,516 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 31 ms
9,032 KB
testcase_14 WA -
testcase_15 AC 17 ms
8,316 KB
testcase_16 AC 19 ms
8,404 KB
testcase_17 WA -
testcase_18 AC 23 ms
8,804 KB
testcase_19 AC 18 ms
8,256 KB
testcase_20 WA -
testcase_21 WA -
testcase_22 AC 28 ms
9,064 KB
testcase_23 AC 25 ms
8,776 KB
testcase_24 AC 17 ms
8,244 KB
testcase_25 AC 28 ms
9,144 KB
testcase_26 AC 16 ms
7,852 KB
testcase_27 AC 25 ms
8,968 KB
testcase_28 AC 29 ms
9,076 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 AC 27 ms
8,952 KB
testcase_34 AC 20 ms
8,604 KB
testcase_35 AC 20 ms
8,572 KB
testcase_36 AC 26 ms
8,852 KB
testcase_37 WA -
testcase_38 AC 23 ms
8,664 KB
testcase_39 WA -
testcase_40 AC 29 ms
9,068 KB
testcase_41 AC 27 ms
8,944 KB
testcase_42 AC 22 ms
8,728 KB
testcase_43 AC 27 ms
8,956 KB
testcase_44 AC 30 ms
9,168 KB
testcase_45 WA -
testcase_46 WA -
testcase_47 AC 15 ms
7,872 KB
testcase_48 AC 16 ms
7,808 KB
testcase_49 AC 16 ms
7,840 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S=list(map(int,input()))

if S[0]==9 and S[1]==9 and S[2]>=5:
    print("1.0*10^"+str(len(S)))
elif S[2]>=5:
    if S[1]<=8:
        S[1]+=1
    elif S[1]==9:
        S[0]+=1
        S[1]=0
    print(str(S[0])+"."+str(S[1])+"*10^"+str(len(S)-1))
0