题解 Aleksa and Stack

· · 题解

最基础的构造题了,本文提供两种解法。

看到 3a_{i+2} 不能被 a_i+a_{i+1} 整除,蒟蒻瞬间就想到了两种做法。