結果
問題 |
No.668 6.0*10^23
|
ユーザー |
|
提出日時 | 2021-05-06 10:36:05 |
言語 | PyPy3 (7.3.15) |
結果 |
RE
|
実行時間 | - |
コード長 | 275 bytes |
コンパイル時間 | 925 ms |
コンパイル使用メモリ | 82,432 KB |
実行使用メモリ | 80,896 KB |
最終ジャッジ日時 | 2024-09-14 03:27:45 |
合計ジャッジ時間 | 9,074 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 10 RE * 40 |
ソースコード
from decimal import Decimal, ROUND_HALF_UP N = int(input()) l = len(str(N))-1 N2 = N/10**l 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))