problem: (D) Anton and Chess Solve in C Archive