結果
問題 | No.668 6.0*10^23 |
ユーザー |
|
提出日時 | 2018-12-22 21:19:52 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 34 ms / 2,000 ms |
コード長 | 245 bytes |
コンパイル時間 | 183 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 11,008 KB |
最終ジャッジ日時 | 2024-07-01 06:13:25 |
合計ジャッジ時間 | 2,921 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 50 |
ソースコード
i = input()n= len(i)-1import mathdef my_round(x, d=0):p = 10 ** dreturn float(math.floor((x * p) + math.copysign(0.5, x)))/pt = int(i[:3])/100t = my_round(t,1)if t == 10:t = t/10n += 1print(str(t)+'*10^'+str(n))