#PCBSAU0000030. Ký pháp khoa học (Scientific Notation)
Ký pháp khoa học (Scientific Notation)
Scientific Notation
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given a nonzero real , print scientific notation with three fractional digits in the mantissa, lowercase e, and a signed exponent.
Input
One line containing real .
Output
Print d.ddde±NN, with at least two exponent digits.
Subtask
- Subtask 1 — 100 points: ; for signed and .
Example
Input
1000
Output
1.000e+03
Explanation
1000 = 1 × 10³; .3e yields mantissa 1.000 and exponent +03.