码迷,mamicode.com
首页 >  
搜索关键字:not find    ( 24186个结果
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...
分类:其他好文   时间:2014-07-16 23:04:15    阅读次数:166
linux中Find命令的使用
find [起始目录] 寻找条件 操作还有种表述方式:find PATH OPTION [-exec COMMAND { } \;]因为find命令会根据我们给的option,也就是寻找条件从我们给出的目录开始对其中文件及其下子目录中的文件进行递归搜索,所以我觉的这个地方说是“起始目录”是非常好的。...
分类:系统相关   时间:2014-07-16 23:03:03    阅读次数:332
UVA 10548 - Find the Right Changes(数论)
UVA 10548 - Find the Right Changes 题目链接 题意:给定a,b,c,表示货物的价值,求由A货物和B货物组成C货物有几种方法,判断有无解和是否有无限多种 思路:扩展欧几里得求通解,去计算上限和下限就能判断 代码: #include #include #include #include using namespace std; ...
分类:其他好文   时间:2014-07-11 00:22:22    阅读次数:419
uva 10548 - Find the Right Changes(拓展欧几里得)
题目链接:uva 10548 - Find the Right Changes 题目大意:给定A,B,C,求x,y,使得xA+yB=C,求有多少种解。 解题思路:拓展欧几里得,保证x,y均大于等于0,确定通解中t的取值。 #include #include #include #include using namespace std; typedef long long ll...
分类:其他好文   时间:2014-07-11 00:03:25    阅读次数:165
leetcode - interleaving string
题目描述: Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2. For example, Given: s1 = "aabcc", s2 = "dbbca", When s3 = "aadbbcbcac", return true. When s3 = "aad...
分类:其他好文   时间:2014-07-10 21:15:16    阅读次数:166
POJ 2251 Dungeon Master
Dungeon Master Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 16005   Accepted: 6208 Description You are trapped in a 3D dungeon and need to find the quic...
分类:其他好文   时间:2014-07-10 20:44:15    阅读次数:191
hdu4847:Wow! Such Doge!(字符串匹配)
题目:hdu4847:Wow! Such Doge! 题目大意:在给出的段落里面找出“doge”大小写都可以。 解题思路:字符串匹配问题,可以在之前将字母都转换成统一格式。 代码: #include #include const int N = 1e6; char str[N]; const char *s1 = "doge"; int find () { i...
分类:其他好文   时间:2014-07-10 19:32:46    阅读次数:224
用python的BeautifulSoup分析html
http://www.cnblogs.com/twinsclover/archive/2012/04/26/2471704.html用python的BeautifulSoup分析htmlhttp://www.crummy.com/software/BeautifulSoup/bs3/documentation.zh.htmlBeautifulSoup中文文档1)搜索tag:find(tagname)#直接搜索名为tagname的tag如:find(‘head‘)find..
分类:编程语言   时间:2014-07-10 19:12:38    阅读次数:265
飞鸽传书 bind() error=10048错误的解决方法
提示bind()错误=10048原因:其他程序占用飞鸽的2425端口比如:飞秋也是使用2425端口解决:用netstat命令查看是哪个进程占用了该端口格式:netstat-ano|find"2425"结果:UDP0.0.0.0:2425*:*1716最后的1716就是占用2425进程的进程ID,看看是什么,可以结束的直接结束该进程,再打..
分类:其他好文   时间:2014-07-10 18:08:23    阅读次数:332
Eclipse:Error:could not find java SE Runtime Environment/Error: could not find java.dll
发生这种错误的原因是什么呢,正常情况下都是你的系统中装了两个版本的JDK,比如装了1个1.6版本的JDK,然后再安装1个1.7版本的JDK,这个时候你打开eclipse的时候就会弹出一个对话框,提示:Error:could not find java SE Runtime Environment。 这个时候你也可以在命令行中输入”java -version“,可以看到相关的错误提示: ...
分类:编程语言   时间:2014-07-10 17:40:32    阅读次数:263
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!