摘要:
线段树 1:单点修改,区间查询 代码: cpp / Segment Tree 1 Au: GG / include include include include include include include define ll long long using namespace std; con 阅读全文
摘要:
火柴排队 cpp / 火柴排队 Au: GG / include include include include include include include using namespace std; typedef long long ll; const int N = 200000 + 3; 阅读全文
摘要:
更多 STL 数据结构请阅读 "NOIp 数据结构专题总结" (STL structure 章节) std::map Definition: In a map, the key values are generally used to sort and uniquely identify the e 阅读全文
摘要:
``` cpp / Least Common Ancestors Au: Small_Ash / include using namespace std; const int N = 500005, M = 1000005, MM = 20; int n, m, s, d[N], l[N], f[M 阅读全文
摘要:
数字的读入优化: cpp / I/O Au: GG / include include include include include include include include using namespace std; int read() { int sum = 0; char c = ge 阅读全文