【BZOJ4584】[Apio2016]赛艇

题解:

首先离散化

然后重点在于我们要让状态模糊化

f[i][j][k]表示前i个,最大的在j,其中有k个在

然后组合数转移

猜你喜欢

转载自www.cnblogs.com/yinwuxiao/p/9368970.html