码迷,mamicode.com
首页 >  
搜索关键字:minimum path sum    ( 52602个结果
最优二叉树
树的路径长度树的路径长度是从树根到树中每一结点的路径长度之和。在结点数目相同的二叉树中,完全二叉树的路径长度最短。树的带权路径长度(weighted path length of tree,wpl)结点的权值:在一些应用中,赋予树中结点的一个有某种意义的实数、结点的带权路径长度:结点到树根之间的路径...
分类:其他好文   时间:2014-05-21 19:02:14    阅读次数:305
NSProcessInfo-当前进程信息类
1、NSProcessInfo常用方法: +(NSProcessInfo*)processInfo  //返回当前进程的信息 -(NSArray*)arguments  //以NSString对象数组的形式返回当前进程的参数 -(NSDictionary *)environment  //返回变量/值对词典,以描述当前的环境变量(比如PATH和HOME)及其值 -(int)processI...
分类:其他好文   时间:2014-05-21 17:16:15    阅读次数:229
2014百度之星资格赛第三题
Xor Sum Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 132768/132768 K (Java/Others) Total Submission(s): 7837    Accepted Submission(s): 3350 Problem Description Zeus 和 Prometheu...
分类:其他好文   时间:2014-05-21 17:02:00    阅读次数:160
Erlang开发环境的配置windows64位
1.下载最新的Erlang otp,下载地址:www.erlang.org/download/otp_win64_17.0.exe 安装。 2.下载Eclipse及JDK7,地址的话自己百度。然后进行安装。 3.配置环境变量C:\Program Files\Java\jdk1.7.0_03\bin;C:\Program Files\erl6.0\bin将这两个路径加入path路径。然后运行cm...
分类:Windows程序   时间:2014-05-21 16:47:10    阅读次数:391
LeetCode: Combination Sum II [039]
【题目】 Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. Each number in C may only be used once in the combination. Note: All numbers (including target) will be ...
分类:其他好文   时间:2014-05-21 15:55:25    阅读次数:259
python实现代码行的统计
最近闲来无事写了一个统计C或者C++代码行数的程序,主要用到了python以及正则表达式 #-*-coding:utf-8 #!/usr/bin/python import re import os import sys '''get the file or dir in one path''' def getfilename(path): if os.path.exi...
分类:编程语言   时间:2014-05-21 15:06:30    阅读次数:379
使用WebdriverJS
先用node安装下载selenium-standalone server并运行npm install webdriverjsjava -jar path/to/your/selenium-server-standalone-2.39.0.jar 创建test_webdriver.jsvar webd...
分类:Web程序   时间:2014-05-21 12:11:58    阅读次数:403
LeetCode:Two Sum
题目:       Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum should return indices of the two numbers such that they add up t...
分类:其他好文   时间:2014-05-21 07:42:18    阅读次数:230
算法之大数问题
大数相加 [cpp] view plaincopy #include   #include      char a[10001],b[10001],sum[10002];      int BigIntegerAdd(){       //两个数的长度       int lena = strlen(a);       int l...
分类:其他好文   时间:2014-05-21 06:32:32    阅读次数:361
使用Jenkins进行android项目的自动构建(1)
环境搭建1. 下载JDK,安装,并将JDK的安装目录加入到环境变量JAVA_HOME,将JDK的bin目录加入到环境变量PATH。2. 下载Android SDK,解压,并将SDK的安装目录加入到环境变量ANDROID_HOME,将SDK的tools和platform-tools目录加入到环境变量P...
分类:移动开发   时间:2014-05-21 03:25:07    阅读次数:322
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!