awoo I think there is a typo in editorial of Problem F1/F2,
Instead of the following
the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k-1}}$, the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k-2}}$,
It should be this
the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k+1}}$, the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k+2}}$,
awoo I think there is a typo in editorial of Problem F1/F2,
Instead of the following
the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k-1}}$, the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k-2}}$,
It should be this
the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k+1}}$, the contribution of the next one will be at most $\frac{2^{i-1}}{2^{k+2}}$,