题意:一开始有一个集合,集合里有n个不同的数,然后Alice(娜娜)与Bob轮流进行操作,每人都可以任意选择两个数a,b,不妨设a>b,不过要求a-b不在集合中,把a-b放入集合(集合元素个数只增不减)。如果轮到某人,无法进行任何操作,则该人输掉游戏。当Alice(娜娜)与Bob都沿着最优策略进行,...
分类:
其他好文 时间:
2015-07-20 01:11:33
阅读次数:
233
最大流量POJ 1273 Drainage DitchesPOJ 1274 The Perfect Stall (二分图匹配)POJ 1698 Alice's Chance(构图)POJ 1459 Power Network(构图)POJ 2112 Optimal Milking (二分)POJ ....
分类:
其他好文 时间:
2015-07-17 20:34:26
阅读次数:
135
Problem Description
Alice and Bob are playing a game on an undirected graph with n (n is even) nodes and m edges. Every node i has its own weight Wv, and every edge e has its own weight We.
They...
分类:
其他好文 时间:
2015-07-17 19:00:04
阅读次数:
111
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=4791
题面:
Alice's Print Service
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1596 Acc...
分类:
其他好文 时间:
2015-07-16 22:24:53
阅读次数:
121
Problem Description
Alice and Bob are playing a kind of special game on an N*M board (N rows, M columns). At the beginning, there are N*M coins in this board with one in each grid and every coin ma...
分类:
其他好文 时间:
2015-07-14 13:37:50
阅读次数:
135
A New Stone GameTime Limit: 1000MS Memory Limit: 30000K
Total Submissions: 5113 Accepted: 2806 Description
Alice and Bob decide to play a new stone game.At the beginning of the game they pick...
分类:
其他好文 时间:
2015-07-11 12:15:02
阅读次数:
165
一次会话,发邮件,用户和用户之间的数据加密Bob生成数据Bob用单向加密数据生成特征码Bob用自己的私钥加密特征码放在数据后面Bob用临时会话密钥加密特征码和数据Bob用对方的公钥加密临时密钥Alice用私钥解密获取对称密钥Alice用对称密钥解密整个数据Alice用Bob的公钥解密特征码Alice...
分类:
其他好文 时间:
2015-07-08 00:13:18
阅读次数:
112
Little Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. Look, I've built a wall!'', he tells his older sister Alice.Nah, you should m...
分类:
其他好文 时间:
2015-07-06 14:20:37
阅读次数:
183
安装好Node.js,打开Node.js command prompt。1. 建立工程目录。 F:/Alice/Project cd F:/Alice/Project2.安装express npm install -g express npm install -g express-generator...
分类:
Web程序 时间:
2015-07-01 22:07:46
阅读次数:
135
字典是另一种可变容器模型,且可存储任意类型对象dict = {'Alice': '2341', 'Beth': '9102', 'Cecil': '3258'}1、访问字典里的值print "dict['Beth']: ", dict['Beth'];2、修改字典dict['Beth'] = 83、...
分类:
其他好文 时间:
2015-06-30 20:10:35
阅读次数:
110