题目链接:Anniversary 给出 m , l , r , k m,l,r,k m,l,r,k,让你在斐波那契数列的第 l l l 到第 r r r 项之间选出 k k k 个,最大化这 k k k 个数的 gcd,对 m m m 取模后输出。 首先需要知道一个重要结论: gcd ( F [ a ] , F [ b ] ) = F [ gcd ( a , b ) ] \
7-2 Anniversary Zhejiang University is about to celebrate her 122th anniversary in 2019. To prepare for the celebration, the alumni association (校友会) has gathered the ID's of all her alumni. Now you
7-2 Anniversary (25 分) Zhejiang University is about to celebrate her 122th anniversary in 2019. To prepare for the celebration, the alumni association (校友会) has gathered the ID’s of all her alumni. N