CodeForces-546D Soldier and Number Game 筛法+动态规划
摘要:
题目链接: 题意 抱歉,我给忘了,现在看题目又看不懂: P 思路 筛法+dp 话说这个函数应该是积性函数,然后就想到了动态规划优化筛法。 提交过程 ||| : |: AC| 代码 cpp include include const int maxp=1e6, maxn=5e6+20; int pri 阅读全文
posted @ 2018-09-04 22:09 糖栗子 阅读(213) 评论(0) 推荐(0)
浙公网安备 33010602011771号