
HDOJ
吴贝贝97
这个作者很懒,什么都没留下…
展开
-
A + B Problem
A + B ProblemProblem DescriptionCalculate A + B. InputEach line will contain two integers A and B. Process to end of file. OutputFor each case, output A + B i原创 2017-05-07 11:36:44 · 506 阅读 · 0 评论 -
敌兵布阵(线段树+更新节点+区间求和)
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 113805 Accepted Submission(s): 47692Problem DescriptionC国的死对头A国这段时间正在进行军事演习,所以C国间谍头子Derek...原创 2018-06-01 23:16:21 · 166 阅读 · 0 评论 -
Memory Control(线段树+区间合并)
Memory ControlTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 7152 Accepted Submission(s): 1720Problem DescriptionMemory units are numbered f...原创 2018-06-06 17:44:20 · 501 阅读 · 1 评论 -
Tunnel Warfare(线段树+区间最值)
Tunnel WarfareTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 11572 Accepted Submission(s): 4544Problem DescriptionDuring the War of Resistan...原创 2018-06-03 21:22:25 · 350 阅读 · 0 评论 -
Billboard(线段树+更新节点+询问特殊)
BillboardTime Limit: 20000/8000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 26780 Accepted Submission(s): 10937Problem DescriptionAt the entrance to the univer...原创 2018-06-03 09:34:20 · 236 阅读 · 0 评论 -
Just a Hook(线段树+区间更新+区间求和)
Just a HookTime Limit: 4000/2000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 40016 Accepted Submission(s): 19366Problem DescriptionIn the game of DotA, Pudge’s...原创 2018-06-02 19:03:54 · 375 阅读 · 0 评论 -
Keywords Search(AC自动机模版题)
Keywords SearchTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 73920 Accepted Submission(s): 25371Problem DescriptionIn the modern time, Se...原创 2018-05-21 16:13:59 · 730 阅读 · 0 评论 -
Number Sequence
Number SequenceProblem DescriptionA number sequence is defined as follows:f(1) = 1, f(2) = 1, f(n) = (A * f(n - 1) + B * f(n - 2)) mod 7.Given A, B, and n, you are to calculate the value of f(n). Inpu原创 2018-01-19 09:34:26 · 251 阅读 · 0 评论 -
Let the Balloon Rise
Let the Balloon RiseProblem DescriptionContest time again! How excited it is to see balloons floating around. But to tell you a secret, the judges' favorite time is guessing the most popular problem.原创 2018-01-19 09:22:36 · 147 阅读 · 0 评论 -
Max Sum (O(n)时间复杂度)
Max SumProblem DescriptionGiven a sequence a[1],a[2],a[3]......a[n], your job is to calculate the max sum of a sub-sequence. For example, given (6,-1,5,4,-7), the max sum in this sequence is 6 + (-1)原创 2018-01-18 22:54:09 · 2210 阅读 · 2 评论 -
A + B Problem II
A + B Problem IIProblem DescriptionI have a very simple problem for you. Given two integers A and B, your job is to calculate the Sum of A + B. InputThe first line of the input contains an integer T(1原创 2018-01-18 16:28:37 · 155 阅读 · 0 评论 -
I Hate It(线段树+更新节点+区间最值)
I Hate ItTime Limit: 9000/3000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 94685 Accepted Submission(s): 35843Problem Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当...原创 2018-06-02 16:15:23 · 174 阅读 · 0 评论