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

PROGRAMMING:2017final PI mountain

Luz5年前 (2021-05-10)题库402
In order to participate in the school's community style exhibition, the students of Yishan primary school mathematics group decided to draw a PI mountain to promote PI.
The known Pi is: 3
1415926535 8979323846 2643383279 5028841971 6939937510
5820974944 5923078164 0628620899 8628034825 3421170679
8214808651 3282306647 0938446095 5058223172 5359408128
4811174502 8410270193 8521105559 6446229489 5493038196
###Input format:
Enter the height of the mountain as a positive integer no more than 10.
###Output format:
In the form of triangle, which is wide at the top and wide at the bottom and symmetrical at the left and right, the first several digits of the PI (excluding the decimal point) are given. Note: each line ends with a number, that is, there is no space to the right of the number.
###Input sample 1:
```in
one
```
###Output sample 1:
```out
three
```
###Input sample 2:
```
four
```
###Output sample 2:
```
three
one hundred and forty-one
fifty-nine thousand two hundred and sixty-five
three million five hundred and eighty-nine thousand seven hundred and ninety-three
```






answer:If there is no answer, please comment