上一页 1 ··· 190 191 192 193 194 195 196 197 198 ··· 235 下一页
摘要: 题目描写叙述: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways ca 阅读全文
posted @ 2017-05-25 14:01 llguanli 阅读(157) 评论(0) 推荐(0)
摘要: 信号量 信号量是相互排斥锁的升级版把相互排斥锁中1变成了n。举个简单的样例:如果如今有10个人,有一部手机。这10个人都竞争来使用手机打电话这就是相互排斥锁。对于信号量,如今可能是有4部手机,这10个人都竞争来使用手机打电话。相比相互排斥锁信号量由1变成了4。信号量相也就是操作系统中pv操作,它广泛 阅读全文
posted @ 2017-05-25 12:34 llguanli 阅读(201) 评论(0) 推荐(0)
摘要: Given a sorted integer array without duplicates, return the summary of its ranges. For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"]. 代码要求对 阅读全文
posted @ 2017-05-25 11:03 llguanli 阅读(147) 评论(0) 推荐(0)
摘要: /*API-38*/ Element.remove() 删除某个元素对象,无返回值 /*API-39*/ Element.removeData([key]); 删除某个key的value值。假设没有特殊说明则删除全部的元素数据 參数列表: key 可选參数 字符串类型 key 返回值:元素对象 /* 阅读全文
posted @ 2017-05-25 10:22 llguanli 阅读(227) 评论(0) 推荐(0)
摘要: 题目描写叙述 For two rational numbers, your task is to implement the basic arithmetics, that is, to calculate their sum, difference, product and quotient. 输 阅读全文
posted @ 2017-05-25 09:48 llguanli 阅读(123) 评论(0) 推荐(0)
摘要: 链接 Segment Game Time Limit: 3000/1500 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 273 Accepted Submission(s): 48 P 阅读全文
posted @ 2017-05-25 09:01 llguanli 阅读(126) 评论(0) 推荐(0)
摘要: aptana: eclipse或者myeclipse中的javaScript,html,css的代码提示功能非常差...因此我们选择了这个框架. aptana的安装步骤: 1.须要下载aptana的插件.. 2. 在eclipse中的安装文件夹下新建一个mydropin文件夹.. 在这个目录中新建一 阅读全文
posted @ 2017-05-25 08:21 llguanli 阅读(167) 评论(0) 推荐(0)
摘要: 题目: Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter 阅读全文
posted @ 2017-05-24 21:18 llguanli 阅读(126) 评论(0) 推荐(0)
摘要: 前面几节看得真心累。如今先来点简单easy理解的内容。 一 math包 math包主要处理数学相关的运算。 常数 math.e # 自然常数e math.pi # 圆周率pi 运算函数 math.ceil(x) # 对x向上取整。比方x=1.2,返回2 math.floor(x) # 对x向下取整。 阅读全文
posted @ 2017-05-24 20:46 llguanli 阅读(308) 评论(0) 推荐(0)
摘要: 特别感谢软考让我如今就接触了神奇的java。曾经尽管真不知道java是个神马,看完马士兵的视频发现里面的东西并不陌生。有vb,c++,c#做基础加上这次的J2SE发现原来编程语言有非常多同样的特性。也不再那么神奇了。当然这是在最初阶段的认识,须要更深入的学习,才干发现这些语言的特有的长处。Sun 公 阅读全文
posted @ 2017-05-24 19:12 llguanli 阅读(148) 评论(0) 推荐(0)
上一页 1 ··· 190 191 192 193 194 195 196 197 198 ··· 235 下一页