Given a triangle, find the minimum path sum
from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given the fol...
分类:
其他好文 时间:
2014-05-18 02:11:19
阅读次数:
302
*本文翻译自Yari Dareglia的[LEARN TO LOVE AUTO
LAYOUT][1]文章*[1]: http://www.thinkandbuild.it/learn-to-love-auto-layout/ "Think
& Build"先生们,女士们,让我们以正确的心态...
分类:
移动开发 时间:
2014-05-18 01:20:58
阅读次数:
519
述
陆军棋,又称陆战棋,简称军棋,是中国近代的一种两人棋类,设计根据军队中的军阶。每一方有25枚棋子,先夺得对方军旗者为胜。
棋子
每一方的棋子为25枚,包括:
军阶高低
棋子名称
各方枚数
特殊能力
1
司令
1
无
2
军长
1
无
3
师长
2
无
4
旅长
2
无
5
团长
2
无...
分类:
其他好文 时间:
2014-05-16 01:56:03
阅读次数:
234
目录(?)[+]
部分摘自《Linux System Programming 》作者: Robert Love
刘建文略译(http://blog.csdn.net/keminlau)
KEY:系统论 系统编程
System Programming
过去的Unix编程是没有系统不系统之分的。即便是开发 X Window也是在系统级(system-level...
分类:
其他好文 时间:
2014-05-15 19:37:44
阅读次数:
263
5道题目分别是:【Triangle】、【Pascal's Triangle】、【Pascal's Triangle II 】、【Populating Next Right Pointers in Each Node 】、【Populating Next Right Pointers in Each Node II】,由于有一些题目不需要发一整篇博文来记录,所以就将这些题目以一篇博文5道来记录...
分类:
其他好文 时间:
2014-05-15 18:19:07
阅读次数:
272
装了Windows 8.1与Ubuntu双系统后,在Ubuntu系统下想进入Windows的某个NTFS分区,点击时却出现下面错误:Error mounting /dev/sda2 at /media/love/Mis Archiivos...
分类:
Windows程序 时间:
2014-05-15 05:29:20
阅读次数:
1433
题目链接:uva 11401 - Triangle Counting
题目大意:有多少种方法可以从1,2,3...n中选出3个不同的数组成三角形,给出n,求种数。
解题思路:加法原理,设最大边为x的三角形有c(x)个,那么另外两条边长分别为y和z,根据三角形的形式可以的y+z>x,所以z的范围即为x?yzx
根据这个不等式可以得到每个y值所对应的z值个数,为等差数列,所以
c(...
分类:
其他好文 时间:
2014-05-15 03:03:34
阅读次数:
248
TriangleGiven a triangle, find the minimum path
sum from top to bottom. Each step you may move to adjacent numbers on the row
below.For example, given...
分类:
其他好文 时间:
2014-05-13 18:51:44
阅读次数:
297
I Love Military Chess
Accepted : 45
Submit : 141
Time Limit : 1000 MS
Memory Limit : 65536 KB
题目描述
陆军棋,又称陆战棋,简称军棋,是中国近代的一种两人棋类,设计根据军队中的军阶。每一方有25枚棋子...
分类:
其他好文 时间:
2014-05-13 08:22:28
阅读次数:
286
1、
??
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrom...
分类:
其他好文 时间:
2014-05-13 07:06:35
阅读次数:
284