Error is here:
vector graduates;
graduates.push_back(new AliceUniversity(identifier,id,salary,average));
Grandparent clas
You must have some virtual function declared in one of the parent classes and never implemented in any of the child classes. Make sure that all virtual functions are implemented somewhere in the inheritence chain. If a class's definition includes a pure virtual function that is never implemented, an instance of that class cannot ever be constructed.