码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
python之再学习----简单的列表(1)
print("today to learn the list")# 列表由一系列按特定顺序排列的元素组成。你可以创建包含字母,0-9的数字,所有家庭成员的姓名的列表。# 鉴于列表一般都是包含很多东西的,所以名字一般是以复数形式出现, letters, digits, names 像这样的# 在pyt ...
分类:编程语言   时间:2018-02-23 22:12:42    阅读次数:125
Spoj LCS2 - Longest Common Substring II
题目描述 A string is finite sequence of characters over a non-empty finite set Σ. In this problem, Σ is the set of lowercase letters. Substring, also call ...
分类:其他好文   时间:2018-02-22 14:09:28    阅读次数:139
Spoj NSUBSTR - Substrings
题目描述 You are given a string S which consists of 250000 lowercase latin letters at most. We define F(x) as the maximal number of times that some string ...
分类:其他好文   时间:2018-02-21 20:47:43    阅读次数:137
电话号码的字母组合 · Letter Combinations of a Phone Number
[抄题]: Given a digit string excluded 01, return all possible letter combinations that the number could represent. A mapping of digit to letters (just l ...
分类:其他好文   时间:2018-02-20 16:23:15    阅读次数:142
Python3 数据结构
列表 Python中列表是可变的,这是它区别于字符串和元组的最重要的特点,一句话概括即:列表可以修改,而字符串和元组不能。 以下是 Python 中列表的方法: 下面示例演示了列表的大部分方法: 注意:类似 insert, remove 或 sort 等修改列表的方法没有返回值。 将列表当做堆栈使用 ...
分类:编程语言   时间:2018-02-20 10:37:02    阅读次数:206
Python简单实现产生随机位数的密码及注意事项小结
Python简单实现产生随机位数的密码#!/usr/bin/python#coding:utf-8#产生任意位数的随机密码importrandom,string#导入随机数和字符串模块x=string.digits+string.letters#将数字和字母的字符串组合赋值给变量xpasswd=‘‘#原始密码变量是空a=int(raw_input(‘请输入密码位数:'
分类:编程语言   时间:2018-02-09 15:39:07    阅读次数:192
CodeForces - 19C Deletion of Repeats(离散化)
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 could be met ...
分类:其他好文   时间:2018-02-05 12:47:47    阅读次数:477
PAT 1087. All Roads Lead to Rome
Indeed there are many different tourist routes from our city to Rome. You are supposed to find your clients the route with the least cost while gainin ...
分类:其他好文   时间:2018-02-04 14:41:00    阅读次数:150
UVa -- 401 Palindromes
UVa-401 Palindromes Description A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string " ...
分类:其他好文   时间:2018-02-02 20:17:22    阅读次数:179
FreeCodeCamp( FCC)前端工程师 中级算法练习 分析与解答(全)(精)
[TOC] 说在前面 这是要一篇非常简单的新手能看懂的文章,希望你喜欢。由于在 freecodecamp 中 貌似!? 无法使用 的某些语法,未测试具体。所以基本上用 古老?! 的 写成,谢谢。在写本博文前没有参考过别人的做法,纯手打,我的方法肯定不是最好,只是以我自己喜欢的方式在写而已。 纯原创, ...
分类:编程语言   时间:2018-02-01 20:36:53    阅读次数:191
1345条   上一页 1 ... 38 39 40 41 42 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!