RMQ
文章平均质量分 85
jiayuzun
这个作者很懒,什么都没留下…
展开
-
HDU 5726 GCD
GCD Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Give you a sequence of N(N≤100,000) integers : a1,...,an(0ai≤1000,000,000).原创 2017-03-28 12:34:13 · 448 阅读 · 0 评论 -
HDU 5381 The sum of gcd
The sum of gcd Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description You have an array A,the length of A is n Let f(l,r)=∑ri=l∑rj=igcd原创 2017-04-12 23:07:04 · 350 阅读 · 0 评论