Alice and Bob decide to play a funny game. At the beginning of the game they pick n(1 <= n <= 10 6) coins in a circle, as Figure 1 shows. A move consi ...
分类:
其他好文 时间:
2017-07-25 22:27:50
阅读次数:
181
Description Bob and Alice started to use a brand-new encoding scheme. Surprisingly it is not a Public Key Cryptosystem, but their encoding and decodin ...
分类:
其他好文 时间:
2017-07-25 14:25:26
阅读次数:
209
Alice and Bob love playing one-dimensional battle ships. They play on the field in the form of a line consisting of n square cells (that is, on a 1?×? ...
分类:
其他好文 时间:
2017-07-23 15:27:18
阅读次数:
164
HDU3032 Nim or not Nim 解题报告:思路与证明 胡明晓 Description Alice and Bob is tired of playing Nim under the standard rule, so they make a difference by also all ...
分类:
其他好文 时间:
2017-07-22 22:20:26
阅读次数:
169
Palindrome Names Kattis - names Anna and Bob are having a baby. They both enjoy the advantage of having palindrome names, meaning that their names are ...
分类:
其他好文 时间:
2017-07-18 23:14:56
阅读次数:
266
Painting Storages Time Limit: 2 Seconds Memory Limit: 65536 KB There is a straight highway with N storages alongside it labeled by 1,2,3,...,N. Bob as ...
分类:
其他好文 时间:
2017-07-18 21:31:40
阅读次数:
157
【例子:001】判断输入为数字,字符或其他 【例子:002】求平均数 【例子:003】自减输出 【例子:004】在文件中添加前缀 # 人名列表 # cat namelist Jame Bob Tom Jerry Sherry Alice John # 脚本程序 # cat namelist.sh # ...
分类:
系统相关 时间:
2017-07-18 18:52:21
阅读次数:
235
G. The jar of divisors Alice and Bob play the following game. They choose a number N to play with. The rules are as follows: - They write each number ...
分类:
其他好文 时间:
2017-07-17 21:58:16
阅读次数:
129
时间限制:10000ms 单点时限:1000ms 内存限制:256MB 某个夜晚,Bob将他弹奏的钢琴曲录下来发给Jack,Jack感动之余决定用吉他为他伴奏。 我们可以用一个整数表示一个音符的音高,并可认为Bob弹奏的曲子是由3N个整数构成的一个序列。其中每个整数的取值范围是[-200, 200] ...
分类:
其他好文 时间:
2017-07-16 20:22:45
阅读次数:
210
#Auther Bob #--*--conding:utf-8 --*-- #这里的变量全部都是实例变量 class Role(object): def __init__(self,name,role,wepon,life_value): #实例变量 self.name = name self.ro... ...
分类:
编程语言 时间:
2017-07-16 12:34:50
阅读次数:
225