简单数据结构
Orion233
这个作者很懒,什么都没留下…
展开
-
贪心+优先队列(需优化) POJ2010
Moo University - Financial AidBessie noted that although humans have many universities they can attend, cows have none. To remedy this problem, she and her fellow cows formed a new university called Th原创 2017-04-02 16:29:01 · 347 阅读 · 0 评论 -
RMQ+ST 区间最值/区间最多频次
区间最值:#include <cstdio> #include <cstring> #include <cmath> #include <iostream> using namespace std; const int MAXN = 100117; int n,query; int num[MAXN];int F_Min[MAXN][20],F_Max[MAXN][20];void Init() {原创 2017-05-04 21:37:11 · 618 阅读 · 0 评论 -
CCPC 2016-2017 Finals - B
B-WashMr.Panda is about to engage in his favourite activity doing laundry! He’s brought L indistinguishable loads of laundry to his local laundromat, which has N washing machines and M dryers.The ithit原创 2017-04-25 20:05:52 · 1034 阅读 · 0 评论