2951: 【例51.1】 删除元素
Memory Limit:64 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:11
Solved:8
Description
把一个数组的第$x$个位置的元素删除掉。
Input
有三行n第一行有一个整数$n$( $nle 10$ );n第二行有$n$个整数;n第三行有一个整数$x$,为要删除的位置。
Output
更新后的数组。
Sample Input Copy
5
1 2 3 4 5
3
Sample Output Copy
1 2 4 5