problem: (D) Santa Claus and a Palindrome Solve in C/C++ Archive