-
Common-multiple-of-three-numbers
本源代码用三种不同的方法对三个数求最小公倍数,分别是循环穷举法,短除法和函数嵌套法。(
Common multiple of three numbers
Circular exhaustion
Short division
Function nesting)
- 2013-11-06 16:38:45下载
- 积分:1
-
zoj1094
zoj094
Matrix multiplication problem is a typical example of dynamical programming.
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. However, the number of elementary multiplications needed strongly depends on the evaluation order you choose.
For example, let A be a 50*10 matrix, B a 10*20 matrix and C a 20*5 matrix.
There are two different strategies to compute A*B*C, namely (A*B)*C and A*(B*C).
The first one takes 15000 elementary multiplications, but the second one only 3500.
Your job is to write a program that determines the number of elementary multiplications needed for a given evaluation strategy.
(Matrix multiplication problem is a typical example of dynamical programming.
Suppose you have to evaluate an expression like A*B*C*D*E where A,B,C,D and E are matrices. Since matrix multiplication is associative, the order in which multiplications are performed is arbitrary. However, the number of elementary multiplications needed strongly depends on the evaluation order you choose.
For example, let A be a 50*10 matrix, B a 10*20 matrix and C a 20*5 matrix.
There are two different strategies to compute A*B*C, namely (A*B)*C and A*(B*C).
The first one takes 15000 elementary multiplications, but the second one only 3500.
Your job is to write a program that determines the number of elementary multiplications needed for a given evaluation strategy.
)
- 2012-06-10 10:38:53下载
- 积分:1
-
GTree
可利用的GTree源码,直接调用,对函数进行了包装,无须更改。(Available GTree source, a direct call on the packaging function, no need to change.)
- 2014-04-15 09:12:32下载
- 积分:1
-
test
AMF协议解析工具,适合初学者查看amf协议结构。通过源码来修改测试amf协议(The AMF protocol analysis tool, suitable for beginners View amf protocol structure. Source code to modify the test amf protocols)
- 2012-10-16 11:19:37下载
- 积分:1
-
iPhone-SDK-Application-Development
苹果手机软件官方的开发手册,总共14个章节(iPhone SDK Application Development)
- 2014-06-30 00:54:43下载
- 积分:1
-
腐蚀,膨胀,细化算法
说明: 基于C程序的图像腐蚀,图像膨胀,细化算法代码,供大家参考。(The image erosion based on the C program, the image expansion, and the algorithm code are refined for your reference.)
- 2020-04-04 12:06:53下载
- 积分:1
-
listtest
修改list 列名称 adsfasdf(asdfasdf)
- 2009-03-04 13:03:15下载
- 积分:1
-
回调禁止远程线程注入
说明: 64位驱动程序 通过系统提供的线程回调 防止远程线程注入(64-bit driver prevents remote thread injection through thread callback provided by the system)
- 2020-09-18 11:37:53下载
- 积分:1
-
dianzicidian
一个简单的电子词典,能实现中英互译,不带数据库(a simple dictionary without data library)
- 2013-11-23 14:32:48下载
- 积分:1
-
光模块芯片资料 02077-DSH-002-A(Hymax)
光模块芯片资料,包含芯片配置的各项说明。(Optical module chip information, including chip configuration instructions.)
- 2020-06-25 04:00:02下载
- 积分:1