-
EULER1
说明: Euler 回路问题
.问题描述:
对于给定的图G 和G 中的2 个顶点v 和w,连接顶点v 和w 且经过图中每条边恰好1 次
的路径称为顶点v 和w 之间的1 条Euler 路。当v=w 时得到一条首尾相接的Euler 回路。
.编程任务:
对于给定的图G,编程计算图G 的一条Euler 回路。
.数据输入:
由文件input.txt 给出输入数据。第1 行有2 个正整数n 和m,表示给定的图G 有n 个
顶点和m 条边,顶点编号为1,2,…,n。接下来的m 行中,每行有2 个正整数u,v ,表示
图G 的一条边(u,v) 。
.结果输出:
将编程计算出的Euler 回路输出到文件output.txt 。如果不存在Euler 回路,则输出-1。(Euler circuit problem. Problem description : for a given graph G and G of two vertices v, w, connectivity and vertex v w map through which each side precisely the path to a meeting called vertices v, w between a Euler Road. When v = w be an end-to-end circuit Euler. . Programming tasks : for a given graph G, programming terms of a graph G Euler circuit. . Data input : from the document input.txt given input data. Line 1 has two positive integers n and m, to the graph G with n vertices and m edges and vertices numbered 1, 2, ..., n. Next m OK, every trip has two positive integer u, v, said of a graph G edge (u, v). . Results output : Programming will be calculated by Euler circuit output to a file output.txt. If there is no Euler circuit, the output 1.)
- 2006-03-29 21:31:15下载
- 积分:1
-
Qbot资料
说明: 巡线小车 基于pid算法 光电传感器 可以平稳运行 含有led屏(line follower with pid control)
- 2019-05-25 17:25:28下载
- 积分:1
-
最小化托盘,客户端系统升级
最小化托盘,客户端系统升级
1、最新化拖托盘
2、下载远程服务器新版本系统,
3、解压覆盖
- 2022-03-16 02:13:46下载
- 积分:1
-
GuideViewController
实现从用户引导界面到主界面的 过度功能,流程是:
1.从splash画面过渡到引导画面;
2.引导画面放置5张图片,5张图片介绍应用的功能使用点;
3.用户可左右滑动图片,当滑动到最后一张时,画面出现一个点击按钮“进入”;
4.点击进入按钮有开门效果,打开门后进入到主界面。(Boot from the user interface to the main interface over the process: the transition from the splash screen to the boot screen boot screen is placed 5 pictures 5 pictures describes the application of function point-of-use 3. Sliding around pictures, slide to the last one, the screen appears a click of a button " entry" 4 Click the button to open the door effect, opened the door into the main interface.)
- 2013-04-27 20:47:26下载
- 积分:1
-
anintroductiontogcc
perfect gcc book for using system and tutorial , youcan using it as a good book to learing
- 2006-04-11 02:01:35下载
- 积分:1
-
tongxunlu
通讯录系统,有导入并保存数据的功能,还有增删查改(And import in the address book system, and the function of the data, and add or delete check instead)
- 2016-06-20 21:17:25下载
- 积分:1
-
FingerGestures v3.1
方便的实现手指触控相关的功能,虚拟摇杆,模型旋转等。(It is convenient to realize finger touch related functions.)
- 2017-12-04 10:32:14下载
- 积分:1
-
ProE开发代码
Proe二次开发,有关特征的代码。其中包含各种功能函数,仅供参考,在实际应用时,请根据情况调试,以适应实际需要。
- 2022-01-24 17:39:08下载
- 积分:1
-
electromagnetic-radiation
电磁射线理论的经典教材,通信信道仿真必备(Classic textbook theory of electromagnetic radiation, an essential communication channel simulation)
- 2013-12-04 12:50:57下载
- 积分:1
-
fox-1.4.35
this is fox toolkit (c++)
- 2013-05-18 23:29:09下载
- 积分:1