码迷,mamicode.com
首页 >  
搜索关键字:characters    ( 2378个结果
LightOJ 1224 DNA Prefix
Given a set of n DNA samples, where each sample is a string containing characters from {A, C, G, T}, we are trying to find a subset of samples in the ...
分类:其他好文   时间:2018-09-06 14:47:45    阅读次数:208
HDU 1501 Zipper
题目链接: "HDU 1501" Description Given three strings, you are to determine whether the third string can be formed by combining the characters in the first ...
分类:其他好文   时间:2018-09-05 21:57:56    阅读次数:196
pat 1084 Broken Keyboard(20 分)
On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc ...
分类:其他好文   时间:2018-09-05 13:54:32    阅读次数:157
UVA-11584:Partitioning by Palindromes(基础DP)
今天带来一个简单的线性结构上的DP,与上次的照明系统(UVA11400)是同一种类型题,便于大家类比、总结、理解,但难度上降低了。 We say a sequence of characters is a palindrome if it is the same written forwards a ...
分类:其他好文   时间:2018-09-02 20:30:51    阅读次数:182
3. Longest Substring Without Repeating Characters
自己方法复杂度比较高 可以O(n)的方法,遍历一遍 用两个指针记录maxstring的位置 然后遇到跟hashmap里重复的就更新指针https://leetcode.com/problems/longest-substring-without-repeating-characters/discus ...
分类:其他好文   时间:2018-08-28 10:33:54    阅读次数:113
PHP7.27: pdf
http://www.fpdf.org/ https://github.com/Setasign/FPDF https://www.ntaso.com/fpdf-and-chinese-characters/ ...
分类:Web程序   时间:2018-08-27 21:40:35    阅读次数:115
[LeetCode] 20. Valid Parentheses_Easy tag: Stack
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. An input string is valid if: No ...
分类:其他好文   时间:2018-08-25 11:42:25    阅读次数:145
125. Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases. Note: For the purpose of this problem, w ...
分类:其他好文   时间:2018-08-24 13:22:31    阅读次数:118
c++ getline的用法
由getline的定义可以知道, getline返回的是一个输入流, 正常情况下输入流都是正确的, 因而 是一个死循环无法跳出; Get line from stream into string Extracts characters from is and stores them into str ...
分类:编程语言   时间:2018-08-24 10:46:56    阅读次数:158
PAT 1112 Stucked Keyboard
On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear rep ...
分类:其他好文   时间:2018-08-19 18:26:26    阅读次数:222
2378条   上一页 1 ... 38 39 40 41 42 ... 238 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!