纪念又一次ak

t1网络流

随便建个图就可以了

t2单调队列

分成两组来做

t3dp+高精度

为了不被卡厂用了万进制

原文地址:https://www.cnblogs.com/xuanyiming/p/8423881.html