今天在配置git自动在提交时从bare库中检出到应用目录时,竟然出现这个错误,折腾了好久,搞不明白怎么回事,经过测试,发现是git本身的问题,
就是没摸着是什么引起的;
通过google.终于发现说是git版本目录与work目录不允许相同的前缀,也就是work-tree目录=qidizi 而git-dir=qidizi.git
就是work-tree目录完全就是git-dir目录前缀时,就会...
分类:
其他好文 时间:
2014-09-21 04:13:30
阅读次数:
372
英文原文:How To Get a Jump Start In Your Programming Career 想要进入软件开发的领域其实是很难的。当然,如果你还是一名刚刚入门的程序员,那么我相信你深刻理解没有经验或者没有太多经验想找一份工作是如何困难。如果你已经在软件开发这一行干过一段时间,...
分类:
其他好文 时间:
2014-09-19 17:06:25
阅读次数:
120
Ctrl + a - Jump to the start of the lineCtrl + b - Move back a charCtrl + c - Terminate the command Ctrl + d - Delete from under the cursorCtrl + e - ...
分类:
其他好文 时间:
2014-09-19 11:32:05
阅读次数:
159
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...
分类:
其他好文 时间:
2014-09-18 22:12:44
阅读次数:
157
第一种思路是:
dp(i):到位置i所需要的最少步数
dp(i)一定是递增的,所以从j=A[i]开始(从最远的位置开始),更新数组直到dp(j+i)
如果去掉,会TLE
int jump(int A[], int n) {
int* dp = new int[n];//dp[i]到i所需的最小步数
memset(dp, 0x3f, sizeof(int)...
分类:
其他好文 时间:
2014-09-16 01:38:29
阅读次数:
241
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...
分类:
其他好文 时间:
2014-09-12 13:26:43
阅读次数:
145
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...
分类:
其他好文 时间:
2014-09-12 05:41:53
阅读次数:
192
Jump Game II
Total Accepted: 16242 Total
Submissions: 65802My Submissions
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each elem...
分类:
其他好文 时间:
2014-09-10 01:38:59
阅读次数:
227
Jump Game
Total Accepted: 18745 Total
Submissions: 68916My Submissions
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element...
分类:
其他好文 时间:
2014-09-09 12:43:49
阅读次数:
154