P1080 King Game

Transfer

The minimum and maximum value is two points at a glance. qwq

But the goose doesn’t know how to check, so we change our thinking

We ask for The minimum and maximum values