Very easy combinatoric problem
Source: 2017 Taiwan TST
April 13, 2018
combinatorics
Problem Statement
There is a rectangular grid and a chair in each cell of the grid. Now, there are pairs of couple are going to take seats. Define the distance of a pair of couple to be the sum of column difference and row difference between them. For example, if a pair of couple seating at and respectively, then the distance between them is . Moreover, define the total distance to be the sum of the distance in each pair. Find the maximal total distance among all possibilities.