文件名称:shuangduandui
- 所属分类:
- 人工智能/神经网络/遗传算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 537kb
- 下载次数:
- 0次
- 提 供 者:
- Chen****
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
双端队列应用于优化算法,解决竞赛题:由题目所说,Mr Pote有n个袋子装豆子。Mr Pote从中进行挑选包装,要求找出连续一列袋子,使得它们的豆子总和s在满足s p<=k条件下最大 ,以保证被狗狗吃掉的最少,并且Mr .Pote装的豆子最多。最后输出狗狗吃掉的豆子数目,即s p的结果。
抽象后表述为:给定n,p,k,以及n项数列[wi],要求找出其一个连续子序列,使得其和s在满足s p<=k的条件下最大,输出s整除p的结果。-Double-ended queue used in optimization algorithms to solve race problems: the title says, Mr Pote has n in bags of beans. Mr Pote from which to choose packaging requirements to find continuous one bag of beans makes them the sum of s to meet the s p < = k under the condition of the maximum to the minimum guaranteed to be eaten by dogs, and Mr. Pote filled with beans up . Finally, output the number of dogs eat the beans, that s p result. After the abstract is stated as: given n, p, k, and n the number of items listed [wi], requires a continuous sequence to identify its make and s to meet their s p < = k under the conditions of maximum output s divisible p results.
抽象后表述为:给定n,p,k,以及n项数列[wi],要求找出其一个连续子序列,使得其和s在满足s p<=k的条件下最大,输出s整除p的结果。-Double-ended queue used in optimization algorithms to solve race problems: the title says, Mr Pote has n in bags of beans. Mr Pote from which to choose packaging requirements to find continuous one bag of beans makes them the sum of s to meet the s p < = k under the condition of the maximum to the minimum guaranteed to be eaten by dogs, and Mr. Pote filled with beans up . Finally, output the number of dogs eat the beans, that s p result. After the abstract is stated as: given n, p, k, and n the number of items listed [wi], requires a continuous sequence to identify its make and s to meet their s p < = k under the conditions of maximum output s divisible p results.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
shuangduandui\Debug\shuangduandui.exe
.............\.....\shuangduandui.ilk
.............\.....\shuangduandui.pdb
.............\shuangduandui\Debug\BuildLog.htm
.............\.............\.....\duilie.obj
.............\.............\.....\mt.dep
.............\.............\.....\shuangduandui.exe.embed.manifest
.............\.............\.....\shuangduandui.exe.embed.manifest.res
.............\.............\.....\shuangduandui.exe.intermediate.manifest
.............\.............\.....\vc90.idb
.............\.............\.....\vc90.pdb
.............\.............\duilie.cpp
.............\.............\shuangduandui.vcproj
.............\.............\shuangduandui.vcproj.THINK.Csy.user
.............\shuangduandui.ncb
.............\shuangduandui.sln
.............\shuangduandui.suo
.............\.............\Debug
.............\Debug
.............\shuangduandui
shuangduandui
.............\.....\shuangduandui.ilk
.............\.....\shuangduandui.pdb
.............\shuangduandui\Debug\BuildLog.htm
.............\.............\.....\duilie.obj
.............\.............\.....\mt.dep
.............\.............\.....\shuangduandui.exe.embed.manifest
.............\.............\.....\shuangduandui.exe.embed.manifest.res
.............\.............\.....\shuangduandui.exe.intermediate.manifest
.............\.............\.....\vc90.idb
.............\.............\.....\vc90.pdb
.............\.............\duilie.cpp
.............\.............\shuangduandui.vcproj
.............\.............\shuangduandui.vcproj.THINK.Csy.user
.............\shuangduandui.ncb
.............\shuangduandui.sln
.............\shuangduandui.suo
.............\.............\Debug
.............\Debug
.............\shuangduandui
shuangduandui