AC代码 A. Rainbow Dash, Fluttershy and Chess Coloring 可以推导出\(f_1 = 1, f_2 = 2, ..., f_n = f_{n - 2} + 1\). 然后就可以推出\(ans = \lfloor \frac{n + 2}{2} \rfloor\). B. Applejack and Storages 记录\(x\)出现的次数,以及分别记录出现次数大于等于\(2, 4, 6, 8\)的\(x\)的个数,以此记为\(ge2, ge4, ge…