結果

問題 No.668 6.0*10^23
ユーザー otsunekootsuneko
提出日時 2021-05-06 10:46:30
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 236 ms / 2,000 ms
コード長 274 bytes
コンパイル時間 301 ms
コンパイル使用メモリ 87,096 KB
実行使用メモリ 89,212 KB
最終ジャッジ日時 2023-10-12 04:02:55
合計ジャッジ時間 13,790 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 232 ms
89,128 KB
testcase_01 AC 224 ms
89,136 KB
testcase_02 AC 225 ms
89,212 KB
testcase_03 AC 223 ms
89,028 KB
testcase_04 AC 229 ms
89,100 KB
testcase_05 AC 224 ms
89,152 KB
testcase_06 AC 220 ms
88,832 KB
testcase_07 AC 223 ms
88,960 KB
testcase_08 AC 224 ms
89,028 KB
testcase_09 AC 222 ms
89,140 KB
testcase_10 AC 223 ms
89,100 KB
testcase_11 AC 224 ms
88,960 KB
testcase_12 AC 228 ms
89,188 KB
testcase_13 AC 228 ms
89,188 KB
testcase_14 AC 222 ms
89,148 KB
testcase_15 AC 224 ms
89,108 KB
testcase_16 AC 225 ms
88,936 KB
testcase_17 AC 230 ms
88,956 KB
testcase_18 AC 227 ms
88,956 KB
testcase_19 AC 226 ms
89,036 KB
testcase_20 AC 227 ms
89,212 KB
testcase_21 AC 231 ms
89,188 KB
testcase_22 AC 236 ms
88,940 KB
testcase_23 AC 228 ms
89,084 KB
testcase_24 AC 225 ms
88,872 KB
testcase_25 AC 222 ms
89,196 KB
testcase_26 AC 224 ms
89,184 KB
testcase_27 AC 222 ms
89,032 KB
testcase_28 AC 224 ms
88,928 KB
testcase_29 AC 224 ms
88,932 KB
testcase_30 AC 223 ms
88,908 KB
testcase_31 AC 220 ms
88,940 KB
testcase_32 AC 221 ms
89,116 KB
testcase_33 AC 226 ms
88,964 KB
testcase_34 AC 230 ms
88,856 KB
testcase_35 AC 227 ms
88,876 KB
testcase_36 AC 228 ms
89,136 KB
testcase_37 AC 226 ms
89,028 KB
testcase_38 AC 225 ms
89,128 KB
testcase_39 AC 226 ms
88,856 KB
testcase_40 AC 225 ms
88,872 KB
testcase_41 AC 225 ms
89,128 KB
testcase_42 AC 224 ms
89,116 KB
testcase_43 AC 222 ms
89,212 KB
testcase_44 AC 230 ms
89,084 KB
testcase_45 AC 224 ms
89,112 KB
testcase_46 AC 221 ms
89,156 KB
testcase_47 AC 222 ms
88,960 KB
testcase_48 AC 226 ms
88,960 KB
testcase_49 AC 223 ms
89,212 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from decimal import Decimal, ROUND_HALF_UP
N = input()
l = len(N)-1
N2 = int(N[:3])/10**2
N3 = Decimal(str(N2)).quantize(Decimal('0.1'), rounding=ROUND_HALF_UP)

if len(str(int(N3))) == 2:
    print(str(N3/10)+"*10^"+str(l+1))
else:
    print(str(N3)+"*10^"+str(l))
0