10 2017 档案

摘要:Regular: ~~problem/10 cross // blog/59~~ problem/48 lcastat problem/49 letsandgo ~~problem/36 tree~~ problem/62 binary problem/64 swap problem/81 plan 阅读全文
posted @ 2017-10-22 15:04 greyqz 阅读(98) 评论(0) 推荐(0) 编辑
摘要:火柴排队 cpp / 火柴排队 Au: GG / include include include include include include include using namespace std; typedef long long ll; const int N = 200000 + 3; 阅读全文
posted @ 2017-10-20 11:32 greyqz 阅读(88) 评论(0) 推荐(0) 编辑
摘要:更多 STL 数据结构请阅读 "NOIp 数据结构专题总结" (STL structure 章节) std::map Definition: In a map, the key values are generally used to sort and uniquely identify the e 阅读全文
posted @ 2017-10-19 10:41 greyqz 阅读(137) 评论(0) 推荐(0) 编辑
摘要:``` 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 阅读全文
posted @ 2017-10-18 21:00 greyqz 阅读(102) 评论(0) 推荐(0) 编辑
摘要:Basic knowledge $$ C_n^m=\frac{n!}{m!(n m)!} $$ 快速幂 For more specific explanation, see "Link " . 组合数 同余方程 $$ ax \equiv 1 \pmod b $$ $$ ax + by = 1 $$ 阅读全文
posted @ 2017-10-18 10:57 greyqz 阅读(255) 评论(0) 推荐(0) 编辑
摘要:很菜。。。我还是太蒟蒻了。 d 老师太强了。。。 应该能有七十几分 初赛稳了 Update: 五十几分。。。 阅读全文
posted @ 2017-10-14 21:45 greyqz 阅读(106) 评论(0) 推荐(0) 编辑