![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DP
zzysleep
一条代码一个世界
展开
-
Chino with Train to the Rabbit Town-贪心或动态规划
链接:https://ac.nowcoder.com/acm/contest/553/G 来源:牛客网 Chino with Train to the Rabbit Town 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 262144K,其他语言524288K 64bit IO Format: %lld 题目描述 C...原创 2019-04-09 08:19:38 · 126 阅读 · 0 评论 -
动态规划简单DP-牛牛与数组
链接:https://ac.nowcoder.com/acm/problem/21738 来源:牛客网 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 牛牛喜欢这样的数组: 1:长度为n 2:每一个数都在1到k之间 3:对于任意连续的两个数A,B,A<=B 与(A % B !=...原创 2019-04-14 23:37:22 · 377 阅读 · 0 评论