码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
LeetCode:Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-07-22 00:28:38    阅读次数:209
[WinCE] Can't find P/Invoke DLL sqlceme35.dll
找到目录:C:\Program Files (x86)\Microsoft SQL Server Compact Edition\v3.5\Devices\wce500\armv4i将sqlce.wce5.armv4i.CAB 拷贝到 WinCE 上执行安装。文件名意义:sqlce.平台(wce5 ...
分类:数据库   时间:2014-07-22 00:15:35    阅读次数:309
【leetcode】Search for a Range
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:其他好文   时间:2014-07-22 00:13:35    阅读次数:154
【leetcode刷题笔记】Longest Common Prefix
Write a function to find the longest common prefix string amongst an array of strings.题解:以strs[0]为模板,每次挨个查看是否所有的串里面是否第i位上都和strs[0]一样,如果都一样,把i位置上的字符放到a...
分类:其他好文   时间:2014-07-21 23:31:00    阅读次数:267
KOHANA3.3 ORM中文详解
ORM === 校验: 1.ORM内部为强制校验 2.ORM外部校验 (保存,更新,插入时校验) 过滤: 校验不在包含过滤功能 参数及方法变更: 1.find不在带参数 2.save拆分为create跟update,并增加校验类参数,规则为覆盖叠加 3.fact...
分类:其他好文   时间:2014-07-21 23:30:41    阅读次数:342
HDU--2227--Find the nondecreasing subsequences--线段树
Find the nondecreasing subsequences Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1393    Accepted Submission(s): 494 Problem Des...
分类:其他好文   时间:2014-07-21 23:29:42    阅读次数:259
POJ 2492 A Bug's Life
题意:给你一个n m,n代表有多少只昆虫,m代表2只给定的昆虫可以交配 要你来判断是否出现了同性的昆虫相交的情况 思路:并查集的一个小的应用。运用类别转移来做,详细请看代码,这个代码网上叫类别转移啊,发现新大陆了 #include #include int f[2005],link[2005]; int find(int x) { if(x!=f[x]) f[x]=f...
分类:其他好文   时间:2014-07-21 23:27:51    阅读次数:222
mongodb之简单的CRUD
##看看mongodb的基本操作###mongodb的基本使用包括几个方面增、删、查、改是重点CRUDC:insert()R:find()U:update()D:remove()###增加数据[root@blog~]#hostname blog.unix178.com [root@blog~]#mongo MongoDBshellversion:2.4.6 connectingto:test >showdbs admin0.203125GB..
分类:数据库   时间:2014-07-21 19:48:22    阅读次数:433
Mac OS X代码量统计程序(Python版)
方便统计各种平台项目的代码量,主要用到了find指令来进行处理的详情点击打开链接。 源代码如下: # -*- coding: utf-8 -*- ''' Created on Jul 18, 2014 @author: Jayhomzhou @note: 计算注释以及代码的总行数(即代码量) ''' import subprocess def countCodes(codePa...
分类:编程语言   时间:2014-07-21 16:38:02    阅读次数:352
[LeetCode] Largest Rectangle in Histogram
Given n non-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the hist...
分类:其他好文   时间:2014-07-21 14:18:36    阅读次数:235
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!