搜索资源列表
car-parking
- 该程序主要实现停车场的模拟管理。总共使用了一个队列俩个堆栈。其中一个堆栈用来描述停车场,另一个堆栈是一个临时堆栈,用于存放从停车场出场的汽车。队列用于存放在便道等候入场停车的车辆。-this program mainly used for simulating car-parking.there are two stacks and a queue.the first stack used for the park,the second is used to park cars for temp
startup
- 电脑鼠程序 用于走迷宫的电脑鼠的出场源程序-Maze procedure for the computer mouse computer mouse playing source
田忌赛马问题
- 田忌与齐王赛马,双方各有n匹马参赛(n<=100),每场比赛赌注为1两黄金,现已知齐王与田忌的每匹马的速度,并且齐王肯定是按马的速度从快到慢出场,现要你写一个程序帮助田忌计算他最好的结果是赢多少两黄金(输用负数表示)。(Tian and the king's horse racing, the two sides each have n horse (n < = 100), each match bet 1 two gold, are now known to the king of
