Codeforces 708A Letters Cyclic Shift ...
分类:
其他好文 时间:
2018-12-30 20:24:22
阅读次数:
206
一、问题描述 We are given two arrays A and B of words. Each word is a string of lowercase letters. Now, say that word b is a subset of word a if every lette ...
分类:
其他好文 时间:
2018-12-28 15:28:05
阅读次数:
230
真的搞不懂冠词的用法,吐血。。。 # 不是语法上说可数名词前面必须要加定冠词或不定冠词吗?那为什么卷子的有些句子没有加?可是语法书上说,可数名词前必须要加定冠词或不定冠词,不可数名词前要加定冠词!比如举几个我在卷子看到的句子.They are playing cards.card是可数名词啊,为什么 ...
分类:
其他好文 时间:
2018-12-27 22:55:08
阅读次数:
125
题目描述 Bamboo recently bought an owl for sending and receiving letters. Every owl will bring a letter to exactly one person, so normally Bamboo's owl wi ...
分类:
编程语言 时间:
2018-12-27 00:39:23
阅读次数:
184
python生成随机数、随机字符串 import randomimport string # 随机整数:print random.randint(1,50) # 随机选取0到100间的偶数:print random.randrange(0, 101, 2) # 随机浮点数:print random. ...
分类:
编程语言 时间:
2018-12-18 22:43:20
阅读次数:
321
A sentence S is given, composed of words separated by spaces. Each word consists of lowercase and uppercase letters only. We would like to convert the ...
分类:
其他好文 时间:
2018-12-18 11:07:44
阅读次数:
128
涨rating啦。。 不过话说为什么有这么多数据结构题啊,难道是中国人出的? A Dice Rolling 傻逼题,可以用一个三加一堆二或者用一堆二,那就直接。。 B Letters Rearranging 统计一下如果全部相同输出 1,否则排个序就好了。 cpp include include i ...
分类:
其他好文 时间:
2018-12-16 23:39:46
阅读次数:
297
You are given a non-empty string s consisting of lowercase English letters. You have to pick exactly one non-empty substring of s and shift all its le ...
分类:
其他好文 时间:
2018-12-16 18:13:24
阅读次数:
112
import string print(string.ascii_letters)#大小写所有字母abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ print(string.ascii_lowercase) #所有小写字母 abcdefghij... ...
分类:
编程语言 时间:
2018-12-15 19:48:08
阅读次数:
231
Implement a trie with insert, search, and startsWith methods. Notice You may assume that all inputs are consist of lowercase letters a-z. Implement a ...
分类:
其他好文 时间:
2018-12-15 10:27:01
阅读次数:
134