-
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
-
Jesephus.rar
说明: 解决约瑟夫环的问题,并输出出圈的顺序。约瑟夫环的大小是任意的。(Joseph Ring solve problems, and the output of the loop sequence. Joseph ring size is arbitrary.)
- 2008-11-16 18:37:28下载
- 积分:1
-
vb-opc
vb opc labview vb通过labview的opc接口自动连接plc的程序(vb opc labview)
- 2011-12-09 15:38:52下载
- 积分:1
-
VIEWNC
这是用VB写的数控G代码读取,编译,并显示。给做数控系统的朋友做参考。(It is written in VB CNC G-code read, compile, and displayed. CNC system to make a friend for reference.)
- 2013-08-28 11:02:26下载
- 积分:1
-
www
j简单的一个计算器C++源代码,乱七八糟了,随便(j simple calculator C++ source code, Messy, and not)
- 2007-07-14 13:37:24下载
- 积分:1
-
inv
用来求两个实数之间的相乘,调用方法具体见程序(Be used to seek a multiplication between two real numbers)
- 2013-07-30 10:42:50下载
- 积分:1
-
ExcelClass
excel文件操作源代码,用OLE实现的(excel file manipulation source code, using OLE realize the)
- 2008-05-23 09:54:17下载
- 积分:1
-
OnscreenKeyboard_src
一个模拟鼠标键盘输入的例子(-An example about how to similar to the input of mouse and keyboard)
- 2003-10-21 21:22:59下载
- 积分:1
-
jisuanqichengxu
这是vb编写的计算器的源代码,比较容易懂,比较实用(This is the preparation of the calculator vb source code, it was relatively easy to understand, more practical)
- 2009-06-03 23:24:31下载
- 积分:1
-
TestCalculatorDemo
这是自己编写的一个简易计算器,用于加减乘除计算,还有百分比和平方。(I have written a simple calculator for arithmetic calculations, as well as percentages and square.)
- 2013-11-16 20:02:17下载
- 积分:1