AtCoder Grand Contest 008

AtCoder Grand Contest 008 题目连接: https://agc008.contest.atcoder.jp/ A.Simple Calculator(模拟) B.Contiguous Repainting(贪心+枚举) 枚举一段k个相同颜色的位置用来中转,借由这k个位置,其余位置的数均可以选上,那么咱们就把其余的数中的正数都选上。枚举全部这样的k个位置。取最优值 C.Tet
相关文章
相关标签/搜索