1801: 【CSP数组】数组元素的删除▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:8 Solved:5

Description

把一个数组的第 lns="http://www.w3.org/1998/Math/MathML">x 个位置的元素删除掉。

Input

输出有三行:

第一行有一个整数 lns="http://www.w3.org/1998/Math/MathML">n ( lns="http://www.w3.org/1998/Math/MathML">n10 );

第二行有 lns="http://www.w3.org/1998/Math/MathML">n 个整数(每个整数在lns="http://www.w3.org/1998/Math/MathML">1~lns="http://www.w3.org/1998/Math/MathML">1000之间);

第三行有一个整数 lns="http://www.w3.org/1998/Math/MathML">xlns="http://www.w3.org/1998/Math/MathML">1xn),为要删除的位置。

Output

输出更新后的数组。

Sample Input Copy

5
1 2 3 4 5 
3

Sample Output Copy

1 2 4 5