Life is filled with endless meaningful things to learn, if it is gonna be a fulfilling life.
分类:
其他好文 时间:
2015-07-12 21:37:55
阅读次数:
140
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-07-12 17:04:29
阅读次数:
165
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position...
分类:
其他好文 时间:
2015-07-12 14:21:04
阅读次数:
125
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:
其他好文 时间:
2015-07-11 10:34:31
阅读次数:
114
题目:Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your max...
分类:
其他好文 时间:
2015-07-02 15:24:11
阅读次数:
94
CTRL 键相关的快捷键:Ctrl + a - Jump to the start of the lineCtrl + b - Move back a charCtrl + c - Terminate the command //用的最多了吧?Ctrl + d - Delete from under...
分类:
系统相关 时间:
2015-07-01 14:02:57
阅读次数:
130
leetcode jump gameII
看了题解,用BFS是比较好的思路,一层表示当前步能到的节点,curmax表示最远的,和贪心有异曲同工之妙
class Solution {
public:
int jump(vector& a) {
int n=a.size();
if(n<=1) return 0;
int i=0, level...
分类:
其他好文 时间:
2015-07-01 10:06:40
阅读次数:
112
转载请注明出处:http://www.cnblogs.com/StartoverX/p/4611518.html题目:Given an array of non-negative integers, you are initially positioned at the first index of...
分类:
其他好文 时间:
2015-06-30 21:51:24
阅读次数:
107
题目:
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length ...
分类:
其他好文 时间:
2015-06-29 10:06:13
阅读次数:
103
我希望在touch屏幕时player起跳,于是在playerControl.cs的Update函数中添加如下touch代码: if(Input.GetMouseButtonDown(0)){//leftbuttondown jump(); }同时我在屏幕左上角加了一个实现暂停的pau...
分类:
编程语言 时间:
2015-06-29 06:19:50
阅读次数:
2112