- C++、MFC源代码CSmartPtrsrc C++
- 可预置的8位计数器源程序 可预置的8位计数器程序的主要部分分析 #include <AT89X51.H> //器件配置文件 #define uchar unsigned char //变量类型的宏定义 #define uint unsigned int uchar code SEG7[10]={0x03
- aybook.cn_mapxzwxxjc1221 这是学习mapx的很好一套资料
- 读写pdf文件的程序开发库源码
- charge1215 利用winavr开发的一款三段式充电器的源码
- MessageBoard 1)匿名用户可以浏览留言内容
文件名称:超长正整数的加法
介绍说明--下载内容来自于网络,使用问题请自行百度
请设计一个算法来完成两个超长正整数的加法。
*问题分析与算法设计
首先要设计一种数据结构来表示一个超长的正整数,然后才
能够设计算法。
首先我们采用一个带有表头结点的环形链来表示一个非负的
超大整数,如果从低位开始为每 个数字编号,则第一位到第四
位、第五位到第八位...的每四位组成的数字,依次放在链表的
第一个、第二个、...结点中,不足4位的最高位存放在链表的最
后一个结点中,表头结点的值规定为-1。-requested to design a lgorithm to complete two long integer is the additive. * Analysis and design of the first algorithm to design a data structure to indicate a supernatural being rounded up before they can be designed algorithm. First, we used a table with the first node of the said circular chain to a large non-negative integers, starting from the low figures for each, the first one place to fourth, fifth to eighth places ... each consisting of four figures, followed on the List of the first, second,. .. node, less than the maximum four-stored in a linked list of nodes Finally, the table first node provides for the value -1.
*问题分析与算法设计
首先要设计一种数据结构来表示一个超长的正整数,然后才
能够设计算法。
首先我们采用一个带有表头结点的环形链来表示一个非负的
超大整数,如果从低位开始为每 个数字编号,则第一位到第四
位、第五位到第八位...的每四位组成的数字,依次放在链表的
第一个、第二个、...结点中,不足4位的最高位存放在链表的最
后一个结点中,表头结点的值规定为-1。-requested to design a lgorithm to complete two long integer is the additive. * Analysis and design of the first algorithm to design a data structure to indicate a supernatural being rounded up before they can be designed algorithm. First, we used a table with the first node of the said circular chain to a large non-negative integers, starting from the low figures for each, the first one place to fourth, fifth to eighth places ... each consisting of four figures, followed on the List of the first, second,. .. node, less than the maximum four-stored in a linked list of nodes Finally, the table first node provides for the value -1.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
超长正整数的加法.txt
www.dssz.com.txt
www.dssz.com.txt
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
