difficulty: ★★☆☆☆☆
To stave off boredom, Yoji started imagining that apples have just fallen high from the sky. A -th apple takes exactly distance to an arbitrary direction from one of existing.
Nearby, there are number of parrots with an coordinate for each. To hit all the parrots, what is the minimum number of apples that he needs to summon?
N X_1 X_2 ... X_N
4 4 6 3 7
4
This is feasible by following the steps below.
2 1 16
6
At times, it's inevitable to sacrifice some apples to reach a far target.
1 100000000
1
Hit one, and that's it!