原题地址:https://oj.leetcode.com/problems/triangle/题意:Given
a triangle, find the minimum path sum from top to bottom. Each step you may move
to adjacent n...
分类:
编程语言 时间:
2014-06-06 17:31:34
阅读次数:
397
Problem DescriptionGiven a circle sequence
A[1],A[2],A[3]......A[n]. Circle sequence means the left neighbour of A[1] is
A[n] , and the right neighbou...
分类:
其他好文 时间:
2014-06-06 14:52:21
阅读次数:
247
1、安装jdk 2、配置 1、安装(略) 2、配置 2.1 regedit
注册表修改,假定已经安装jdk1.6,现在更换为jdk1.7 注: 修改红色框中CurrentVersion为jdk1.7 2.2 jdk路径修改
修改CLASSPATH和PATH为jdk1.7路径(使用jdk绝对路径,不要...
分类:
编程语言 时间:
2014-06-06 14:44:19
阅读次数:
302
求环上的逆序对最小值,这题据说应该是用线段树去做,我先拍了一个裸的,总复杂度O(N2): 1
#include 2 #include 3 using namespace std; 4 5 #define MAXN 5000 6 7 int N; 8
int A[MAXN], sorte...
分类:
其他好文 时间:
2014-06-06 13:13:01
阅读次数:
200
Given a binary tree containing digits
from0-9only, each root-to-leaf path could represent a number.An example is the
root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-06-06 12:38:42
阅读次数:
255
API: SafeArrayCreate SafeArrayDestroy
SafeArrayGetElement SafeArrayPutElement SafeArrayGetLBound SafeArrayGetUBound1
STDMETHODIMP CMath::Sum(VAR...
分类:
其他好文 时间:
2014-06-06 10:09:56
阅读次数:
150
for(var i =0;i<100;i++) {
}alert(i);//100if(true){ var i="91d"; } alert(i);//91d function add(ad1,ad2){
sum=ad1+ad2; return sum;//如果没有用...
分类:
Web程序 时间:
2014-06-06 09:25:07
阅读次数:
256
用户变量与系统变量
用户变量只对当前用户有效,而系统变量对所有用户有效。在检索命令时,系统变量会排在用户变量的前面。也就是说,如果两个地方都包含同一个命令,则优先执行系统变量指示路径下的命令。
set path = %path%;D:\Java 只对当前命令行窗口有效。 修改Windows环境变量,...
很多情况,公司有一类型的代码需要统一部署,如:1、 数据库配置文件2、 公司统一框架3、
其他统一程序代码对这部分代码我们在开发过程中需要统一物理路径。避免在开发、测试、预发布、正式环境不一致,每次同步代码都需要额外修改配置文件。因此可以使用php配置中的include_path目录来配置该部分功能...
分类:
Web程序 时间:
2014-06-05 20:50:18
阅读次数:
346
import osimport syspath = "D:\emojis"for
(path,dirs,files) in os.walk(path): for filename in files: newname =
"emoji_"+filename os.re...
分类:
编程语言 时间:
2014-06-05 20:42:02
阅读次数:
391