资源列表
algorithm
- 文件列表
SuanFa
- 用java实现的堆栈结构,可以实现编译原理课程的构造文法分析器的功能-Realization of java stack structure, structure grammar parser compiler theory courses
Some-ergodic-map
- 已知n个城市,任意两个城市之间存在最多三种交通工具;每种交通方式产生的费用不一定相同,时间不同: 1算法实现周游这n个城市并且费用最少(写程序,其中n<=10) 2、在规定的时间里,同时考虑每种交通方式花费时间;在规定时间内,周游这n个城市且费用最少-Known n city, city exists between any two up to three vehicles each kind of transport charges are not necessarily th
shortest-path
- 最短路径分析,从任意一点到另一任意一点,道格拉斯算法-shortest path
data-structure
- 十分适合初学数据结构的同学,形象地演示了书中数据结构的算法-Very suitable for beginner students of data structures, vividly demonstrates the book data structure algorithm
airroute
- 航线选择问题 问题描述 某个国家有 N 个城市,分别编号为 1 到 N。旅行者通过该国的机场售票处了解到 N 个城市之间的所有航班,每个航班都有两个属性,航程和费用,航线是双向的。 旅行者的出发点是城市 1 ,他的目的地是城市 N ,由于飞机票的价格不菲,而旅行 者携带的现金又是十分有限,而他希望使用有限的现金,尽快到达目的地。 编程任务 帮助旅行者计算出,在他所携带现金的范围内,从出发点到目的地的最短距离-Route choice problems describe
bala
- 符号平衡问题 给定n(1<=n<=3,000,000)个整数a1,a2,…,an组成的序列,试设计一个O(n) 时间算法,计算其最长符号平衡段的长度-Symbol balance problems given n (1 < = n < = 3,000,000) integers a1, a2, ..., aN sequence of trial design of an O (n) time algorithm to calculate the equilibrium s
ser
- 服务转移问题 对于给定的有向直线L,计算在直线L 上增设两处服务机构的最小服务转移费用-The problem of transfer of services given to the straight line L, calculated on the straight line L Minimum Service transfer costs additional two service agencies
horse
- 田忌赛马问题 假设其中胜者可以从对方手中得到¥200,输者必须给对方¥200,平局各不付钱。 已知齐王总是按照速度从大到小派出马比赛,请问田忌要使用怎样的策略,才能使自己 赚的钱最多(或者输的钱最少)。 编程任务 对于给定的齐王和田忌的n 匹马的速度,求进行n场比赛后,田忌最多可以得到的钱(或 最少输的钱)。-Tian Ji' s horse assumptions which the winner can get ¥ 200 from the other hand
sudou
- 数独问题 对于数独填充游戏,我们要保证在每一行,每一列,每一个方块中数字1..9 都恰好出现 一次。 ★数据输入 供输入数据包括9 行9 列,由数字1..9 和‘.’构成,其中‘.’表示未填数字的格子。 输入数据保证解唯一存在。 ★数据输出 将程序运行结果输出9 行9 列,将数独的空白的格子用正确的数字填充。-Sudoku Sudoku filled game, we want to ensure that each row, each column, each bo
test
- inventory of vehicles
ZhanDeShiXian
- 栈的简单实现,简单的模仿了栈的各种操作,如压栈,出栈等等主要的栈实现的操作-Simple implementation of the stack, a simple imitation of a stack operation, as pushed on the stack, the stack so the main stack to achieve the operating
