被几道30分的题困扰好久 = = 果然自己还是太弱了这道25分的还是比较简单做做就做出来了#include #include using namespace std;long long i;long long *A;void insert(long long a);int main(){ lo...
分类:
其他好文 时间:
2015-06-09 00:50:52
阅读次数:
168
Hi, I'm Carl Azuz for CNN STUDENT NEWS. First up this Thursday: Massive corruption charges in the world international soccer. U.S. presecutors say som...
分类:
其他好文 时间:
2015-06-08 19:32:13
阅读次数:
174
最后底层其实是通过调用anonymous的mmap来申请了内存。...
分类:
编程语言 时间:
2015-06-07 17:29:51
阅读次数:
215
A direct applicatin of the heap data structure. Specifically, a max heap is used. The required functions include insertion of a node to the heap and e...
分类:
其他好文 时间:
2015-06-07 17:26:01
阅读次数:
109
1.为什么要设置JVM内存大小呢?
因为如果你的程序运行时超过JVM默认内存大小,就不会报传说中内存溢出异常。
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at junit.Bean.main(Bean.java:25)
2.在MyEclipse 菜单 Run->run conf...
分类:
系统相关 时间:
2015-06-06 23:33:39
阅读次数:
233
倒过来看 , 每次总是选择最短的两块木板合并 , 用heap维护------------------------------------------------------------------------------#include#include#include#include#include...
分类:
其他好文 时间:
2015-06-06 17:52:28
阅读次数:
124
**1,eclipse开发出的j2ee程序,发布到Tomcat的Webapps目录下:将eclipse下配置的tomcat server 移除所有程序,然后,右键--open,改 server location2,eclipse发布程序到webapps下后,以tomcat的startup.bat启动...
分类:
其他好文 时间:
2015-06-06 14:47:10
阅读次数:
75
又回来看HDFS 1.2.1 版本了,首先要执行hadoop namenode -format --- 执行脚本./hadoop namenode -format 后,脚本最后执行的核心部分是: exec?"$JAVA"?-Dproc_$COMMAND?$JAVA_HEAP_MAX?$HADOOP_OPTS?-clas...
分类:
其他好文 时间:
2015-06-05 12:31:15
阅读次数:
102
Lesson learnt: std::multiset is a heap structure supporting random removal...class Solution { public: bool containsNearbyAlmostDuplicate(vec...
分类:
其他好文 时间:
2015-06-05 08:44:00
阅读次数:
129