上一页 1 2 3 4 5 6 7 8 ··· 18 下一页
Function Run Fun Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 21964 Accepted: 10914 Description We all love recursion! Don't we? Conside Read More
posted @ 2019-11-05 18:43 厂长在线养猪 Views(122) Comments(0) Diggs(0) Edit
四边形不等式优化_石子合并问题_C++ 在动态规划中,经常遇到形如下式的状态转移方程: m(i,j)=min{m(i,k-1),m(k,j)}+w(i,j)(i≤k≤j)(min也可以改为max) 上述的m(i,j)表示区间[i,j]上的某个最优值。w(i,j)表示在转移时需要额外付出的代价。该方程 Read More
posted @ 2019-10-31 14:49 厂长在线养猪 Views(160) Comments(0) Diggs(0) Edit
4797: 能量项链 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 47 测试通过:18 描述 在Mars星球上,每个Mars人都随身佩带着一串能量项链。在项链上有N颗能量珠。能量珠是一颗有头标记与尾标记的珠子,这些标记对应着某个正整数。并且,对于 Read More
posted @ 2019-10-31 13:57 厂长在线养猪 Views(211) Comments(0) Diggs(0) Edit
桃子的矩阵快速幂 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 6 测试通过:3 描述 桃子得到了一个递推式,f(n)=2*f(n-2)+f(n-1)+n^4,f(1)=a,f(2)=b,现在给你n,a,b,要你计算f(n)的值为多少。 输入 第一 Read More
posted @ 2019-10-28 22:50 厂长在线养猪 Views(166) Comments(0) Diggs(0) Edit
6064: Happy Necklace 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 28 测试通过:11 描述 Little Q wants to buy a necklace for his girlfriend. Necklaces are Read More
posted @ 2019-10-28 21:32 厂长在线养猪 Views(134) Comments(0) Diggs(0) Edit
Fibonacci Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 24331 Accepted: 16339 Description In the Fibonacci integer sequence, F0 = 0, F1 = Read More
posted @ 2019-10-27 22:35 厂长在线养猪 Views(207) Comments(0) Diggs(0) Edit
6071: Squarefree number 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 49 测试通过:24 描述 In mathematics, a squarefree number is one which is divisible b Read More
posted @ 2019-10-27 20:31 厂长在线养猪 Views(353) Comments(0) Diggs(0) Edit
6081: Gym Class 时间限制(普通/Java):1000MS/3000MS 内存限制:65536KByte 总提交: 40 测试通过:10 描述 众所周知,度度熊喜欢各类体育活动。今天,它终于当上了梦寐以求的体育课老师。第一次课上,它发现一个有趣的事情。在上课之前,所有同学要排成一列, Read More
posted @ 2019-10-27 19:44 厂长在线养猪 Views(154) Comments(0) Diggs(0) Edit
胜利大逃亡(续) Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 12578 Accepted Submission(s): 4570 Probl Read More
posted @ 2019-10-25 19:54 厂长在线养猪 Views(105) Comments(0) Diggs(0) Edit
Corn Fields Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 23437 Accepted: 12275 Description Farmer John has purchased a lush new rectangu Read More
posted @ 2019-10-23 21:59 厂长在线养猪 Views(156) Comments(0) Diggs(0) Edit
上一页 1 2 3 4 5 6 7 8 ··· 18 下一页