上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 154 下一页
摘要: 题目 The count-and-say sequence is the sequence of integers beginning as follows: 1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11. 11 is rea 阅读全文
posted @ 2017-06-30 16:52 jhcelue 阅读(115) 评论(0) 推荐(0)
摘要: 标绘作为一种数据展示形式,在多个行业都有需求。基于ArcGIS Flex API(3.6)实现标绘API,当前版本号1.0 alpha,支持经常使用几种标绘符号,包含:圆弧、曲线、圆形、椭圆、弓形、扇形、闭合曲线、集结地、直箭头、细直箭头、袭击方向、进攻方向、进攻方向(尾)、钳击、分队战斗、分队战斗 阅读全文
posted @ 2017-06-30 16:13 jhcelue 阅读(366) 评论(0) 推荐(0)
摘要: 汉字统计 Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 30230 Accepted Submission(s): 16588 Problem 阅读全文
posted @ 2017-06-30 14:33 jhcelue 阅读(265) 评论(0) 推荐(0)
摘要: 在实际开发中,可能会遇到这样一个情况,某一功能的实现分为多种算法,这些算法能够认定为策略,在实际操作时选择不同算法或策略进行操作得出终于结果。在实际生活中。这些样例也是举不胜举。比如。商场举行活动,满100元减10元,满200元减30元,满500元减100元等等...这样每消费一笔,依据这一笔钱消费 阅读全文
posted @ 2017-06-30 13:52 jhcelue 阅读(172) 评论(0) 推荐(0)
摘要: Walking on the Safe Side Square City is a very easy place for people to walk around. The two-way streets run North-South or East-West dividing the cit 阅读全文
posted @ 2017-06-30 12:14 jhcelue 阅读(228) 评论(0) 推荐(0)
摘要: 题目背景 在双人对决的竞技性比赛。如乒乓球、羽毛球、国际象棋中。最常见的赛制是淘汰赛和循环赛。前者的特点是比赛场数少。每场都紧张刺激,但偶然性较高。后者的特点是较为公平,偶然性较低,但比赛过程往往十分冗长。本题中介绍的瑞士轮赛制,因最早使用于1895年在瑞士举办的国际象棋比赛而得名。它能够看作是淘汰 阅读全文
posted @ 2017-06-30 10:41 jhcelue 阅读(861) 评论(0) 推荐(0)
摘要: CrawlSpider classscrapy.contrib.spiders.CrawlSpider 爬取一般站点经常使用的spider。其定义了一些规则(rule)来提供跟进link的方便的机制。 或许该spider并非全然适合您的特定站点或项目,但其对非常多情况都使用。 因此您能够以其为起点, 阅读全文
posted @ 2017-06-30 09:36 jhcelue 阅读(299) 评论(0) 推荐(0)
摘要: step into/step out/step over的差别 step into就是单步运行,遇到子函数就进入而且继续单步运行; step over是在单步运行时,在函数内遇到子函数时不会进入子函数内单步运行。而是将子函数整个运行完再停止,也就是把子函数整个作为一步。 step out就是但单步运 阅读全文
posted @ 2017-06-30 08:31 jhcelue 阅读(472) 评论(0) 推荐(0)
摘要: 题目: Permutations II Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have th 阅读全文
posted @ 2017-06-29 21:32 jhcelue 阅读(128) 评论(0) 推荐(0)
摘要: 1. Local storage背景 cookie弊端:同域内http请求都会带cookie,添加带宽和流量;有个数和限制大小(约4K)。 在HTML5中,本地存储是一个window的属性。包含localStorage和sessionStorage。从名字应该能够非常清楚的辨认二者的差别。前者是一直 阅读全文
posted @ 2017-06-29 20:09 jhcelue 阅读(253) 评论(0) 推荐(0)
上一页 1 ··· 54 55 56 57 58 59 60 61 62 ··· 154 下一页