树状数组
文章平均质量分 83
lljjccsskk
这个作者很懒,什么都没留下…
展开
-
poj2481-Cows
CowsDescriptionFarmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good.原创 2015-08-16 08:35:47 · 300 阅读 · 0 评论 -
hdu1541-Stars(树状数组)
StarsTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6453 Accepted Submission(s): 2561Problem DescriptionAstronomers often examin原创 2015-08-15 21:47:19 · 385 阅读 · 0 评论 -
poj2182-Lost Cows
Lost CowsDescriptionN (2 <= N <= 8,000) cows have unique brands in the range 1..N. In a spectacular display of poor judgment, they visited the neighborhood 'watering hole' and drank a few too many原创 2015-08-15 23:12:54 · 306 阅读 · 0 评论 -
Codeforces Round #261 (Div. 2) D. Pashmak and Parmida's problem (树状数组求逆序数 变形)
D. Pashmak and Parmida's problemParmida is a clever girl and she wants to participate in Olympiads this year. Of course she wants her partner to be clever too (although he's not)! Parmida has pr转载 2015-08-16 09:52:40 · 387 阅读 · 0 评论