文件名称:Shortest_path_counting
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:207.44kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
acm算法设计:
描述:
国际象棋车可以水平或垂直的任何方在同一行或同一列的棋盘。
找到一些最短路径的一个车可以从一个角落里一个棋盘的斜对面角落。
输入:
一整数n为行数和列的棋盘。0 < n <=16
输出:
数量的最短路径。
例输入:
3或4
例输出:
6或20 -Descr iption:
A chess rook can move horizontally or vertically to any square in the same row or in the same column of a chessboard.
Find the number of shortest paths by which a rook can move from one corner of a chessboard to the diagonally opposite corner。
Input:
a interger number n is row and column of chessboard. 0 < n <=16
Output:
the number of shortest paths.
Sample Input:
3or4
Sample Output:
6or20
描述:
国际象棋车可以水平或垂直的任何方在同一行或同一列的棋盘。
找到一些最短路径的一个车可以从一个角落里一个棋盘的斜对面角落。
输入:
一整数n为行数和列的棋盘。0 < n <=16
输出:
数量的最短路径。
例输入:
3或4
例输出:
6或20 -Descr iption:
A chess rook can move horizontally or vertically to any square in the same row or in the same column of a chessboard.
Find the number of shortest paths by which a rook can move from one corner of a chessboard to the diagonally opposite corner。
Input:
a interger number n is row and column of chessboard. 0 < n <=16
Output:
the number of shortest paths.
Sample Input:
3or4
Sample Output:
6or20
相关搜索: Shortest_path_counting
Shortest path counting
Shortest path counti
ACM Shortest path counti
paths
Easy Counting a
A chess rook can move horizontally
shortest paths by which a rook can move from one c
ACM 算法
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Shortest path counting/Debug/Shortest path counting.exe
Shortest path counting/Debug/Shortest path counting.ilk
Shortest path counting/Debug/Shortest path counting.obj
Shortest path counting/Debug/Shortest path counting.pch
Shortest path counting/Debug/Shortest path counting.pdb
Shortest path counting/Debug/StdAfx.obj
Shortest path counting/Debug/vc60.idb
Shortest path counting/Debug/vc60.pdb
Shortest path counting/ReadMe.txt
Shortest path counting/Shortest path counting.cpp
Shortest path counting/Shortest path counting.dsp
Shortest path counting/Shortest path counting.dsw
Shortest path counting/Shortest path counting.ncb
Shortest path counting/Shortest path counting.opt
Shortest path counting/Shortest path counting.plg
Shortest path counting/StdAfx.cpp
Shortest path counting/StdAfx.h
Shortest path counting/Debug
Shortest path counting
Shortest path counting/Debug/Shortest path counting.ilk
Shortest path counting/Debug/Shortest path counting.obj
Shortest path counting/Debug/Shortest path counting.pch
Shortest path counting/Debug/Shortest path counting.pdb
Shortest path counting/Debug/StdAfx.obj
Shortest path counting/Debug/vc60.idb
Shortest path counting/Debug/vc60.pdb
Shortest path counting/ReadMe.txt
Shortest path counting/Shortest path counting.cpp
Shortest path counting/Shortest path counting.dsp
Shortest path counting/Shortest path counting.dsw
Shortest path counting/Shortest path counting.ncb
Shortest path counting/Shortest path counting.opt
Shortest path counting/Shortest path counting.plg
Shortest path counting/StdAfx.cpp
Shortest path counting/StdAfx.h
Shortest path counting/Debug
Shortest path counting
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.