摘要: 题目描述 Description 给出字符串a和字符串b,保证b是a的一个子串,请你输出b在a中第一次出现的位置。 输入描述 Input Description 仅一行包含两个字符串a和b 输出描述 Output Description 仅一行一个整数 样例输入 Sample Input abcd 阅读全文
posted @ 2016-02-18 17:04 DMoon 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 题目描述 Description 在农夫约翰的农场上,每逢下雨,Bessie最喜欢的三叶草地就积聚了一潭水。这意味着草地被水淹没了,并且小草要继续生长还要花相当长一段时间。因此,农夫约翰修建了一套排水系统来使贝茜的草地免除被大水淹没的烦恼(不用担心,雨水会流向附近的一条小溪)。作为一名一流的技师,农 阅读全文
posted @ 2016-02-18 16:19 DMoon 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Description The French author Georges Perec (1936–1982) once wrote a book, La disparition, without the letter 'e'. He was a member of the Oulipo group 阅读全文
posted @ 2016-02-18 16:17 DMoon 阅读(260) 评论(0) 推荐(0) 编辑