搜索资源列表
the_ th
- 枚举法(穷举法) “笨人之法”: 把所有可能的情况一一测试,筛选出符合条件的各种结果进行输出。 【例一】百元买百鸡:用一百元钱买一百只鸡。已知公鸡5元/只,母鸡3元/只,小鸡1元/3只。 分析: 这是个不定方程——三元一次方程组问题(三个变量,两个方程) x+y+z=100 5x+3y+z/3=100 设公鸡为x-enumeration method (exhaustive) "Benren Regulation" : all po
baijibaiqian
- 百鸡百钱问题:此程序解决的问题就是用100元钱如何买100只鸡的问题。-100 hundred chickens money : this procedure to resolve the problem is to use 100 yuan how to buy 100 chicken problem.
chicken
- 经典的百钱买百鸡问题,适合初学者学习程序的的语法结构,注释详尽可直接运行
100chicken
- 本问题记载于中国古代约5—6世纪成书的《张邱建算经》中,是原书卷下第38题,也是全书的最后一题:“今有鸡翁一,值钱伍;鸡母一,值钱三;鸡鶵三,值钱一。凡百钱买鸡百只,问鸡翁、母、鶵各几何?-This issue documented in ancient Chinese book about 5-6 century
baiji
- 百元买百鸡问题!-Hundred dollars to buy 100 chicken problem!
maijiproblem
- 百钱买百鸡问题 公元钱五世纪,我国古代数学家张丘建在《算经》一书中提出了“百鸡问题”:鸡翁一值钱五,鸡母一值钱三,鸡雏三值钱一。百钱买百鸡,问鸡翁、鸡母、鸡雏各几何?-The issue of money to buy 100 per cent chicken money the fifth century AD, ancient Chinese mathematician Zhang Qiu built in " operator as" a book of "
bqmj
- 使用windows窗体程序,对历史上有名的百钱买鸡问题进行了模拟-Using the windows window procedure, chicken problem to buy 100 money historic simulation
4
- 百钱买百鸡,C语言中最经典的编程问题。个人编写的代码,编译成功。-One hundred to buy one hundred chickens, C programming language is the most classic problem. Personal code written, compiled successfully.
baijibaiqian
- 百钱百鸡问题 中国古代数学家张丘建在他的《算经》中提出了著名的“百钱买百鸡问题”:鸡翁一,值钱五,鸡母一,值钱三,鸡雏三,值钱一,百钱买百鸡,问翁、母、雏各几何?-Money problems hundred million chickens ancient Chinese mathematician Zhang Qiu Jian proposed in his " count by" in the famous " 100 million chickens mon
baiqianmaibaiji
- 百钱买百鸡的问题,实验给定钱数买到不同的鸡兔数量~~ 在给定的条件下求得所需要的结果-Buy a hundred million chickens, experiments for a given amount of money to buy the chickens and rabbits with different number of ~ ~ under the conditions given the results obtained the required
baiqianmaibaiji
- 百钱买百鸡的问题,实验给定钱数买到不同的鸡兔数量~~ 在给定的条件下求得所需要的结果-Buy a hundred million chickens, experiments for a given amount of money to buy the chickens and rabbits with different number of ~ ~ under the conditions given the results obtained the required
Getting-Algorithm-18
- 任意次方后的最后 计算某日是该年的第几天 婚礼上的谎言 18 实例016 百元买百鸡 19 实例017 打渔晒网问题 20 实例018 判断三角形的类型 22 实例019 直接插入排序 23 实例020 希尔排序 25 实例021 冒泡排序 26 实例022 快速排序 27 实例023 选择排序 28 实例024 归并排序 29 实例025 二分查找 31 实例026 分块查找 32 实例027 哈希查找 34 实例028 斐波那契数列 37
作业1.2
- 公鸡每只5元,母鸡每只3元,小鸡3只一元,N元买N只鸡,有多少种买法? 1. 试编程解决买鸡问题。用户输入N,能输出所有的买法,其中N以值调用的形式在函数参数表中出现。 2. 分析算法的复杂度,结合复杂度分析考虑算法如何优化。(5 yuan per cock, 3 yuan per hen, 3 chicks a dollar, N yuan to buy N chicken, how many kinds of buy? 1. trial programming to solve the
学生系统
- 百钱买鸡问题:一百个铜钱买了一百只鸡,其中公鸡一只5钱、母鸡一只3钱,小鸡一钱3只、问一百只鸡中公鸡母鸡、小鸡各多少。?(100 yuan to buy chicken problem: one hundred copper coins bought one hundred chickens, of which 5 were cock, 3 for hens, 3 for chickens, one hundred for roosters, hens and chicks.)
Loop_Task
- 一百元买一百只只鸡,小鸡0.5,公鸡1,母鸡2;输出所有可能的情况(One hundred dollars for a hundred chickens, exporting all the possible cases.)