Assignment 7 questions.


R. Clayton (rclayton@clayton.cs.monmouth.edu)
(no date)


  From your main, you generate from 2 to 6 copies of a number to generate the
  vector. Are we allowed to assume that the range will remain constant?

It would be wise not to.

  I am just wondering because we can use that in our algorithm so we know if we
  have generated more than 6 vectors to pass back, we have done something
  wrong.

You many have done something wrong with with respect to the code in main.cc,
but that's not the code I'm going to use to test your solution.

  Since the worst case possible would have to be 6 vectors and anything
  more couldn't possibly be a valid solution. You use this same check in the
  first statement block of check_uvv().

It's important that your code solves the problem given in the assignment, and
the problem given in the assignment says nothing about any of these things.



This archive was generated by hypermail 2.0b3 on Fri Dec 21 2001 - 17:00:04 EST