乘式还原

所属分类:Windows编程
开发工具:C/C++
文件大小:1KB
下载次数:3
上传日期:2005-12-09 12:22:02
上 传 者沧海遗梦
说明:  A代表数字0到9中的前五个数字,Z代表后五个数字,请还原 下列乘式。 A Z A × A A Z ------------ A A A A A A Z Z Z A A ------------ Z A Z A A *问题分析与算法设计 问题本身并不复杂,可以对乘式中的每一位使用穷举法,最 终可以得到结果。本题的关键在于怎样有效的判断每个部分积的 每一位是否满足题意,这一问题处理不好,编写的程序会很长。 程序实现中采用了一个判断函数,通过传入函数的标志字符串对 所有的数进行统一的判断处理。
(0-9 in the first five digits, Z, after five figures, would reinstate the following multiplier formula. A Z-A A A Z------ A A A A Z Z------ A A A Z* Analysis design problems with the algorithm itself is not complicated and can take every type of use of an exhaustive law, the final results can be. This is the key to judging how effective each part of the plot of each one intended to satisfy that, the problem is not handled well, the preparation process will be very long. Program adopted a judgment function, function through the introduction of a symbol for all string a few unified handling of judgment.)

文件列表:
乘式还原.txt (3121, 2005-12-09)

近期下载者

相关文件


收藏者