摘要: 二分答案就可以了....-----------------------------------------------------------------------#include#include#include#include#includeusing namespace std;typedef... 阅读全文
posted @ 2015-10-14 21:31 JSZX11556 阅读(246) 评论(0) 推荐(0) 编辑
摘要: dp(x)表示前x个的最大值, Max(x)表示含有因数x的dp最大值. 然后对第x个数a[x], 分解质因数然后dp(x) = max{Max(t)} + 1, t是x的因数且t>=L---------------------------------------------------------... 阅读全文
posted @ 2015-10-14 21:23 JSZX11556 阅读(270) 评论(0) 推荐(0) 编辑