Source: Beacon Exclusion Zone
Part 1
There are a collections of
Sensor
s andBeacon
s. As input, you are given theBeacon
closest to eachSensor
(using Manhattan Distance). If aBeacon
is not closest to any sensor, it will not appear in this list. Calculate how many points in the given row (y=2000000
) cannot contain aBeacon
.