1116: 删除元素
import java.util.Scanner;
public class Main {
static int []a = new int[1010];public static void main(String[] args) {
Scanner cin = new Scanner(System.in);int n=cin.nextInt();for(int i=0;i<n;i++)a[i]=cin.nextInt();int u=cin.nextInt();for(int i=0;i<n;i++)if(u==i) continue;else System.out.print(a[i]+" ");}
}