codice:
  int j;
  for(j = 0; j < i; j++) 
  if(a[i] == a[j]) {
    i--;
    break;
  }