Maximum Number of Moves to Kill All Pawns
Precompute knight distances between points, then minimax over the set of captured pawns with a bitmask DP.
Precompute knight distances between points, then minimax over the set of captured pawns with a bitmask DP.