POJ 1704 Georgia and Bob

1 · NekoMio · July 30, 2017, 12:30 p.m.
DescriptionGeorgia and Bob decide to play a self-invented game. They draw a row of grids on paper, number the grids from left to right by 1, 2, 3, …, and place N chessmen on different grids, as shown in the following figure for example: ...