
线段树
文章平均质量分 76
nare123
这个作者很懒,什么都没留下…
展开
-
POJ 3468 A Simple Problem with Integers
A Simple Problem with Integers Time Limit: 5000MS Memory Limit: 131072K Total Submissions: 96328 Accepted: 30033 Case Time Limit: 2000MS DescriptionYou have N integers, A1, A2, … , AN.原创 2016-08-18 15:26:06 · 263 阅读 · 0 评论 -
hdu 1166 敌兵布阵(线段树+单点更新)
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 78764 Accepted Submission(s): 33286Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Der原创 2016-09-22 20:05:26 · 276 阅读 · 0 评论 -
POJ 2777 Count Color
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 78764 Accepted Submission(s): 33286Problem Description C国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Der原创 2016-09-28 11:10:55 · 276 阅读 · 0 评论 -
poj 2528 Mayor's posters
Mayor’s posters Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 59553 Accepted: 17255 DescriptionThe citizens of Bytetown, AB, could not stand that the candidates in the mayor原创 2016-09-29 13:21:15 · 244 阅读 · 0 评论 -
poj 3667 Hotel
Hotel Time Limit: 3000MS Memory Limit: 65536K Total Submissions: 16373 Accepted: 7108 DescriptionThe cows are journeying north to Thunder Bay in Canada to gain cultural enrichment and en原创 2016-10-03 10:30:24 · 280 阅读 · 0 评论 -
hdu 5828
维护区间和+最大最小值就行了.#include<stdio.h>#include<iostream>#include<algorithm>#include<string>#include<string.h>#include<math.h>using namespace std;#define INF 99999999#define ll long longstruct p{ i原创 2017-02-11 11:16:30 · 303 阅读 · 0 评论 -
(多校) hdu 6035 Colorful Tree
Colorful TreeTime Limit: 6000/3000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 1741 Accepted Submission(s): 722Problem Description There is a tree with n n原创 2017-07-28 15:46:04 · 287 阅读 · 0 评论