COSC307 Honors Lab 5

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

What to hand in

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

class BearCries {
  public:
    int count(string message);
};


How you'll be graded

Your program has to be fast enough for Topcoder: Under 2 seconds per problem.