int main() {int a[1000], b[1000], len = 1; int i, j, N, k, m = 0, n,temp; scanf("%d", &N); for (i = 0; i < N; i++) { scanf("%d",&a[i]); } b[0] = a[0]; for (j = 1; j < N; j++) { for (k = 0; k < len; k++) { if (b[k] == a[j]) { m++; break; ...