摘要:
Joseph环,这次模固定是2.假设不是固定模2,那么一般时间效率是O(n)。可是这次由于固定模2,那么能够利用2的特殊性,把时间效率提高到O(1)。 规律能够看下图: 具体具体解析请看大师Knuth的Concrete mathematics。 补上纯粹利用位运算写的程序: 作者:靖心 http:/ 阅读全文
posted @ 2016-02-07 21:06
mengfanrong
阅读(225)
评论(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
阅读(438)
评论(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
阅读(282)
评论(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
阅读(323)
评论(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
阅读(146)
评论(0)
推荐(0)
摘要:
这次CF状态之悲剧,比赛就别提了。后来应该好好总结。 A题:某个细节没考虑到,导致T了 代码: #include<cstdio> #include<cstring> #include<iostream> #include<algorithm> #include<vector> using names 阅读全文
posted @ 2016-02-07 18:53
mengfanrong
阅读(160)
评论(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
阅读(183)
评论(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
阅读(3300)
评论(0)
推荐(0)
摘要:
Topology是Jstorm对有向无环图的抽象,内部封装了数据来源spout和数据处理单元bolt,以及spout和bolt、bolt和bolt之间的关系。它能够被提交到Jstorm集群。 本文以Jstorm自带的SequenceTopology简介一下Jstorm提交topology的过程,本文 阅读全文
posted @ 2016-02-07 16:41
mengfanrong
阅读(428)
评论(0)
推荐(0)
摘要:
在阅读的过程中有不论什么问题,欢迎一起交流 邮箱:1494713801@qq.com QQ:1494713801 Cloud Foundry核心组件架构图例如以下: 主要组件: Cloud Controller:实质上是VMC和STS交互的server端,它收到指令后发消息到各模快,管理整个云的执行 阅读全文
posted @ 2016-02-07 16:32
mengfanrong
阅读(1586)
评论(0)
推荐(0)