> > In HW1 question 5, the way I've modelled the problem,
> > legal sets can only contain integers between 1 and N.
> > Data set 6 is listed as a legal set, but includes
> > several 13's, where N=12. Can I treat set 6 as an
> > illegal set?  If not how would you visualize this
> > rectangle {1,5,9,13} inscribed in a circle of 12
> > points?


Good point. Best way to deal with it is probably: as soon as your program sees a 
number greater than
N in one of the given sets, it can conclude that the input is illegal. So, I would say 
it's all
right to treat this as "bad" input.

Hans



Reply via email to