COSC307 Honors Lab 4

Please do the "FromToDivisible" problem, described in: http://web.eecs.utk.edu/~jplank/topcoder-writeups/2016/FromToDivisible/index.html.

What to hand in

You should submit the file FromToDivisible.cpp, which implements the following class / method:

class FromToDivisible {
  public:
    int shortest(int N, int S, int T, vector <int> a, vector <int> b);
};


How you'll be graded

The web writeup tells you how you'll be graded and how fast your program must be.