码迷,mamicode.com
首页 >  
搜索关键字:scheduling repeating    ( 957个结果
没有重复字符的子串的最大长度
题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:其他好文   时间:2014-10-20 21:11:05    阅读次数:203
POJ 1325 Machine Schedule (最小点覆盖 && 二分图最大匹配)
鏈接: http://poj.org/problem?id=1325 Description As we all know, machine scheduling is a very classical problem in computer science and has been studied for a very long history. Scheduling probl...
分类:系统相关   时间:2014-10-18 15:31:28    阅读次数:194
Longest Substring Without Repeating Characters
[leetcode] Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters for "abcabcbb" is "abc", which the length is 3. For "bbbbb" the longest substring is "b", with th...
分类:其他好文   时间:2014-10-15 11:42:20    阅读次数:224
[Leetcode] Longest Substring Without Repeating Characters
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:其他好文   时间:2014-10-12 17:16:38    阅读次数:155
POJ1325 Machine Schedule 【二分图最小顶点覆盖】
Machine Schedule Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 11958   Accepted: 5094 Description As we all know, machine scheduling is a very classical ...
分类:系统相关   时间:2014-10-12 00:32:37    阅读次数:468
CSS3渐变
今天上Quora的时候,发现登陆页面的背景图挺带感,就F12了一下…… 学习学习CSS3的渐变效果,gradient 渐变按照表现方式分为线性渐变(linear-gradient)和蛋性渐变,哦不,是径向渐变(radial-gradient),重复线性渐变(repeating-linear-gradient)和重复径向渐变(repeating-radial-gradient)...
分类:Web程序   时间:2014-10-11 11:54:35    阅读次数:249
Longest Substring Without Repeating Characters
这题看起来挺简单的,就是存一个哈希表,然后依次遍历整个字符串,遇到前面有过的字符的时候,就该停止当前计数,新的子串应该从发现该字符的位置的下一位置开始。我开始写了一个简单的写法,发现超时了: if (s.empty()) return 0; if (s.length() == 1) retur.....
分类:其他好文   时间:2014-10-10 14:28:10    阅读次数:160
leetcode--Longest Substring Without Repeating Characters
Problem:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating le...
分类:其他好文   时间:2014-10-09 13:49:13    阅读次数:213
关于最长不重复子串的问题
题目描述:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating lette...
分类:其他好文   时间:2014-10-09 02:29:17    阅读次数:178
UVa 202 - Repeating Decimals
题目:计算分数的循环节。 分析:数论,组合。             n除以m的余数只能是0~m-1,根据抽屉原则,当计算m+1次时至少存在一个余数相同,             即为循环节;存储余数和除数,输出即可。 说明:(⊙_⊙)。 #include #include #include #include using namespace std; int r[3003],...
分类:其他好文   时间:2014-10-08 02:41:54    阅读次数:279
957条   上一页 1 ... 84 85 86 87 88 ... 96 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!