- 博客(3)
- 资源 (7)
- 收藏
- 关注
原创 sduacm16级寒假训练 素筛 快速幂 GCD
ASome positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive integer have? For example, the integer
2017-02-05 19:28:47 427
原创 sduacm16级寒假训练 动态规划(二)
传送门A/*题目大意:一个人去买C瓶可乐,每瓶八块,有1 5 10面值的硬币若干,求出最少投币数。售货机会尽可能的找更少的硬币个数(也就是投一个十块三个一块,会找一个五块= =)解题思路:dp[i][j][k],ijk记录三个硬币状态,dp记录使用个数,递归加优化*/#include #include #include #include #include using
2017-02-04 09:29:39 278
原创 sduacm16级寒假训练 动态规划(一)
A - 最长递增子序列 POJ - 2533 A numeric sequence of ai is ordered if a1 a2 aN. Let the subsequence of the given numeric sequence ( a1, a2, .
2017-02-02 08:49:04 367
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人