摘要: G. Pot!! 思路:区间维护线段树即可,由题意可知我们只需要区间维护cnt[2, 3, 5, 7]个数的最大值即可。 1 #include <cstdio> 2 #include <iostream> 3 #include <cstdio> 4 #include <algorithm> 5 #i 阅读全文
posted @ 2020-05-11 11:04 SummerMingQAQ 阅读(318) 评论(0) 推荐(0) 编辑