文件名称:abcdef
- 所属分类:
- 数值算法/人工智能
- 资源属性:
- [Windows] [Visual C] [源码]
- 上传时间:
- 2016-10-20
- 文件大小:
- 27kb
- 下载次数:
- 0次
- 提 供 者:
- 宋**
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
将A、B、C、D、E、F这六个变量排成如图所示的三角形,这六个变量分别取[1,6]上的整数,且均不相同。求使三角形三条边上的变量之和相等的全部解。如图就是一个解。
程序引入变量a、b、c、d、e、f,并让它们分别顺序取1至6的证书,在它们互不相同的条件下,测试由它们排成的如图所示的三角形三条边上的变量之和是否相等,如相等即为一种满足要求的排列,把它们输出。当这些变量取尽所有的组合后,程序就可得到全部可能的解。-The variables A, B, C, D, E, and F are arranged as triangles as shown in the figure. These six variables are taken as integers on [1,6] and are not the same. Find all solutions that make the sum of the variables on the three sides of the triangle equal. Figure is a solution.
The program introduces the variables a, b, c, d, e, f, and let them take 1 to 6 certificates, respectively, in their different conditions, the test by their arrangement as shown in the triangle triangle On the sum of the variables are equal, such as equal to an order to meet the requirements of their output. When all of these variables are exhausted, the program can obtain all possible solutions.
程序引入变量a、b、c、d、e、f,并让它们分别顺序取1至6的证书,在它们互不相同的条件下,测试由它们排成的如图所示的三角形三条边上的变量之和是否相等,如相等即为一种满足要求的排列,把它们输出。当这些变量取尽所有的组合后,程序就可得到全部可能的解。-The variables A, B, C, D, E, and F are arranged as triangles as shown in the figure. These six variables are taken as integers on [1,6] and are not the same. Find all solutions that make the sum of the variables on the three sides of the triangle equal. Figure is a solution.
The program introduces the variables a, b, c, d, e, f, and let them take 1 to 6 certificates, respectively, in their different conditions, the test by their arrangement as shown in the triangle triangle On the sum of the variables are equal, such as equal to an order to meet the requirements of their output. When all of these variables are exhausted, the program can obtain all possible solutions.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
abcdef.cpp
abcdef.dsp
abcdef.dsw
abcdef.ncb
abcdef.opt
abcdef.plg
Debug
.....\abcdef.pch
.....\vc60.idb
.....\vc60.pdb