COSC307 Honors Lab 1

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

What to hand in

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

class RadioRange {
  public:
    double RadiusProbability(vector <int> X, vector <int> Y, vector <int> R, int Z);
};


How you'll be graded

Please see the Cryptography problem for a description of how these Topcoder problems are structured. The TA will copy main.cpp, tests.sh, gen_input.cpp and answers.txt from http://web.eecs.utk.edu/~jplank/topcoder-writeups/2014/RadioRange/. The TA will put your RadioRange.cpp into that directory, and then do:
UNIX> g++ -o gen_input gen_input.cpp
UNIX> g++ main.cpp
The TA will then run tests.sh and your "gradescript" grade will be the number of correct lines of your output, divided by the number of tests. There will still be points for commenting, structure, and memory usage.