https://www.luogu.com.cn/problem/P3195
https://www.luogu.com.cn/problem/CF372C
https://www.luogu.com.cn/problem/P3628
https://www.luogu.com.cn/problem/P4072
单调队列,斜率优化,cdq分治
入门级练习(基本为模板题)
GCD 题
https://darkbzoj.tk/problem/2605 AC
https://codeforces.com/problemset/problem/1579/F 《Array Stabilization (AND version)》 AC
欧几里得模板题: https://codeforces.com/problemsets/acmsguru/problem/99999/106 (The equation) AC
求方程ax+by+c=0,x1<=x<=x2,y1<=y<=y2的整数解。
先用欧几里得求一组解,然后算总数。 O(log2(a+b))
逆元模板题 https://vjudge.net/problem/hdu-1576 《A除以B》 AC
https://cses.fi/problemset/task/1079 《Binomial Coefficients》AC
1.《荒岛野人》洛谷 P2421 AC
2.《987654321 problem》 SGU107 https://codeforces.com/problemsets/acmsguru/problem/99999/107看题解AC
3.《Boxes》SGU126 https://codeforces.com/problemsets/acmsguru/problem/99999/126 AC
-
《Fox and jumping》CF512B AC
-
《跳棋子》BZOJ 2144 (神题)看题解AC