func_code_string: #include <bits/stdc++.h>   int main() {     int i, j, count, n, a[5001], flag[5001];     scanf( %d , &n);     count = 0;     memset(flag, 0, sizeof(int) * 5001);     for (i = 0; i < n; i++) {       scanf( %d , &a[i]);       if (a[i] > n)         count++;       else if (flag[a[i]] == 1)         count++;       else         flag[a[i]] = 1;     }     printf( %d n , count);     return 0;   }   