文件名称:subSetSum
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.89mb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
说明:子集和问题
给定一个n个整数的集合X = {x1, x2, …, xn}和整数Y,找出和等于Y的X的子集subX。
比如说,如果X ={10,20,30,40,50,60} 和 Y = 60
则有三种不同长度的解,它们分别是
subY = {10,20,30},{20,40} 和{60}
使用回溯法实现.开发VS2005工具-Descr iption: a subset of the problem and given a set of n integers X = (x1, x2, ..., xn) and an integer Y, find the X and Y equal to a subset of subX. For example, if X = (10,20,30,40,50,60) and Y = 60 there are three different length of the solution, they are subY = (10,20,30), (20,40) and (60) use of retrospective method. development tool VS2005
给定一个n个整数的集合X = {x1, x2, …, xn}和整数Y,找出和等于Y的X的子集subX。
比如说,如果X ={10,20,30,40,50,60} 和 Y = 60
则有三种不同长度的解,它们分别是
subY = {10,20,30},{20,40} 和{60}
使用回溯法实现.开发VS2005工具-Descr iption: a subset of the problem and given a set of n integers X = (x1, x2, ..., xn) and an integer Y, find the X and Y equal to a subset of subX. For example, if X = (10,20,30,40,50,60) and Y = 60 there are three different length of the solution, they are subY = (10,20,30), (20,40) and (60) use of retrospective method. development tool VS2005
(系统自动生成,下载前可以参看下载内容)
下载文件列表
subSetSum/Debug
subSetSum/main.cpp
subSetSum/subSetSum.ncb
subSetSum/subSetSum.sln
subSetSum/subSetSum.suo
subSetSum/subSetSum.vcproj
subSetSum/subSetSum.vcproj.ACER-7CFBBC7F5B.www.comedl.com.user
subSetSum
subSetSum/main.cpp
subSetSum/subSetSum.ncb
subSetSum/subSetSum.sln
subSetSum/subSetSum.suo
subSetSum/subSetSum.vcproj
subSetSum/subSetSum.vcproj.ACER-7CFBBC7F5B.www.comedl.com.user
subSetSum
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.