prob: https://codeforces.com/contest/1490/problem/A
approach from editorial:
while a[i] * 2 < a[i + 1]:
a[i] *= 2
ans += 1
why are we multiplying by 2 we could also get some answer by adding 1 to the current element, please explain how the author came to this conclusion