原题地址: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
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
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
用户变量与系统变量
用户变量只对当前用户有效,而系统变量对所有用户有效。在检索命令时,系统变量会排在用户变量的前面。也就是说,如果两个地方都包含同一个命令,则优先执行系统变量指示路径下的命令。
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
下面是一个简单的爬虫程序。#!/usr/bin/env pythonfrom sys
import argvfrom os import makedirs, unlink, sepfrom os.path import dirname,
exists, isdir, splitextfrom str...
分类:
其他好文 时间:
2014-06-05 12:50:50
阅读次数:
341
Robot MotionDescriptionA robot has been
programmed to follow the instructions in its path. Instructions for the next
direction the robot is to move ar...
分类:
其他好文 时间:
2014-06-04 17:56:00
阅读次数:
247
下载语言包,直接把bin路径添加进PATH:Download the file
fromhttp://swiftlang.org/packages/swift-0.94.1.tar.gz.Extract by running "tar
xfz swift-0.94.1.tar.gz"Add to P...
分类:
其他好文 时间:
2014-06-03 14:53:04
阅读次数:
282
问题:Virtul Box 安装增强功能时,
未能加载虚拟光盘VBoxGuestAdditions.iso分析:通过分析日志,%vbox_path%\VirtualBox Guest
Additions\install_drivers.log发现,查看安装过程中的信息,如下图,发现缺少 相关dll文...
分类:
系统相关 时间:
2014-06-02 16:24:55
阅读次数:
1812