Cpp solution source code and Problem Description.