-
youxiangtu
编写C程序,随机给出n*n的邻接矩阵,并打印输出邻接矩阵,以及有向图的边的个数,每个顶点的度,并判断该图中是否存在Euler回路:
(1)如果为n阶,则随机产生一个n*n的邻接矩阵;
(2)输出邻接矩阵,边的个数,每个顶点的度以及图中是否存在Euler回路。
这个题目涉及到了两个主要的知识点,一个是数据结构中的有向图的邻接矩阵的创建,还有就是离散数学中的Euler回路的判定定理。(The preparation of C procedures, were randomly given n* n s adjacency matrix and adjacency matrix printouts, as well as to map the number of edges, each vertex degrees, and determine the existence of the map Euler circuit: (1) If for n-order, then randomly generated a n* n adjacency matrix (2) output adjacency matrix, the number of edges, each vertex of degree as well as map the existence of Euler circuit. This topic relates to two main points of knowledge, a data structure of digraph adjacency matrix of creation, there is discrete mathematics in the loop to determine Euler theorem.)
- 2008-06-14 02:33:57下载
- 积分:1
-
list
链表的基本功能实现链表的各种基本功能,初学者使用(The basic functions of the list)
- 2011-06-01 21:07:30下载
- 积分:1
-
yan
VB to achieve real multi-threaded operation of the code can go
- 2018-12-03 15:33:52下载
- 积分:1
-
key_strike
后台发送按键小程序。可以将指定按键命令发送到指定窗口。(Background Send button applet. Designated key commands can be sent to the specified window.)
- 2013-03-10 10:44:12下载
- 积分:1
-
ymd
输入年月日得出星期,按照代码里面的提示输入就可以得到星期几,输入的年份是有一个范围的,输入没有检错处理的!!!(Enter the date come weeks)
- 2013-01-13 19:53:28下载
- 积分:1
-
RMBCount
房子揭计算器项目文件,可以以等额或等本方式进行计算出每笔的本金和利息。(House mortgage calculator project file can be equal or equivalent calculated in this way each of the principal and interest.)
- 2013-07-28 22:07:23下载
- 积分:1
-
COM_PORT_SETTING
说明: 在EVC4.0环境下,设置串行通讯端口程序例(The EVC4.0 environment, set up procedures for cases of serial communication ports)
- 2009-08-27 13:47:41下载
- 积分:1
-
166322cb40b7
利用VC编写的井地地震层析成像的小程序,含正演与反演两个部分,并有插值成图的代码,希望对大家有所帮助(Borehole seismic tomography, a small program written with VC, with the forward and inverse two parts, and interpolation mapping code, we hope to help)
- 2012-04-17 16:56:58下载
- 积分:1
-
STSFX.
计算机移动设备的管理,开启,禁用USB设备、U盘、软驱、光驱(Computer, mobile device management, open, disable the USB device, U disk, floppy, CD-ROM)
- 2020-07-30 15:38:37下载
- 积分:1
-
The-analog-phone-book
模拟电话本,本程序是初学C++时候写得,作为初学者的参考(The analog phone book, this program is the beginner C++ when written, as a reference for beginners)
- 2013-03-19 22:28:40下载
- 积分:1