摘要:
静态链表 #include<iostream> using namespace std; const int N = 1e5+10; int ne[N]; //存放当前节点下标的下一个位置的下标 int e[N]; //存放每个节点的数据 int idx; //存储当前已经用到了那个节点 int h 阅读全文
摘要:
[toc] Tallest Cow(差分) 题目 Description FJ's N (1 ≤ N ≤ 10,000) cows conveniently indexed 1.. N are standing in a line. Each cow has a positive integer h 阅读全文