HackerRank Attending Workshops in C++ problem solution - TheCScience