码迷,mamicode.com
首页 >  
搜索关键字:cause failed to find    ( 31758个结果
hackerrank---Find a string
题目链接在字符串a中查找字符串b出现的次数...貌似不可以用a.count()附上代码:1 a = raw_input().strip()2 b = raw_input().strip()3 cnt = 0;4 for i in xrange(len(a)):5 cnt += 1 if a....
分类:其他好文   时间:2014-05-14 04:13:06    阅读次数:308
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 concatena...
分类:其他好文   时间:2014-05-12 22:27:04    阅读次数:265
maven错误解决一:Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
解决方法是将 jre的目录在 window->Preferences 里修改java installed里的jre目录改为jdk目录即可。原因是在jre目录下不存在tools.jar.
分类:其他好文   时间:2014-05-12 22:08:31    阅读次数:895
[leetcode]Minimum Depth of Binary Tree @ Python
原题地址:http://oj.leetcode.com/problems/minimum-depth-of-binary-tree/题意:Given a binary tree, find its minimum depth.The minimum depth is the number of no...
分类:编程语言   时间:2014-05-12 21:55:15    阅读次数:348
MFC:“Debug Assertion Failed!” ——自动生成的单文档程序项目编译运行就有错误
今天照着孙鑫老师的VC++教程学习文件的操作,VS2010,单文档应用程序,项目文件命名为File,也就有了自动生成的CFileDoc、CFileView等类,一进去就编译运行(就是最初自动生成的项目),编译通过,可运行时直接弹出错误框,有点小懵,,,啥都没做就给我看这个:图一 错误提示框后来搜索....
分类:其他好文   时间:2014-05-12 21:34:45    阅读次数:375
find命令
ind是一个基于查找的功能非常强大的命令,相对而言,它的使用也相对较为复杂,参数也比较多,所以在这里将给把它们分类列出,它的基本语法如下:find[PATH][option][action]#与时间有关的参数:-mtimen:n为数字,意思为在n天之前的“一天内”被更改过的文件;-mtime+n:列...
分类:其他好文   时间:2014-05-12 02:01:20    阅读次数:327
debian 挂载移动硬盘后部分分区无法识别。
有一块新买的1T的移动硬盘。买来格式化成ntfs后简单的分了几次区。 4G的硬盘PE,100G的快速交互,剩余800多G分成了两个对等的存储盘。 插到电脑USB接口后, 桌面自动弹出了4个盘符。 打开前2个都没有什么问题, 写读都正常。后面两个一双击就会报错: Error mounting: mount exited with exit code 1: helper failed wi...
分类:移动开发   时间:2014-05-11 20:51:27    阅读次数:664
学习Android之SimpleAdapter显示网络图片
效果图: 此程序主要的知识点是:SimpleAdapter本身是不支持网络图片的, 如果在Map.put(a,b)中 b为一个Bitmap,程序不会报红色字体,而是在控制台输出绿色的字体,如下 05-10 15:46:45.474: I/System.out(846): resolveUri failed on bad bitmap uri: android.graph...
分类:移动开发   时间:2014-05-11 20:35:03    阅读次数:506
Mybatis缓存报错org.apache.ibatis.exceptions.PersistenceException
错误信息如下:org.apache.ibatis.exceptions.PersistenceException:###Errorqueryingdatabase.Cause:org.apache.ibatis.cache.CacheException:Errordeserializingobject.Cause:java.lang.ClassNotFoundException:com.kytsoft.model.Adminlink###Cause:org.apache.ibatis.cache..
分类:其他好文   时间:2014-05-11 19:26:15    阅读次数:455
删除rpm出现Failed dependencies:
rpm -e --nodeps java-1.4.2-gcj-compat-1.4.2.0-40jpp.115即可解决
分类:其他好文   时间:2014-05-11 17:28:24    阅读次数:250
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!