C++ recruitment task.