上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 714 下一页
摘要: 我们实现的数据结构是为了解决在执行过程中动态的开辟空间使用(比如我们不停的输入,输入的多少我们不确定) 假设当你看到这篇文章的话,就当作是零食咀嚼,营养没有有BUG,能够直接看我博客中文章:CPU对内存的管理,进一步和一些改正的理解 原理两种: 一、笨办法 我们第一次用多少空间,开辟多少空间A 我们 阅读全文
posted @ 2016-02-07 21:41 mengfanrong 阅读(1158) 评论(0) 推荐(0) 编辑
摘要: Joseph环,这次模固定是2.假设不是固定模2,那么一般时间效率是O(n)。可是这次由于固定模2,那么能够利用2的特殊性,把时间效率提高到O(1)。 规律能够看下图: 具体具体解析请看大师Knuth的Concrete mathematics。 补上纯粹利用位运算写的程序: 作者:靖心 http:/ 阅读全文
posted @ 2016-02-07 21:06 mengfanrong 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Search and Replace Sublime Text features two main types of search: Search - Single FileSearch - Multiple Files We’ll examine them in turn, but first l 阅读全文
posted @ 2016-02-07 20:55 mengfanrong 阅读(417) 评论(0) 推荐(0) 编辑
摘要: quartz的工作原理 http://lavasoft.blog.51cto.com/62575/181907/ 几种定时任务的比較 http://blog.sina.com.cn/s/blog_6940cab30101a5pv.html 阅读全文
posted @ 2016-02-07 20:23 mengfanrong 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 题目: D. The Child and Zoo time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Of course our c 阅读全文
posted @ 2016-02-07 20:08 mengfanrong 阅读(314) 评论(0) 推荐(0) 编辑
摘要: 又见GCD Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 9984 Accepted Submission(s): 4157 Problem 阅读全文
posted @ 2016-02-07 19:33 mengfanrong 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 这次CF状态之悲剧,比赛就别提了。后来应该好好总结。 A题:某个细节没考虑到,导致T了 代码: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<vector> using names 阅读全文
posted @ 2016-02-07 18:53 mengfanrong 阅读(154) 评论(0) 推荐(0) 编辑
摘要: Problem Description FSF has programmed a game. In this game, players need to divide a rectangle into several same squares. The length and width of rec 阅读全文
posted @ 2016-02-07 17:21 mengfanrong 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 系统环境: CentOS 7 X64 JDK1.8 一: 安装jsvc 下载 commons-daemon的源代码包 http://apache.fayea.com//commons/daemon/source/commons-daemon-1.0.15-src.zip 解压之后 cd src/na 阅读全文
posted @ 2016-02-07 17:17 mengfanrong 阅读(3195) 评论(0) 推荐(0) 编辑
摘要: Topology是Jstorm对有向无环图的抽象,内部封装了数据来源spout和数据处理单元bolt,以及spout和bolt、bolt和bolt之间的关系。它能够被提交到Jstorm集群。 本文以Jstorm自带的SequenceTopology简介一下Jstorm提交topology的过程,本文 阅读全文
posted @ 2016-02-07 16:41 mengfanrong 阅读(414) 评论(0) 推荐(0) 编辑
上一页 1 ··· 102 103 104 105 106 107 108 109 110 ··· 714 下一页