python join 和 split方法的使用,join用来连接字符串,split恰好相反,拆分字符串的。1.join用法示例>>>li = ['my','name','is','bob']>>>' '.join(li) #用空格把列表连接起来,所以就成了一个字符串了'my name is bob...
分类:
编程语言 时间:
2015-01-13 15:40:50
阅读次数:
144
DescriptionBob and Alice play a game, and Bob will play first.Here is the rule of the game:1) There are N stones at first;2) Bob and Alice take turns ...
分类:
其他好文 时间:
2015-01-13 01:25:33
阅读次数:
2234
1798. Alice and Bob
Description
Bob is very famous because he likes to play games. Today he puts a chessboard in the desktop, and plays a game with Alice. The size of the chessboard is...
分类:
其他好文 时间:
2015-01-12 17:42:34
阅读次数:
174
http://codeforces.com/problemset/problem/19/D
Description
Pete and Bob invented a new interesting game. Bob takes a sheet of paper and locates a Cartesian coordinate system on it as follows:...
分类:
其他好文 时间:
2015-01-07 23:36:51
阅读次数:
168
http://codeforces.com/problemset/problem/19/C
Once Bob saw a string. It contained so many different letters, that the letters were marked by numbers, but at the same time each letter ...
分类:
其他好文 时间:
2015-01-07 23:36:29
阅读次数:
221
http://codeforces.com/problemset/problem/19/B
Bob came to a cash & carry store, put n items into his trolley, and went to the checkout counter to pay. Each item is described by its price ci and...
分类:
其他好文 时间:
2015-01-07 23:35:14
阅读次数:
138
DH密钥交换和ECDH原理 时间 2013-06-24 18:50:55 CSDN博客 相似文章 (0) 原文 http://blog.csdn.net/sudochen/article/details/9164427 下面我们以Alice和Bob为例叙述Diffie-Hellman密钥交换的原理....
分类:
其他好文 时间:
2015-01-06 17:48:32
阅读次数:
223
http://www.youdzone.com/signature.htmlWhat is a Digital Signature?An introduction to Digital Signatures, by David Youd Bob ...
分类:
其他好文 时间:
2015-01-05 18:11:10
阅读次数:
148
http://codeforces.com/problemset/problem/18/D
Last year Bob earned by selling memory sticks. During each of n days of his work one of the two following events took place:
A customer came t...
分类:
其他好文 时间:
2015-01-04 19:21:42
阅读次数:
217
Description
输出n个字符串,把其中以字母A打头的字符串输出。
Input
第一行 n
第二行到第n+1行,每行一个字符串
Output
A打头的字符串
Sample Input
3
Ada
Bob
Alice
SampleOutput
Ada
Alice
代码如下:
#include
#include
using namespac...
分类:
其他好文 时间:
2015-01-03 09:26:56
阅读次数:
270