登录
首页 » Visual C++ » EULER1

EULER1

于 2006-03-29 发布 文件大小:60KB
0 245
下载积分: 1 下载次数: 0

代码说明:

说明:  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.)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • DX Project 44
    一个DX的小程序(a small program)
    2005-02-04 13:56:41下载
    积分:1
  • HDraw
    使用VC++实现画板功能,使用MFC编程实现。内含有程序源代码。(Use VC++ achieve Sketchpad features, use MFC programming. Contained within the source code.)
    2013-12-06 18:12:55下载
    积分:1
  • WangEPD
    基于短时能量和短时过零率来实现语音端点检测。也称为双门限比较法,是一种传统的 语音端点检测方法。现在已经有研究人员提出若干其他更加高效和有效的检测方法,但 是这个方法不失为一种最简单的方法,可以通过程序来获得语音端点检测的感性认识和 体会。内的程序读取WAV文件,程序附有详细的使用说明和注释,以及若干测试用的语音文件。(Based on the short-term and short-term energy to achieve zero rate of voice activity detection. Also known as dual-threshold comparison method, is a traditional method of voice activity detection. Researchers now have made a number of other more efficient and effective detection methods, but this method may be one of the most simple way to get through the process of voice activity detection and the experience of perceptual knowledge. Procedures within the WAV file to read, procedures with detailed instructions and notes, as well as the voice of a number of test documents.)
    2009-07-11 20:32:45下载
    积分:1
  • liujiaopei
    MFC窗体程序,计算机图形学,在视窗中显示文字并可以移动。(MFC form, computer graphics, display text in a window and can be moved.)
    2014-01-02 22:47:46下载
    积分:1
  • PrintCtrl
    打印机控制,C++的动态库,编译过,好用(print control)
    2020-11-29 09:39:29下载
    积分:1
  • shibiao
    水表数字识别主要对指针式水表进行数字识别(shui biao shu zi shibie)
    2016-10-17 15:59:23下载
    积分:1
  • Desktop
    绘制entity,visual studio下的MFC下的openGL下的程序(render entity)
    2013-10-25 20:58:54下载
    积分:1
  • CacheManager
    说明:  高效的内存管理机制和原理的分析,电子书籍,好资料(Efficient memory management mechanisms and principles of analysis, e-books, and good information)
    2009-07-21 23:01:27下载
    积分:1
  • WashU-Research-0.1
    本程序是基于平面图对建筑规模场景进行三维重建。(This procedure is based on the floor plan for the construction scale of the three-dimensional reconstruction of the scene.)
    2017-08-17 14:31:43下载
    积分:1
  • StockManager
    自己编的基金管理系统,用vc编写,当时学管理信息系统时写的,还有实验报告(Compile their own fund management system, with vc writing, school management information system was written, as well as experimental report)
    2009-11-01 22:43:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载