#include <stdio.h> int main() { int n, arr[52], i, val, pos[52], cnt = 0, j, sign; scanf("%d", &n); for (i=0; i<n; i++){ scanf("%d", &arr[i]); } scanf("%d", &val); for (i=0; i<n; i++){ if (val == arr[i]){ pos[cnt++] = i; //找到要删除的位置 ...