
数据结构
文章平均质量分 79
coco430
这个作者很懒,什么都没留下…
展开
-
POJ 3264 - Balanced Lineup(线段树)
Balanced LineupTime Limit: 5000MS Memory Limit: 65536KTotal Submissions: 29686 Accepted: 14001Case Time Limit: 2000MSDescriptionFor the daily milking, Far原创 2013-10-04 21:08:38 · 496 阅读 · 0 评论 -
HDU 1754 - I Hate It(线段树)
Description很多学校流行一种比较的习惯。老师们很喜欢询问,从某某到某某当中,分数最高的是多少。 这让很多学生很反感。 不管你喜不喜欢,现在需要你做的是,就是按照老师的要求,写一个程序,模拟老师的询问。当然,老师有时候需要更新某位同学的成绩。 Input本题目包含多组测试,请处理到文件结束。 在每个测试的第一行,有两个正整数 N 和原创 2013-09-21 16:50:04 · 499 阅读 · 0 评论 -
HDU 1166 - 敌兵布阵(树状数组)
敌兵布阵Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 32011 Accepted Submission(s): 13740Problem DescriptionC国的死对头A国这段时间正在进行军事演原创 2013-09-21 17:29:34 · 521 阅读 · 0 评论 -
SGU 180 - Inversions(逆序数)
180. Inversionstime limit per test: 0.25 sec.memory limit per test: 4096 KBinput: standardoutput: standardThere are N integers (1A[j].InputThe first line of the input原创 2014-01-07 18:46:46 · 696 阅读 · 0 评论 -
SGU 271 - Book Pile
271. Book Piletime limit per test: 0.25 sec.memory limit per test: 65536 KBinput: standardoutput: standardThere is a pile of N books on the table. Two types of operations are perfo原创 2014-01-07 19:15:59 · 528 阅读 · 0 评论