码迷,mamicode.com
首页 >  
搜索关键字:letter    ( 1667个结果
写一个函数,输入一个数,随机生成N条邮箱
写一个函数,这个函数的功能是,传入一个数字,产生N条邮箱,产生的手机号不能重复。邮箱前面的长度是6 - 12之间,产生的邮箱必须包含大写字母、小写字母、数字和特殊字符 import random import s... ...
分类:其他好文   时间:2018-12-02 22:55:55    阅读次数:386
Python的string模块
如果要使用string模块,需要先导入该模块 import string string.ascii_lowercase #打印所有的小写字母 string.ascii_uppercase #打印所有的大写字母 string.ascii_letters #打印所有的大小写字母 string.digit ...
分类:编程语言   时间:2018-12-01 20:22:08    阅读次数:246
js 验证
var regexEnum = { money: /^([1-9][0-9]*([\.]\d{1,2})?|0\.[1-9][0-9]?)$/, discount: /^(\d([\.]\d)?|0\.\d)$/, //匹配 0~9.9 之间的数字 intege:"^-?[1-9]\\d*$", / ...
分类:Web程序   时间:2018-11-30 14:02:35    阅读次数:240
bzoj1640 [Usaco2007 Nov]Best Cow Line 队列变换
Description FJ打算带着他可爱的N (1 ≤ N ≤ 2,000)头奶牛去参加”年度最佳老农”的比赛.在比赛中,每个农夫把他的奶牛排成一列,然后准备经过评委检验. 比赛中简单地将奶牛的名字缩写为其头字母(the initial letter of every cow),举个例子,FJ带了 ...
分类:其他好文   时间:2018-11-26 00:00:48    阅读次数:241
Codeforces.741D.Arpa’s letter-marked tree and Mehrdad’s Dokhtar-kosh paths(dsu on tree 思路)
给定一棵树,每条边上有一个字符(a~v)。对每个节点,求它的子树中一条最长的路径,满足 路径上所有边上的字符可以重新排列成一个回文串。输出其最长长度。 $n\leq 5\times10^5$。 ...
分类:其他好文   时间:2018-11-25 21:15:59    阅读次数:234
dsu on tree(无讲解)
CF741D. Arpa’s letter marked tree and Mehrdad’s Dokhtar kosh paths 分析: 最多有一个字符出现奇数次 维护某个状态下深度的最大值,注意是全局深度 写成非递归形式方便理解 代码: cpp include include include ...
分类:其他好文   时间:2018-11-25 14:29:42    阅读次数:221
05流与文件 动手动脑
使用Files.walkFileTree()找出指定文件夹下所有大于指定大小(比如1M)的文件 import java.io.IOException; import java.nio.file.*; import java.nio.file.attribute.BasicFileAttributes ...
分类:其他好文   时间:2018-11-21 22:21:18    阅读次数:257
17. Letter Combinations of a Phone Number C++回溯法
简单的回溯法! ...
分类:编程语言   时间:2018-11-20 01:23:18    阅读次数:200
Bailian2975 Caesar Cryptogram
"2975:Caesar Cryptogram" 描述 Julius Caesar inventes a cryptogram that converts a string to another string. The rule is that every letter in an original ...
分类:其他好文   时间:2018-11-20 01:15:04    阅读次数:161
To handling editor letter
一般崔稿信写法: Dear Editor: Sorry for disturbing you. We’re not sure if it is the right time to contact you to inquire about the status of our submitted man ...
分类:其他好文   时间:2018-11-19 21:36:10    阅读次数:499
1667条   上一页 1 ... 35 36 37 38 39 ... 167 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!