-->
当前位置:首页 > 题库

PROGRAMMING:Fast summation

Luz5年前 (2021-05-10)题库409
Please write a program, input integer $$n $$, fast calculation:
![ Title. JPG] (~ / 46500884-684a-449d-95ec-dca4233b9d27. JPG)
####Input format
> $$n$$
####Output format
> $$s$$
Requirements: output 5 decimal places, round the last place.
####Input sample 1
```in
four
```
####Output sample 1
```out
zero point eight zero zero zero zero
```
####Input sample 2
```
three hundred
```
####Output sample 2
```
zero point nine nine six six eight
```







answer:If there is no answer, please comment
This problem should not be written cycle, should simplify the formula, direct calculation solution.