码迷,mamicode.com
首页 >  
搜索关键字:zero clipboard    ( 2343个结果
LeetCode解题报告--3 Sum
题目: 3 个数和问题 Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.Note: Elements in a triplet (a,b...
分类:其他好文   时间:2015-08-16 18:25:29    阅读次数:173
Regular Expression Matching
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:其他好文   时间:2015-08-16 17:57:09    阅读次数:116
Lightoj 1297 - Largest Box
Memory Limit: 32 MB In the following figure you can see a rectangular card. Thewidth of the card is W and length of the card is L and thicknessis zero. Four (x*x) squares are cut from the...
分类:其他好文   时间:2015-08-16 16:46:15    阅读次数:121
服务端缓存HttpRuntime.Cache的使用
HttpRuntime.Cache.Insert("缓存key", "缓存content", null, DateTime.Now.AddMinutes(3), TimeSpan.Zero);//存入本地服务端string cacheContent = string.Empty; if...
分类:Web程序   时间:2015-08-16 12:00:16    阅读次数:207
Regular Expression Matching
Implement regular expression matching with support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The...
分类:其他好文   时间:2015-08-16 00:33:18    阅读次数:210
hdoj 5389 Zero Escape
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5389大体题意是:有两个门A和B,还有一群人,每个人都有一个数字,疯了一样的T。。比赛的时候十连T也是醉醉的。 这道题感觉像DP,但是不知道从何下手,看别人敲出来才知道怎么去用。在比赛过程中还有一个问题....
分类:其他好文   时间:2015-08-15 17:54:34    阅读次数:107
正则表达式匹配
leetcode:Regular Expression Matching Implement regular expression matching with support for ‘.’ and ‘*’. ‘.’ Matches any single character. ‘*’ Matches zero or more of the preceding element. The matc...
分类:其他好文   时间:2015-08-15 13:38:11    阅读次数:132
HDU 5389 Zero Escape (类0/1背包)
HDU 5389 Zero Escape (类0/1背包)...
分类:其他好文   时间:2015-08-15 12:01:10    阅读次数:119
HDU 5389 Zero Escape(DP + 滚动数组)
Zero Escape Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others) Total Submission(s): 864    Accepted Submission(s): 438 Problem Description Zero Escape, i...
分类:编程语言   时间:2015-08-15 10:27:27    阅读次数:185
hdu 5389 Zero Escape (dp)
题目:http://acm.hdu.edu.cn/showproblem.php?pid=5389 题意:定义数根:①把每一位上的数字加起来得到一个新的数,②重复①直到得到的数只有1位。给定n,A,B和n个一位数,求把这n个数分成两部分,使得这两部分的其中一部分的和的数根等于A另外一部分的和的数根等于B的方案数。 分析:一个数a的数根s=(a-1)%9+1,为了方便直接用s=a%9,其中0代表...
分类:其他好文   时间:2015-08-15 00:17:27    阅读次数:147
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!