HackerRank Overload Operators in C++ problem solution - TheCScience