Problem D: 象棋比赛

Time Limit: 1 Sec Memory Limit: 128 MB

Description