- image_lossless_compression 图像无失真压缩源代码
- FP-growth算法C++实现 FP
- K9K8G08U0A_Filesystem_s3c2440based 本驱动使用s3c2440的NANDflash控制器操作K9K8G08U0A NANDFlash芯片(1G字节)
- inject 钩子程序
- AGC_control_for_two_area_system It includes an matlab simulation of AGC(Automatic Governor Control) of a 2 area system.the details of the system are given in the document file included in the Zip file
- phoenix_guardian elixir phoenix guardian example
文件名称:easy road
介绍说明--下载内容来自于网络,使用问题请自行百度
1.问题描述
若用无向图来表示高速公路网,其中顶点表示城市,边表示城市之间的高速公路,试设计一个找路程序,获取两个城市之间的所有简单路径。
2.输入数据
输入结点个数n,输入城市的编号,由于是四位数字,为了简便统一起见,设置为int类型,通过输入两个城市的编号表示这两个城市之间有高速公路。最后找路的时候输入两个城市的编号,表示该路的起点和终点。
3.输出数据
输出由城市编号组成的所有可能路径,类型为int型。(1. problem descr iption
If we use undirected graph to express expressway network, where vertices represent cities and express expressways between cities, we try to design a road finding program to get all the simple paths between two cities.
2. input data
The number of input nodes n, enter the number of the city, because it is four digit number, for the sake of simplicity and uniformity, it is set to int type. By entering the number of the two cities, there is a highway between the two cities. Finally, when looking for the road, enter the number of the two cities to indicate the starting point and the end point of the road.
3. output data
Output all possible paths composed of city numbers, type int.)
若用无向图来表示高速公路网,其中顶点表示城市,边表示城市之间的高速公路,试设计一个找路程序,获取两个城市之间的所有简单路径。
2.输入数据
输入结点个数n,输入城市的编号,由于是四位数字,为了简便统一起见,设置为int类型,通过输入两个城市的编号表示这两个城市之间有高速公路。最后找路的时候输入两个城市的编号,表示该路的起点和终点。
3.输出数据
输出由城市编号组成的所有可能路径,类型为int型。(1. problem descr iption
If we use undirected graph to express expressway network, where vertices represent cities and express expressways between cities, we try to design a road finding program to get all the simple paths between two cities.
2. input data
The number of input nodes n, enter the number of the city, because it is four digit number, for the sake of simplicity and uniformity, it is set to int type. By entering the number of the two cities, there is a highway between the two cities. Finally, when looking for the road, enter the number of the two cities to indicate the starting point and the end point of the road.
3. output data
Output all possible paths composed of city numbers, type int.)
(系统自动生成,下载前可以参看下载内容)
下载文件列表
| 文件名 | 大小 | 更新时间 |
|---|---|---|
| easy road\ey.txt | 67 | 2017-12-26 |
| easy road\lj.txt | 10 | 2017-12-27 |
| easy road\简单路径 (1).exe | 2103635 | 2017-12-27 |
| easy road\简单路径.cpp | 4656 | 2017-12-27 |
| easy road | 0 | 2017-12-27 |
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
