problem: (E) Hongcow Buys a Deck of Cards Solution in C/C++ Archive