Itertools Combinations Hackerrank Solution Cpp