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