c++笔记将记载一个温习路径,也算一个快速学习的参考吧!(不一定全面,想到什么就写什么。要学习的同志最好是有权威的书坐镇)笔记大概会有如下有几个部分:语法基础,使用拓展库,实用工程,补充说明数据类型:简单类型:(byte = 8 bit,以下所示为32bit系统,bit不同稍有区别;除ab都可以在类...
分类:
编程语言 时间:
2014-08-08 17:19:46
阅读次数:
282
Buy TicketsTime Limit: 4000 MS Memory Limit: 65536 KB64-bit integer IO format: %I64d , %I64u Java class name: Main[Submit] [Status] [Discuss]Descripti...
分类:
其他好文 时间:
2014-08-08 12:13:15
阅读次数:
227
堆大小设置JVM 中最大堆大小有三方面限制:相关操作系统的数据模型(32-bt还是64-bit)限制;系统的可用虚拟内存限制;系统的可用物理内存限制。32位系统下,一般限制在1.5G~2G;64为操作系统对内存无限制。我在Windows Server 2003 系统,3.5G物理内存,JDK5.0下...
分类:
其他好文 时间:
2014-08-08 11:50:05
阅读次数:
268
Post OfficeTime Limit: 1000msMemory Limit: 10000KBThis problem will be judged onPKU. Original ID:116064-bit integer IO format:%lld Java class name:Mai...
分类:
其他好文 时间:
2014-08-08 01:46:07
阅读次数:
204
Description
FJ's N (1 ≤ N ≤ 10,000) cows conveniently indexed 1..N are standing in a line. Each cow has a positive integer height (which is a bit of secret). You are told only the height H (1 ≤ H ≤...
分类:
其他好文 时间:
2014-08-07 23:19:25
阅读次数:
346
问题实例:海量日志数据,提取出某日访问百度次数最多的那个IP。答:对于ip,最多也就2^32个。所以可以很好地通过hash函数映射到内存中,再进行统计。原理简述:hash的基本原理网上也已经很多了,下面简单提一下。在ssh协议加密中,sha-1就是通过哈希来进行的。哈希就是将一个字符串或者其他数字之...
分类:
其他好文 时间:
2014-08-07 22:50:15
阅读次数:
290
PIGSTime Limit: 1000msMemory Limit: 10000KBThis problem will be judged onPKU. Original ID:114964-bit integer IO format:%lld Java class name:MainMirko ...
分类:
其他好文 时间:
2014-08-07 22:05:08
阅读次数:
322
交代下背景,电脑系统是64位的,用的是64位的Tomcat,安装是32位的Myeclipse10,java环境也是32位的,Tomcat在开始启动时会报这样一个错误,“Can't load IA 64-bit .dll on a AMD32-bit platform”,但是不耽误使用,最近在敲Drp项目中用到了底层接口的几个方法,这个错误导致项目不能正常运行了,所以就将64位的Tomcat换成了与java环境一样的32位的Tomcat,上面的问题就顺利解决了,于是继续自己的开发,但是当JSP页面启动时就出现...
分类:
编程语言 时间:
2014-08-07 19:03:20
阅读次数:
286
Distance QueriesTime Limit: 2000msMemory Limit: 30000KBThis problem will be judged onPKU. Original ID:198664-bit integer IO format:%lld Java class nam...
分类:
其他好文 时间:
2014-08-07 18:28:00
阅读次数:
215
RHEL6.5---查看服务器的内存:[root@linuxcast/]#free-mtotalusedfreesharedbufferscachedMem:1870179476062862-/+buffers/cache:8681001Swap:409504095---查看服务器cpu信息[root@linuxcast/]#lscpuArchitecture:x86_64CPUop-mode(s):32-bit,64-bitByteOrder:LittleEndianCPU(..
分类:
Web程序 时间:
2014-08-07 07:31:30
阅读次数:
263