12 2021 档案

摘要:https://xyix.github.io/posts/?searchfor=%E4%BF%9D%E5%BA%8F%E5%9B%9E%E5%BD%92&postname=isotonic-regression https://github.com/enkerewpo/OI-Public-Libra 阅读全文
posted @ 2021-12-26 16:13 SegmentTree 阅读(99) 评论(0) 推荐(0)
摘要:\(-\min\left\{\sum_{u}b_up_u+ \sum_{u, v}c_{u,v}max(0,p_v-p_u-w_{u,v})\right\}\) orz orz 阅读全文
posted @ 2021-12-25 10:58 SegmentTree 阅读(63) 评论(0) 推荐(0)
摘要:const int P = 998244353; int power(int a, int b, int c = 1) { for(; b; b >>= 1, a = (ll)a * a % P) if(b & 1) c = (ll)c * a % P; return c; } struct min 阅读全文
posted @ 2021-12-10 08:16 SegmentTree 阅读(83) 评论(0) 推荐(0)