码迷,mamicode.com
首页 >  
搜索关键字:letters    ( 1345个结果
Codeforces 827E Rusty String - 快速傅里叶变换 - 暴力
Grigory loves strings. Recently he found a metal strip on a loft. The strip had length n and consisted of letters "V" and "K". Unfortunately, rust has ...
分类:其他好文   时间:2017-08-22 00:28:00    阅读次数:366
pexpect学习阶段
网上关于pexpect的介绍基本都类似于这样http://blog.csdn.net/sdustliyang/article/details/23373485,但是并没有关于下述问题的解释 问题:可以ssh到主机,但是后面执行的命令无法生效 代码如下: 可以看到ssh是成功连接的,但是ls /hom ...
分类:其他好文   时间:2017-08-22 00:15:35    阅读次数:206
poj1154 【DFS】
LETTERS Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 8976 Accepted: 4017 Description A single-player game is played on a rectangular boa ...
分类:其他好文   时间:2017-08-21 13:30:34    阅读次数:177
刷题感悟 - Longest Palindrome
最近死磕较高难度的题目 深感自己的基本数据结构掌握不够熟练 因此 刷题较慢了些 刷了一道简单的题目涨涨自信 题目:Given a string which consists of lowercase or uppercase letters, find the length of the longe ...
分类:其他好文   时间:2017-08-20 21:11:15    阅读次数:189
python 生成动态密码
import stringimport randomdef gen_psd(length=10): """length is password length""" letters = string.ascii_lowercase + string.digits times = length/len( ...
分类:编程语言   时间:2017-08-19 20:03:01    阅读次数:224
CodeForce 837 A/B/C解题报告
A Text Volume 题面: You are given a text of single-space separated words, consisting of small and capital Latin letters. Volume of the word is number of ...
分类:其他好文   时间:2017-08-16 20:19:32    阅读次数:227
Round #424 B. Keyboard Layouts
There are two popular keyboard layouts in Berland, they differ only in letters positions. All the other keys are the same. In Berland they use alphabe ...
分类:其他好文   时间:2017-08-08 19:38:37    阅读次数:220
Round #423 C. String Reconstruction(Div.2)
Ivan had string s consisting of small English letters. However, his friend Julia decided to make fun of him and hid the string s. Ivan preferred makin ...
分类:其他好文   时间:2017-08-08 17:48:09    阅读次数:181
leetcode 316. Remove Duplicate Letters
Given a string which contains only lowercase letters, remove duplicate letters so that every letter appear once and only once. You must make sure your ...
分类:其他好文   时间:2017-08-07 20:41:30    阅读次数:119
Codeforces 825D Suitable Replacement - 贪心 - 二分答案
You are given two strings s and t consisting of small Latin letters, string s can also contain '?' characters. Suitability of string s is calculated b ...
分类:其他好文   时间:2017-08-06 19:42:20    阅读次数:397
1345条   上一页 1 ... 48 49 50 51 52 ... 135 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!