1.1.什么是直接内存(Derect Memory) 在内存模型最开始的章节中,我们画出了JVM的内存模型,里面并不包含直接内存,也就是说这块内存区域并不是JVM运行时数据区的一部分,但它却会被频繁的使用,原因是NIO这个包。 NIO(New input/output)是JDK1.4中新加入的类,引 ...
分类:
其他好文 时间:
2018-09-15 18:22:11
阅读次数:
161
46. Permutations Given a collection of distinct integers, return all possible permutations. Example: Input: [1,2,3] Output: [ [1,2,3], [1,3,2], [2,1,3 ...
分类:
其他好文 时间:
2018-09-15 11:31:19
阅读次数:
171
题目 Given an integer n, generate all structurally unique BST's (binary search trees) that store values 1 ... n. Example: Input: 3 Output: [ [1,null,3,2 ...
分类:
其他好文 时间:
2018-09-10 18:33:19
阅读次数:
262
"$ \rightarrow $ 戳我进CF原题 " E. Fairy time limit per test: 1.5 seconds memory limit per test: 256 megabytes input: standard input output: standard outpu ...
分类:
其他好文 时间:
2018-09-08 22:36:05
阅读次数:
206
"$\rightarrow$ 戳我进CF原题 " E. Trial for Chief time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standard ...
分类:
其他好文 时间:
2018-09-08 16:47:53
阅读次数:
136
time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output time limit per test 2 seconds time limit ...
分类:
其他好文 时间:
2018-09-08 11:53:45
阅读次数:
214
第一部分 静态建模:拓扑模型 GSL层拓扑建模相对简单,由线和节点组成: 线连接各个节点; 节点上带有input/output/inout三种类型的接口(Port),供线连接; 一. Port 线与节点接触的地方为接口。 从微观层面看,线和节点连接,实际上为线的接口和节点的接口连接。一根线的两端各有 ...
分类:
其他好文 时间:
2018-09-07 23:54:09
阅读次数:
253
"$ \Rightarrow $ 戳我进CF原题 " F. SUM and REPLACE time limit per test: 2 seconds memory limit per test: 256 megabytes input: standard input output: standa ...
分类:
其他好文 时间:
2018-09-07 21:10:20
阅读次数:
250
Description Input Output Sample Input 4 -1 10 -20 2 2 3 4 Sample Output 9 HINT 似乎逐渐掌握了斜率优化的规律,,, 1 #include<iostream> 2 #include<cstdio> 3 using names ...
D. Valid BFS? time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Valid BFS? time limit p ...
分类:
其他好文 时间:
2018-09-04 23:35:49
阅读次数:
453