莫队
别动我的白羊毛
这个作者很懒,什么都没留下…
展开
-
莫队算法
Dragon Ball Super has finished. As a fan of Dragon Ball, Ctr couldn’t forget any plot of it, especially the fighting scene of Tournament of Power(力量大会). People who participate in the Tournament of Power...原创 2018-04-15 21:44:55 · 198 阅读 · 0 评论 -
hdu 4638 Group(莫队)
题目链接:hdu 4638 Group Group Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 3318 Accepted Submission(s): 1628 Problem Description There ...原创 2018-07-18 21:31:11 · 192 阅读 · 0 评论 -
2018 Multi-University Training Contest 4 B Harvest of Apples(hdu 6333)(莫队)
题目链接:hdu 6333 Problem B. Harvest of Apples 题意:求 思路:T和n的范围都是10的5次,比较大,一直在找规律,各种换算,找一个求得上述式子的快速的方法,但是没找到,看了题解后才知道莫队可以过。n与m变换的过程,需要得到两个式子: 这题T了很久,一直不知道为什么,结果发现是因为没有在 ll mod=1e9+7前面加上const,我:???...原创 2018-08-03 11:07:12 · 120 阅读 · 0 评论