M斐波那契数列
Description
Input
Output
Sample Input
Sample Output
Solution
Genius
Solution
Count Path Pair
Description
Input
Output
Sample Input
Sample Output
Translation
Solution
Poj1365Prime Land
SPOJ10568...
分类:
其他好文 时间:
2015-08-11 14:13:24
阅读次数:
305
运行jar包的命令:
java -jar hello.jar
不过如果工程引用到了其它jar,虽然用ide工具打包时可以看到引用的JAR已经加入到了自己的JAR中,但运行时却会提示ClassNotFoundException。
此时需要修改ide工具自动生成的hello.jar中的MANIFEST.MF,通过MANIFEST.MF中的Class-Path 来指定运行时需要用到的其他jar,其...
分类:
编程语言 时间:
2015-08-11 12:14:35
阅读次数:
168
Python对文件的操作还算是方便的,只需要包含os模块进来,使用相关函数即可实现目录的创建。
主要涉及到三个函数
1、os.path.exists(path) 判断一个目录是否存在
2、os.makedirs(path) 多层创建目录
3、os.mkdir(path) 创建目录
def mkdir(path):
# 引入模块
import os...
分类:
编程语言 时间:
2015-08-11 12:14:28
阅读次数:
125
http://sourceforge.net/projects/tkdiff/files/tkdiff/4.2/ 下载tkdiff-4.2.tar.gz然后在centos下解压将tkdiff copy 到/usr/local/bin下,记得将/usr/local/bin加入到path环境变量中然后y...
分类:
其他好文 时间:
2015-08-11 11:39:43
阅读次数:
1647
修改Eclipse安装目录下的eclipse.ini配置文件将下面内容添加到文件的首部-vmF:/Lunatic/IDE/JDK/jdk1.7.0_67/jdk1.7.0_67/bin/javaw.exe(JDK下的javaw路径)
分类:
系统相关 时间:
2015-08-11 09:52:57
阅读次数:
168
【112-Path Sum(路径和)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given...
分类:
编程语言 时间:
2015-08-11 08:34:13
阅读次数:
147
【111-Minimum Depth of Binary Tree(二叉树的最小深度)】【LeetCode-面试算法经典-Java实现】【所有题目目录索引】原题 Given a binary tree, find its minimum depth.
The minimum depth is the number of nodes along the shortest path from t...
分类:
编程语言 时间:
2015-08-11 08:33:30
阅读次数:
128
QestionGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, (the...
分类:
其他好文 时间:
2015-08-11 07:18:19
阅读次数:
124
前提:安装并配置好jdk1.免安装版存放目录:D:\01Install\tomcat 2.配置环境变量 在环境变量中新建CATALINA_HOME,值:D:\01Install\tomcat 在PATH中增加:%CATALINA_HOME%\lib;%CATALINA_HOME%\bin; 3.测....
分类:
其他好文 时间:
2015-08-11 06:59:19
阅读次数:
136
cookie有这么几个属性,name,value,expireDate,domain,path项目遇到html/person/person.html设置的cookie无法从html/alipay/pay.asp中读出结果:cookie的路径问题,person.html默认的path是自己的路径,想要...
分类:
Web程序 时间:
2015-08-11 06:58:44
阅读次数:
139