problem: (B) Santa Claus and Keyboard Check Solve in C/C++ Archive