Codeforces 709B Checkpoints ( 模拟)
http://codeforces.com/problemset/problem/709/BB. CheckpointsVasya takes part in the orienteering competition. There are n checkpoints located along the line at coordinates x1, x2, …, xn. Vasya starts a