首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 枚举法(穷举法) “笨人之法”: 把所有可能的情况一一测试,筛选出符合条件的各种结果进行输出。 【例一】百元买百鸡:用一百元钱买一百只鸡。已知公鸡5...

枚举法(穷举法) “笨人之法”: 把所有可能的情况一一测试,筛选出符合条件的各种结果进行输出。 【例一】百元买百鸡:用一百元钱买一百只鸡。已知公鸡5...

  • 资源大小:546.48 kB
  • 上传时间:2021-06-30
  • 下载次数:0次
  • 浏览次数:0次
  • 资源积分:1积分
  • 标      签: 工具条 others

资 源 简 介

枚举法(穷举法) “笨人之法”: 把所有可能的情况一一测试,筛选出符合条件的各种结果进行输出。 【例一】百元买百鸡:用一百元钱买一百只鸡。已知公鸡5元/只,母鸡3元/只,小鸡1元/3只。 分析: 这是个不定方程――三元一次方程组问题(三个变量,两个方程) x+y+z=100 5x+3y+z/3=100 设公鸡为x-enumeration method (exhaustive) "Benren Regulation" : all possible test of January 1, and selected eligible for the results output. Cases-- 100 yuan to buy a 100 chicken : 100 yuan to buy 100 chickens. Known rooster 5 yuan/only, the hen 3 yuan/only and chicken one yuan/3. Analysis : This is a volatile equation-- Group 3 linear equation (3 variable, equation 2) x+ y+ z = 100 5x+3 y+ z/3 = 100 x located rooster

文 件 列 表

the_forth.ppt
VIP VIP
0.184231s