文件名称:Integer_Partition
- 所属分类:
- 数据结构常用算法
- 资源属性:
- [Windows] [Visual.Net] [源码]
- 上传时间:
- 2013-11-04
- 文件大小:
- 2.34mb
- 下载次数:
- 0次
- 提 供 者:
- 谢*
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
整数划分,是指把一个正整数n写成如下形式: n=m1+m2+...+mi (其中mi为正整数,并且1 <= mi <= n),则{m1,m2,...,mi}为n的一个划分。
如果{m1,m2,...,mi}中的最大值不超过m,即max(m1,m2,...,mi)<=m,则称它属于n的一个m划分。这里我们记n的m划分的个数为f(n,m) 例如但n=4时,他有5个划分,{4},{3,1},{2,2},{2,1,1},{1,1,1,1} -Integer division, refers to a positive integer n written as follows: n = m1+m2+ ...+mi (where mi is a positive integer, and 1 < = mi < = n), then {m1, m2, ..., mi n} is a partition. If {m1, m2, ..., mi} does not exceed the maximum value of m, i.e. max (m1, m2, ..., mi) < = m, it is called an m division of n. Here we denote the number n of the m-divided f (n, m) n = 4, for example, but he has five division, {4}, {3,1}, {2,2}, {2, 1,1}, {1,1,1,1}
如果{m1,m2,...,mi}中的最大值不超过m,即max(m1,m2,...,mi)<=m,则称它属于n的一个m划分。这里我们记n的m划分的个数为f(n,m) 例如但n=4时,他有5个划分,{4},{3,1},{2,2},{2,1,1},{1,1,1,1} -Integer division, refers to a positive integer n written as follows: n = m1+m2+ ...+mi (where mi is a positive integer, and 1 < = mi < = n), then {m1, m2, ..., mi n} is a partition. If {m1, m2, ..., mi} does not exceed the maximum value of m, i.e. max (m1, m2, ..., mi) < = m, it is called an m division of n. Here we denote the number n of the m-divided f (n, m) n = 4, for example, but he has five division, {4}, {3,1}, {2,2}, {2, 1,1}, {1,1,1,1}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Integer_Partition\Integer_Partition.sdf
.................\Integer_Partition.sln
.................\Integer_Partition.suo
.................\Debug\Integer_Partition.exe
.................\.....\Integer_Partition.ilk
.................\.....\Integer_Partition.pdb
.................\Integer_Partition\Integer_Partition.cpp
.................\.................\Integer_Partition.vcxproj
.................\.................\Integer_Partition.vcxproj.filters
.................\.................\Integer_Partition.vcxproj.user
.................\.................\ReadMe.txt
.................\.................\stdafx.cpp
.................\.................\stdafx.h
.................\.................\targetver.h
.................\.................\Debug\CL.read.1.tlog
.................\.................\.....\CL.write.1.tlog
.................\.................\.....\Integer_Partition.exe.embed.manifest
.................\.................\.....\Integer_Partition.exe.embed.manifest.res
.................\.................\.....\Integer_Partition.exe.intermediate.manifest
.................\.................\.....\Integer_Partition.lastbuildstate
.................\.................\.....\Integer_Partition.log
.................\.................\.....\Integer_Partition.obj
.................\.................\.....\Integer_Partition.pch
.................\.................\.....\Integer_Partition_manifest.rc
.................\.................\.....\link-cvtres.read.1.tlog
.................\.................\.....\link-cvtres.write.1.tlog
.................\.................\.....\link.11252-cvtres.read.1.tlog
.................\.................\.....\link.11252-cvtres.write.1.tlog
.................\.................\.....\link.11252.read.1.tlog
.................\.................\.....\link.11252.write.1.tlog
.................\.................\.....\link.4316-cvtres.read.1.tlog
.................\.................\.....\link.4316-cvtres.write.1.tlog
.................\.................\.....\link.4316.read.1.tlog
.................\.................\.....\link.4316.write.1.tlog
.................\.................\.....\link.6660-cvtres.read.1.tlog
.................\.................\.....\link.6660-cvtres.write.1.tlog
.................\.................\.....\link.6660.read.1.tlog
.................\.................\.....\link.6660.write.1.tlog
.................\.................\.....\link.7312-cvtres.read.1.tlog
.................\.................\.....\link.7312-cvtres.write.1.tlog
.................\.................\.....\link.7312.read.1.tlog
.................\.................\.....\link.7312.write.1.tlog
.................\.................\.....\link.7496-cvtres.read.1.tlog
.................\.................\.....\link.7496-cvtres.write.1.tlog
.................\.................\.....\link.7496.read.1.tlog
.................\.................\.....\link.7496.write.1.tlog
.................\.................\.....\link.9072-cvtres.read.1.tlog
.................\.................\.....\link.9072-cvtres.write.1.tlog
.................\.................\.....\link.9072.read.1.tlog
.................\.................\.....\link.9072.write.1.tlog
.................\.................\.....\link.9212-cvtres.read.1.tlog
.................\.................\.....\link.9212-cvtres.write.1.tlog
.................\.................\.....\link.9212.read.1.tlog
.................\.................\.....\link.9212.write.1.tlog
.................\.................\.....\link.9944-cvtres.read.1.tlog
.................\.................\.....\link.9944-cvtres.write.1.tlog
.................\.................\.....\link.9944.read.1.tlog
.................\.................\.....\link.9944.write.1.tlog
.................\.................\.....\link.read.1.tlog
.................\.................\.....\link.write.1.tlog
.................\.................\.....\mt.read.1.tlog
.................\.................\.....\mt.write.1.tlog
.................\.................\.....\rc.read.1.tlog
.................\.................\.....\rc.write.1.tlog
.................\........