- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 【LeetCode】50. Pow(x, n)
Implement pow(x, n).实现x的n次方计算,n为整数。首先想到的方案是利用递归或者循环,挨个相乘,代码如下:public class Solution { public double myPow(double x, int n) { if(n==0) return 1; else{
2016-10-15 19:45:08 189
原创 【LeetCode】10. Regular Expression Matching
Implement regular expression matching with support for '.' and '*'.'.' Matches any single character.'*' Matches zero or more of the preceding element.The matching should cover the entire input st
2016-10-11 13:08:58 212
原创 【LeetCode】37. Sudoku Solver 数独求解
Write a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are indicated by the character '.'.You may assume that there will be only one unique solution.A sudoku
2016-09-28 13:06:06 287
原创 Tomcat CXF 启动停止问题
配置一个CXF项目,本地和服务器上的都是Tomcat6+JDK1.6。但是本地上可以成功运行,但是服务器上总是执行到特定的时候停止。而且停止之后不能使用Tomcat的停止脚本停止,也无法通过终结javaw.exe来停止其运行,只能重新启动服务器。。。第一次停在Import of META-INF/cxf/cxf-extension-soap.xml has been deprecated这句话
2016-07-27 17:36:56 1977
原创 算法导论编程第2章 线性查找
#include #define NIL -1/* run this program using the console pauser or add your own getch, system("pause") or input loop */int linearSearch(int val,int a[],int length);int main(int argc, char** ar
2016-03-14 15:31:12 267
原创 Android sqlite3数据库开发中的sqlite3 not found 问题的解决
在三星I9500(5.0.1)中,利用ADB shell 执行sqlite3操作中,提示sqlite3: not found。 发现三星的手机中,没有安装sqlite3脚本,上网找了好多方法没解决,但是根据这些方法有了一些思路。首先要root手机,能在手机上有浏览system文件夹的文件浏览器,比方说RE浏览器。从安卓模拟器中拷贝以下文件:利用re浏览器,将sqlite3文件复
2015-10-19 22:03:38 340
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人