http://acm.nyist.net/JudgeOnline/problem.php?pid=6喷水装置(一)时间限制:3000ms | 内存限制:65535KB难度:3描述现有一块草坪,长为20米,宽为2米,要在横中心线上放置半径为Ri的喷水装置,每个喷水装置的效果都会让以它为中心的半径为实数...
分类:
其他好文 时间:
2014-10-25 19:59:25
阅读次数:
197
中间件介绍:介于客户机和server之间的夹层,突破了传统的c/s架构,为构建大规模,高性能,分布式c/s应用程序提供了通信,事物,安全,容错等基础服务,屏蔽了底层应用细节,应用程序不必从底层开发,以自身的复杂性换取应用程序开发的简单。Tuxedo是什么?Tuxedo:Transaction for...
分类:
其他好文 时间:
2014-10-25 19:59:06
阅读次数:
269
借助电脑,让以往用两天时间才能完成的排课工作在两个小时内完成。老师们学会这一招,可以休闲一下了。每学年开学,负责教务的领导最怕的就是排课了,前前后后反复考虑,多次调整,能把脑袋搞炸了,稍大的学校,排一次课表有时需要一两天。本学期开学后,作为一名信息技术教师,学校的电化教育骨干,我决定发挥自身特长,使...
分类:
其他好文 时间:
2014-10-25 19:59:58
阅读次数:
274
namespace hunan\changshaclass Person{ static $name='wu_han';}namespace hunan\changsha 声明命名空间,它的作用包括方法,类名,常量,这三者都统称为元素当在程序里使用元素的时候,默认在当前的命名空间里找该元素,所谓当....
分类:
其他好文 时间:
2014-10-25 19:57:38
阅读次数:
179
UIView *view = [[UIView alloc]initWithFrame:CGRectMake(50, 200, 100, 100)]; view.backgroundColor = [UIColor redColor]; view.layer.shadowOpacity = 0......
分类:
其他好文 时间:
2014-10-25 19:59:28
阅读次数:
235
备忘记录 最近想重拾起来,做个ERP系统,做为一个前端盲,前端框架的选择是最头痛的问题 当前***bootstrap***与***font-awesome***的组合无疑是非常有吸引力的,从网上下了N多的后台框架模板,断断续续调试了1个月...
分类:
其他好文 时间:
2014-10-25 18:55:34
阅读次数:
790
因为要安装flow-tools,所以需要设置epel源。方法如下:32位系统选择:rpm-ivhhttp://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm64位系统选择:rpm-ivhhttp://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm导入key..
分类:
其他好文 时间:
2014-10-25 18:53:36
阅读次数:
158
本文大纲一、简介二、环境说明及配置三、测试四、常见问题解决###############一、简介NTP服务器【NetworkTimeProtocol(NTP)】是用来使计算机时间同步化的一种协议,它可以使计算机对其服务器或时钟源(如石英钟,GPS等等)做同步化,它可以提供高精准度的时间校正(LAN上与标..
分类:
其他好文 时间:
2014-10-25 18:53:08
阅读次数:
221
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length.
Do not allocate extra space for another array, you must do this in place with...
分类:
其他好文 时间:
2014-10-25 18:51:14
阅读次数:
143
Problem Description
A school bought the first computer some time ago(so this computer's id is 1). During the recent years the school bought N-1 new computers. Each new computer was connected to one...
分类:
其他好文 时间:
2014-10-25 18:51:08
阅读次数:
133
Problem Description
Bob enjoys playing computer games, especially strategic games, but sometimes he cannot find the solution fast enough and then he is very sad. Now he has the following problem. H...
分类:
其他好文 时间:
2014-10-25 18:51:18
阅读次数:
204
一个很高大上的Makefile,包含很多语法:...
分类:
其他好文 时间:
2014-10-25 18:49:29
阅读次数:
241
题目
Given a binary tree, find its maximum depth.
The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node....
分类:
其他好文 时间:
2014-10-25 18:50:01
阅读次数:
137
发现每次reduce阶段跑到98%,相关的container被杀,报出的log大概...
分类:
其他好文 时间:
2014-10-25 18:49:24
阅读次数:
130
如果你不在北京,只能说可惜了。这样的讲座,本来是很贵的商业课程。但到了北大,就变成了免费的公益课。
本课程主题是愿景规划,说白了本质是项目管理。你可以看到其实新理论都是旧理论在不同领域发展的结果。
我就纳闷了,为什么神奇的理论和人物总是来自USA?...
分类:
其他好文 时间:
2014-10-25 18:48:44
阅读次数:
141
中央处理器(CPU,Central Processing Unit)是一块超大规模的集成电路,是一台计算机的运算核心(Core)和控制核心( Control Unit)。...
分类:
其他好文 时间:
2014-10-25 18:47:17
阅读次数:
164
POJ 1252 Euro Efficiency(BFS or 完全背包)
http://poj.org/problem?id=1252
题意:
有6种货币,它们的面值分别为1,v2,v3,v4,v5,v6. 且它们面值最大值小于100. 最小值始终是1(就是那个v1). 现在的问题是 要你用尽量少的这6种货币构造1到100的所有面值的金钱. 问你构造这100个数平均需要多少个货币? 最多需要多少个货币?
注意: 这里的构成不仅包含相加, 还能相减. 即假设货币面值为:要1 3 5 7 9 1...
分类:
其他好文 时间:
2014-10-25 18:46:56
阅读次数:
208