线段树
文章平均质量分 83
墓菱
这个作者很懒,什么都没留下…
展开
-
Balanced Lineup(POJ-3264)
Description For the daily milking, Farmer John’s N cows (1 ≤ N ≤ 50,000) always line up in the same order. One day Farmer John decides to organize a game of Ultimate Frisbee with some of the cows. To...原创 2018-05-24 21:56:55 · 137 阅读 · 0 评论 -
Minimum(2017 ACM/ICPC Asia Regional Beijing Online)
You are given a list of integers a0, a1, …, a2^k-1. You need to support two types of queries: Output Minx,y∈[l,r] {ax∙ay}. Let ax=y. Input The first line is an integer T, indicating the number...原创 2018-08-09 20:30:43 · 150 阅读 · 0 评论