echo "aGsdff:bDEf" >>employees root@ubuntu:/home/koyaku# sed 's/\([^,]*\):\([^,]*\)/\U\1\L\2/' employees Jones,Bob,232-78-3456Jackeson,Jane,,Federer,J ...
分类:
其他好文 时间:
2017-07-16 10:10:13
阅读次数:
163
# create a dictionary students = {"Alice": 24, "Bob": 26, "Clark": 23, "Dan": 28, "Emma": 31} # add entry to a dictionary students['Fred'] = 27 # alte... ...
分类:
编程语言 时间:
2017-07-15 00:00:51
阅读次数:
257
该题也能在codevs上找到,ID3153 这是一道经典的博弈论的题 有两种做法,一个就是用sg函数,另一个嘛 看下面就知道了。 本文由Yzyet编写,网址为www.cnblogs.com/Yzyet。非Yzyet同意,禁止转载,侵权者必究。 ...
分类:
其他好文 时间:
2017-07-14 17:34:06
阅读次数:
124
#-*- coding:UTF-8 -*- #for .... in 循环 names=['Michel','Bob','Tracy'] for name in names: print name #for x in ... 把每个元素代入变量 x sum =0 for x in [1,2,3,4,... ...
分类:
编程语言 时间:
2017-07-14 16:44:26
阅读次数:
144
列表、元祖操作 列表 语法: name = ['jack', 'tom', 'bob'] 列表切片 列表切片的特点是“顾头不顾尾” 追加 插入 修改 删除 扩展 拷贝 统计 排序和反转 获取索引 元祖 元祖又称为可读的列表,一但创建不能修改,它只有2个方法,一个是count,一个是index 语法: ...
分类:
编程语言 时间:
2017-07-14 15:01:59
阅读次数:
142
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-13 21:55:36
阅读次数:
227
Alice and Bob got very bored during a long car trip so they decided to play a game. From the window they can see cars of different colors running past ...
分类:
其他好文 时间:
2017-07-08 00:28:40
阅读次数:
298
【BZOJ4605】崂山白花蛇草水 Description 神犇Aleph在SDOI Round2前立了一个flag:如果进了省队,就现场直播喝崂山白花蛇草水。凭借着神犇Aleph的实力,他轻松地进了山东省省队,现在便是他履行诺言的时候了。蒟蒻Bob特地为他准备了999,999,999,999,99 ...
分类:
其他好文 时间:
2017-07-07 22:40:09
阅读次数:
213
题目描述 神犇Aleph在SDOI Round2前立了一个flag:如果进了省队,就现场直播喝崂山白花蛇草水。凭借着神犇Aleph的实力,他轻松地进了山东省省队,现在便是他履行诺言的时候了。蒟蒻Bob特地为他准备了999,999,999,999,999,999瓶崂山白花蛇草水,想要灌神犇Aleph。 ...
分类:
其他好文 时间:
2017-07-07 22:32:39
阅读次数:
181
D_num Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Problem Description Oregon Maple was waiting for Bob When Bob g ...
分类:
编程语言 时间:
2017-07-02 21:10:12
阅读次数:
312