树状数组
October's very own
? ? ?
展开
-
CF835C Star sky (二维前缀和)
CF835C Star sky 洛谷链接 题目描述 The Cartesian coordinate system is set in the sky. There you can see n stars, the i -th has coordinates ( xi,yi), a maximum brightness c , equal for all stars, and an initial...原创 2020-04-02 19:44:49 · 173 阅读 · 0 评论 -
hdoj 6514 Monitor (二维差分 + 二维前缀和)
hdoj 6514 Monitor Problem Description Xiaoteng has a large area of land for growing crops, and the land can be seen as a rectangle of n×m. But recently Xiaoteng found that his crops were often stolen ...原创 2020-04-02 17:05:46 · 125 阅读 · 0 评论 -
hdoj 1892 See you~(二维树状数组)
hdoj 1892 See you~ 链接 Problem Description Now I am leaving hust acm. In the past two and half years, I learned so many knowledge about Algorithm and Programming, and I met so many good friends. I want...原创 2020-04-02 16:22:19 · 84 阅读 · 0 评论 -
Poj 2029 Get Many Persimmon Trees(二维前缀和/二维树状数组)
Poj 2029 Get Many Persimmon Trees 链接 Description Seiji Hayashi had been a professor of the Nisshinkan Samurai School in the domain of Aizu for a long time in the 18th century. In order to reward him f...原创 2020-04-02 15:52:50 · 171 阅读 · 0 评论 -
Codeforces Round #627 (Div. 3) D - Pair of Topics
**Pair of Topics ** 题目描述 The next lecture in a high school requires two topics to be discussed. The i-th topic is interesting by ai units for the teacher and by bi units for the students. The pair of ...原创 2020-03-17 17:06:43 · 151 阅读 · 0 评论