随笔分类 -  思想-莫队算法

摘要:Problem B. Harvest of Apples Problem Description There are n apples on a tree, numbered from 1 to n.Count the number of ways to pick at most m apples. 阅读全文
posted @ 2018-08-02 16:04 starry_sky 阅读(179) 评论(0) 推荐(0)
摘要:题目:小Z的袜子 这题是一道标准的莫队模板。 具体推导看这里 阅读全文
posted @ 2018-08-02 14:40 starry_sky 阅读(136) 评论(0) 推荐(0)