Loading repovive.com/contests/10/problems/A
There is an infinite tape of cells numbered .
Two waves start at time . The first wave starts from cell , and the second wave starts from cell .
A wave reaches a neighboring cell in exactly second. More formally, the wave starting from cell reaches cell at time .
Determine whether there exists a cell such that both waves reach cell at the same time.