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

PROGRAMMING:Insert a number into the array

Luz5年前 (2021-05-10)题库406
Insert a number into an array that has been arranged in ascending order. After insertion, the elements of the array are still arranged in ascending order. Known ascending array {1, 2, 4, 6, 8, 9, 12, 15, 149, 156}.
###Input format:
Enter an integer directly without any additional characters..
###Output format:
Output the ascending sequence after inserting elements, each number output takes up 5 columns.
###Input example:
```in
five
```
###Output example:
```out
1 2 4 5 6 8 9 12 15 149 156
```






answer:If there is no answer, please comment