搜索资源列表
Tug og war.rar
- Tug of War A tug of war is to be arranged at the local office picnic. For the tug of war, the picnickers must be divided into two teams. Each person must be on one team or the other; the number of people on the two teams must not differ by more than
强盗分金算法
- 10名海盗抢得了窖藏的100块金子,并打算瓜分 这些战利品。这是一些讲*的海盗(当然是他们自己特有的*),他们的习惯 是按下面的方式进行分配:最厉害的一名海盗提出分配方案,然后所有的海盗(包 括提出方案者本人)就此方案进行表决。如果50%或更多的海盗赞同此方案,此方 案就获得通过并据此分配战利品。否则提出方案的海盗将被扔到海里,然后下提名 最厉害的海盗又重复上述过程-10 pirates seize a cache of 100 gold, and plan t
puker0411scott
- 这是一个练习链表的扑克牌程序,可以自动发牌,比较大小。如果想和计算机对战,只需要稍微改动一下程序即可。-This is a practice Chain cards procedures, it will automatically licensing, size comparison. If you want to, and computer war, only slightly modifying procedures.
3261
- zoj3261 Connections in Galaxy War 的源码,主要考察并查集,并要从后往前建图-source code of zoj3261 :Connections in Galaxy War ,mainly about union-find,and need to build graph from end to the beginning
Triangle-War
- poj上只有三道极小极大算法的习题,poj1085是其中之一,并做了相关优化,时间:63ms-solve the poj 1085
Assignments2-src
- 一个tic-tac-toe三子棋游戏的代码,可实现人工智能下法和人人对战下法。界面可扩展为n子棋并选择深度优先或者广度优先下法。-A tic-tac-toe three chess game code, and everyone can achieve artificial intelligence war dismount dismount. Interface can be extended to n-game and choose depth-first or breadth-first
