|
|
back to boardOutput format Checker accepts any number of digits in mantissa, so it is possible to output just exact answer having all digits. Rounding to 19 digits or appending zeros to 19 digits is not required. For answer calculated in java.math.BigDecimal the following simple statement works: out.println(sum.toPlainString() + "e0"); Re: Output format Big thanks! |
|
|