码迷,mamicode.com
首页 >  
搜索关键字:find    ( 24186个结果
csu 1547(01背包)
1547: Rectangle Description Now ,there are some rectangles. The area of these rectangles is 1* x or 2 * x ,and now you need find a big enough rectangl ...
分类:其他好文   时间:2016-08-21 10:55:33    阅读次数:130
Linux find常见用法示例
find命令的参数; pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。-print: find命令将匹配的文件输出到标准输出。-exec: find命令对匹配的文件执行该参数所给出的shell命令。相应命令的形式为'command' { } \;,注意 ...
分类:系统相关   时间:2016-08-21 00:50:01    阅读次数:249
MongoDB查询语句
看了些资料,对应只需要知道怎么查询和使用mongodb的我来说,这些足够啦。 左边是mongodb查询语句,右边是sql语句。对照着用,挺方便。 db.users.find() select * from users db.users.find({"age" : 27}) select * from ...
分类:数据库   时间:2016-08-20 23:28:46    阅读次数:526
149. Max Points on a Line *HARD* 求点集中在一条直线上的最多点数
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. ...
分类:其他好文   时间:2016-08-20 23:19:32    阅读次数:173
Minimum Window Substring, 包含子串的最小窗口,双指针
问题描述:给定字符串S,子串T,求S中包含T的最小窗口 Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n ...
分类:Windows程序   时间:2016-08-20 23:11:20    阅读次数:309
在linux/unix中查找大文件
在linux/unix中查找大文件,如查找大于100M文件的位置路径,查找等于10M文件的位置路径等等,下面就介绍几个实现快速查找的命令: 1、 查找指定目录下所有大于100M的文件,命令为 find path -type f -size +100M (path 为自己指定的目录,如当前目录./); ...
分类:系统相关   时间:2016-08-20 19:22:38    阅读次数:199
NYOJ 5 Binary String Matching【string find的运用】
Binary String Matching 时间限制:3000 ms  |  内存限制:65535 KB 难度:3 描述Given two strings A and B, whose alphabet consist only ‘0’ and ‘1’. Your task is only to tell how many times does A appear as ...
分类:其他好文   时间:2016-08-20 16:26:26    阅读次数:150
php 函数strpos()
strpos() 函数查找字符串在另一字符串中第一次出现的位置。 strpos(string,find,start) 返回 从string中的start位置开始找find第一次出现的位置 注意: strpos('asdfg','a'); 返回值为 0 ...
分类:Web程序   时间:2016-08-20 16:00:39    阅读次数:133
genymotion启动虚拟机遇到问题解决方法步骤
通过在不做任务设置时启动genymotion,会遇到一些问题: 会弹出类似如下问题: 要解决这样问题,首先要知道是什么问题,一般按提示在VitualBox中启动虚拟机就可以知道是什么问题。 “To find out the cause of the problem, start the virtua ...
分类:其他好文   时间:2016-08-20 14:32:21    阅读次数:330
hdu 1829 分组并查集合
#include<cstdio> #include<iostream> #include<cstdio> #define maxn 2000005 using namespace std; int pre[maxn<<1]; int find(int r) { if(pre[r]==r) retur ...
分类:其他好文   时间:2016-08-20 10:16:33    阅读次数:243
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!