码迷,mamicode.com
首页 >  
搜索关键字:find mtime    ( 24581个结果
【leetcode刷题笔记】4Sum
Given an arraySofnintegers, are there elementsa,b,c, anddinSsuch thata+b+c+d= target? Find all unique quadruplets in the array which gives the sum of ...
分类:其他好文   时间:2014-07-25 14:13:21    阅读次数:317
python在windows下安装模块错误
windows下安装模块错误 1)Unable to find vcvarsall.bat : 打开“\Lib\distutils\msvc9compiler.py” 找到 toolskey = “VS%0.f0COMNTOOLS” % version, 直接修改为 toolskey = “VS100COMNTOOLS”  (如果是vs2012或者vs2013则要从100改成120) 2...
分类:编程语言   时间:2014-07-25 11:17:01    阅读次数:240
HDU - 3530 Subsequence
Description There is a sequence of integers. Your task is to find the longest subsequence that satisfies the following condition: the difference between the maximum element and the minimum element ...
分类:其他好文   时间:2014-07-25 11:06:41    阅读次数:242
【leetcode刷题笔记】Maximal Rectangle
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.题解,很巧妙的一道题,对于一个0-1矩阵,它的每一行及以上都可以看...
分类:其他好文   时间:2014-07-25 10:53:01    阅读次数:292
每日一道题2014/7/24
Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the...
分类:其他好文   时间:2014-07-25 03:15:41    阅读次数:176
一个项目的Makefile编写及调试
在src目录下包含很多文件夹,那么需要遍历所有的目录执行Makefile,那么给一个在src目录下的Makefile。# 需要排除的目录exclude_dirs := include bin# 取得当前子目录深度为1的所有目录名称DIRS := $(shell find . -maxdepth 1 ...
分类:其他好文   时间:2014-07-25 02:36:44    阅读次数:288
poj2356 Find a multiple(抽屉原理|鸽巢原理)
/*引用过来的题意: 给出N个数,问其中是否存在M个数使其满足M个数的和是N的倍数,如果有多组解, 随意输出一组即可。若不存在,输出 0。题解: 首先必须声明的一点是本题是一定是有解的。原理根据抽屉原理: 因为有n个数,对n个数取余,如果余数中没有出现0,根据鸽巢原理,一定有...
分类:其他好文   时间:2014-07-25 02:33:34    阅读次数:200
【leetcode刷题笔记】Substring with Concatenation of All Words
You are given a string,S, and a list of words,L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenati...
分类:其他好文   时间:2014-07-25 02:31:14    阅读次数:210
Leetcode--Combination Sum
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeated number may be chosen from C unlimited numb...
分类:其他好文   时间:2014-07-24 23:18:03    阅读次数:293
leetcode-Word Search
Word Search  Total Accepted: 11535 Total Submissions: 58659My Submissions Given a 2D board and a word, find if the word exists in the grid. The word can be constructed from letters of seq...
分类:其他好文   时间:2014-07-24 23:04:13    阅读次数:252
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!