#P302. 【例51.2】 插入元素
【例51.2】 插入元素
Description
Insert a new number at position in an array.
Input Format
Four lines:
Line 1 contains an integer ();
Line 2 contains integers;
Line 3 contains an integer , the position to insert;
Line 4 contains an integer , the number to insert.
Output Format
The updated array.
Sample
5
7 2 3 4 5
2
97 9 2 3 4 5