coci试题
INPUT
The first line of input contains the positive integer K (1 ≤ K ≤ 9) from the problem statement.
Each of the following 2K lines contains 2K integers from the interval [0, 106]. These 2K × 2K numbers represent repulsion between bacteria pairs: the number in row m and column n is the repulsion between bacteria m and n. This number will, of course, be equal to the number in row n and column m. For m = n the number will be 0.
OUTPUT
The first and only line of output should contain the minimum possible length of a bacteria sequence satisfying the constraints.
SAMPLE TESTS