-
趣味问题的程序原代码 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩...
趣味问题的程序原代码 海滩上有一堆桃子,五只猴子来分。第一只猴子把这堆桃子凭据分为五份,多了一个,这只 猴子把多的一个扔入海中,拿走了一份。第二只猴子把剩下的桃子又平均分成五份,又多了 一个,它同样把多的一个扔入海中,拿走了一份,第三、第四、第五只猴子都是这样做的, 问海滩上原来最少有多少个桃子?- On the interest question procedure original code beach has pile
of peaches, five monkeys divide. The first monkey divides into this
pile of peach proof five, many, this monkey has thrown into many in
the sea, took away. The second monkey the peach which is left over
equally divides into five, also many, it similarly has thrown into
many in the sea, took away, third, fourth, the fifth monkey all is
does this, asked how many peaches on the beach most is originally
unusual?
- 2022-10-26 14:25:03下载
- 积分:1
-
流利的与# 39动态网格的例子
Fluent的动网格算例,应该算是比较常用的类型。源文件和演示文件都有。-Fluent" s dynamic mesh example
- 2022-08-09 04:51:54下载
- 积分:1
-
C和C++代码精粹
C和C++代码精粹.pdf
第一章:更好的C
第二章:指针
第三章:预处理器
第四章:C标准库之一:面向合格的程序员
第五章:C标准库之二:面向熟练的程序员
第六章:C标准库之三:面向优秀的程序员
第七章:抽象
第八章:模版
第九章:位操作
第十章:类型转换与强制类型转换
第十一章:可见性
第十二章:控制结构
第十三章:异常
第十四章:面向对象编程
第十五章:算法
第十六章:容器和迭代器
第十七章:文本处理
第十八章:文件处理
第十九章:时间和日期处理
第二十章:动态内存管理
附录
- 2022-02-27 04:11:57下载
- 积分:1
-
霍夫曼树-C++源码
应用背景霍夫曼树-C++源码实现:哈夫曼树是带权路径长度最短的树,权值较大的结点离根较近。关键技术给定n个权值作为n的叶子结点,构造一棵二叉树,若带权路径长度达到最小,称这样的二叉树为最优二叉树,也称为哈夫曼树(Huffman Tree)。
- 2022-08-25 15:08:30下载
- 积分:1
-
交通仿真(排队论)小程序
This is the project of my course in the USA:
Customers
arrive at a service station (with a single server) according to the Poisson
process with a mean arrival rate of lambda = 0.3 (customers/min). Each customer
waits in queue (if present), proceeds to receive service upon his/her turn, and
departs the system when the service is completed. The service time is uniformly
distributed between 2.5 and 4.5 minutes. On each day, the service station is
open for two hours. Any customers in queue at the end of work hours are served
before closing the service station for the day. Use simulation (do 100
simulation runs) to determine
- 2023-02-02 14:55:04下载
- 积分:1
-
功能强大的计算器,采用仿C语言表达式语法 并且给出表达式的逆波兰表达式,支持二十余种函数运算,程序经测试成功...
功能强大的计算器,采用仿C语言表达式语法 并且给出表达式的逆波兰表达式,支持二十余种函数运算,程序经测试成功-powerful calculator, using fake C language syntax expression and expression is the inverse Poland expression, I support 20 species of Operational functions, procedures have been tested successfully
- 2023-07-20 20:55:04下载
- 积分:1
-
c语言求解线性矩阵
算例1:使用逐次相乘求两个实矩阵乘积的程序,运行效果如附图1.
程序中预置了两个实矩阵A,B,运行后输出它们的乘积。
知识点:实矩阵相乘的法则及程序实现。
算例2:高斯消去法解线性方程
求解N阶线性代数方程组Ax=B的小程序,运行效果如附图2.
程序中预先给定了系数矩阵A和值向量B的值,执行后输出解向量。
知识点:消去法矩阵运算的程序实现。
算例3:求n阶实矩阵A的逆矩阵A-1的小程序,运行效果如附图3.
程序中预置了A的值,运行后分别输出A,A-1和A*A-1的值。
知识点:高斯-约当消去法的计算方法及程序实现。
- 2022-08-11 01:43:36下载
- 积分:1
-
A fluid numerical simulation program to simulate the air or from a drilling camp...
一个流体数值模拟程序,模拟空中或从一个钻孔运动中筛选不饱和区。三维空气流动的异常,各向异性饱和带空气流通。-A fluid numerical simulation program to simulate the air or from a drilling campaign in the filter is not saturated zone. The abnormal three-dimensional air flow, anisotropy saturated with air circulation.
- 2022-10-25 20:10:03下载
- 积分:1
-
Binary Search Tree
Binary Search Tree - with additional recursion functions (smallest, parent & successor) etc-Binary Search Tree- with additional recursion functions (smallest, parent & successor) etc
- 2022-01-28 01:15:26下载
- 积分:1
-
将求解偏微分方程和局部网格加密简单组合在了一起。用的方程是一个含有间断二次系数的椭圆型方程,在系数间断的位置,解会有一个弱间断。...
将求解偏微分方程和局部网格加密简单组合在了一起。用的方程是一个含有间断二次系数的椭圆型方程,在系数间断的位置,解会有一个弱间断。-Will solve the partial differential equations and local mesh refinement simple combinations together. Used equation is a quadratic coefficient of containing discontinuous elliptic equations, the location of discontinuity in the coefficient, there will be a weak solution of continuity.
- 2022-05-26 19:00:46下载
- 积分:1