Gray CodeThe gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the tot...
分类:
其他好文 时间:
2014-07-24 00:53:27
阅读次数:
198
一、问题的提出现假设需要生产两种产品或创建两个对象,我们一般的方法如下代码所示://protoProduct.hclass ProductA{public: virtual void operation();};class ProductB{public: virtual void op...
分类:
其他好文 时间:
2014-07-24 00:50:48
阅读次数:
276
03_wsdl和soap讲解(介入了tcpmon工具)WSDL内容: 1.types:用来定义访问的类型 2.message:SOAP(simple object access Protocol) 3.portType:指明服务器的接口,并且通过operation绑定相应的in和out的消息:...
分类:
其他好文 时间:
2014-07-23 22:29:47
阅读次数:
337
C. The Largest CliqueTime Limit: 3000msMemory Limit: 131072KB64-bit integer IO format:%lld Java class name:MainGiven a directed graphG, consider the f...
分类:
其他好文 时间:
2014-07-23 22:17:17
阅读次数:
459
题目大意:
给出很多条分布在 x 轴上的线段。
然后给出很多点集,问这些点集分布在多少条不同的线段上。
思路分析:
把点集分散成若干条线段。
如果点集做出的线段包含了某一条给出的线段的话,也就是说这个点集上不会有点在这条线段上。
所以我们就是求出 点集做出的线段包含了多少个给出的线段就可以了。
那么也就是比较l r的大小,排序之后用BIT
#include
#in...
分类:
其他好文 时间:
2014-07-23 17:06:02
阅读次数:
193
文件与(或)目录是文件系统的具体表现形式,在Linux系统管理部分,文件与目录管理映射了Linux文件系统管理策略的重要方面
分类:
系统相关 时间:
2014-07-23 16:21:41
阅读次数:
448
B. Claw DecompositionTime Limit: 1000msMemory Limit: 131072KB64-bit integer IO format:%lld Java class name:MainA claw is defined as a pointed curved n...
分类:
其他好文 时间:
2014-07-23 15:22:06
阅读次数:
268
Oracle Database 10g Release 2 (10.2.0.1.0) Enterprise/Standard Edition for Microsoft Windows (32-bit)http://download.oracle.com/otn/nt/oracle10g/10201...
分类:
数据库 时间:
2014-07-23 15:10:56
阅读次数:
783
H. Qin Shi Huang's National Road SystemTime Limit: 1000msMemory Limit: 32768KB64-bit integer IO format:%I64d Java class name:MainDuring the Warring St...
分类:
其他好文 时间:
2014-07-23 15:07:06
阅读次数:
291
poj:1258Agri-NetTime Limit: 1000 MS Memory Limit: 10000 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Desc...
分类:
其他好文 时间:
2014-07-23 15:06:26
阅读次数:
365