Hi,
Came across an interesting constraint requirement that I can't come up with beautiful solution.
for a fixed size array, each elements should be inside 0-9; and there must be at least 7 unique elements in this array.
what's the best way to interpret the unique requirement here?
int num[10];
constraint is_unique{
foreach(num[i]) num[i] inside{[0,10]};
}