自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 MySQL 5.7.17压缩版安装手记

1.下载压缩包并解压缩到相应目录 2.添加MySQL的bin目录路径到Path环境变量 3.修改配置文件my-default.ini,将\# basedir = .....\# datadir = .....修改成:basedir = G:\Program\Program Files\MySQLdatadir = G:\Program\Program Files\MySQL\data4.用管

2017-02-06 20:41:46 332

原创 [LeetCode]1. Two Sum

Given an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the same ele

2017-02-03 09:32:32 366

原创 [LeetCode]461. Hamming Distance

The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, calculate the Hamming distance.Note: 0 ≤ x, y < 2^31.My s

2017-02-03 09:27:14 454

原创 [LeetCode]476.Number Complement

Given a positive integer, output its complement number. The complement strategy is to flip the bits of its binary representation.Note: The given integer is guaranteed to fit within the range of a 32-b

2017-02-03 09:20:00 312

原创 [算法]Floyd-Warshall算法理解

关于弗洛伊德算法,各种资料都有介绍(如Wiki:https://zh.wikipedia.org/wiki/Floyd-Warshall%E7%AE%97%E6%B3%95),但是有一点疑问一直困惑了我很久,知道今天才想明白哈(感谢学长帮助~)。图的有关信息存储在邻接矩阵中,弗洛伊德算法大体上是尝试找各个中转点,看能否减少顶点与顶点间的路径,以计算出任意两个顶点之间的路径长度。尝试各个中转站的步骤一

2016-11-30 21:49:46 2252

原创 [DP] AvoidRoads - TopCoder

Use DP to solve AvoidRoads problem.

2016-11-27 22:42:39 547

原创 [Java] String Calculator With Parentheses

A Java implementation of a string calculator with parentheses.

2016-11-27 22:26:40 1362

原创 [DP] ZigZag -TopCoder

Count the longest ZigZag subsequence length.

2016-11-17 19:52:38 586

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除