1801: 【CSP数组】数组元素的删除▅
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:8
Solved:5
Description
把一个数组的第 x 个位置的元素删除掉。
Input
输出有三行:
第一行有一个整数 n ( n≤10 );
第二行有 n 个整数(每个整数在1~1000之间);
第三行有一个整数 x(1≤x≤n),为要删除的位置。
Output
输出更新后的数组。
Sample Input Copy
5
1 2 3 4 5
3
Sample Output Copy
1 2 4 5