码迷,mamicode.com
首页 >  
搜索关键字:cannot find the requ    ( 29133个结果
LeetCode OJ - Minimum && Maximum Depth of Binary Tree
这两道题用递归的解法都很简单,只是稍有不同。下面是AC代码: 1 /** 2 * Given a binary tree, find its minimum depth. 3 * the minimum depth is the number of nodes along th...
分类:其他好文   时间:2014-05-10 08:47:32    阅读次数:271
Edit Distance
Given two wordsword1andword2, find the minimum number of steps required to convertword1toword2. (each operation is counted as 1 step.)You have the fol...
分类:其他好文   时间:2014-05-10 01:09:28    阅读次数:325
hdu 1598 find the most comfortable road
http://acm.hdu.edu.cn/showproblem.php?pid=1598 1 #include 2 #include 3 #include 4 #define maxn 2000 5 using namespace std; 6 const int inf=1<<30; 7...
分类:其他好文   时间:2014-05-05 10:53:38    阅读次数:344
hdu 1599 find the mincost route
http://acm.hdu.edu.cn/showproblem.php?pid=1599floyd找最小环。 1 #include 2 #include 3 #include 4 #define maxn 200 5 using namespace std; 6 const int inf...
分类:其他好文   时间:2014-05-05 10:52:15    阅读次数:315
QT环境搭建常见的bug解决 -->ld: cannot find –lbootstrap 错误
常见错误列表一、编译arm环境的时候:./configure -prefix $HOME/Qtenv/arm -embedded arm-nomake docs -nomake demo -nomake examples1、configure完成之后,make出现问题:/usr/bin/ld: ca...
分类:其他好文   时间:2014-05-05 09:32:27    阅读次数:1967
[TroubleShooting]'trn\bak' is incorrectly formed. SQL Server cannot process this media family.
?? SQL Server online consultants came across an interesting scenario where one of our client was unable to restore a native SQL Server backup successfully performed from one instance running on M...
分类:数据库   时间:2014-05-04 17:42:50    阅读次数:394
用KGdb和VMware调试Linux内核,System Call
Linux的内核和System Call不好调试,参考这里: http://stackoverflow.com/questions/5999205/cannot-step-into-system-call-source-code 简单来说,如果想在本机调试system call,那么当你进入system call时,系统已经在挂起状态了,那么它又怎样能响应用户的输入? 所以,有一个UML...
分类:数据库   时间:2014-05-04 09:28:22    阅读次数:463
POJ 2236 Wireless Network ||POJ 1703 Find them, Catch them 并查集
1.给你N台损坏的电脑坐标,这些电脑只能与不超过距离d的电脑通信,但如果x和y均能C通信,则x和y可以通信。现在给出若干个操作, O p 代表修复编号为p的电脑 S p q代表询问p和q是不是能通信。 2.xx城市有两个帮派,给你m条信息, D a b表示a和b不在一个帮派里。 A a b时要求输出a和b是不是在一个帮派里。(在/不在/不确定)...
分类:Web程序   时间:2014-05-03 21:49:54    阅读次数:351
【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 concatenation of each word in L exactly once and without an...
分类:其他好文   时间:2014-05-03 21:35:49    阅读次数:310
【Union Find】JAVA implementation
import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Scanner; class UF { private int[] id; private int count; public UF(int N) { count = N; id = n...
分类:编程语言   时间:2014-05-03 21:21:44    阅读次数:336
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!