码迷,mamicode.com
首页 >  
搜索关键字:capacity    ( 831个结果
栈的实现
//栈的特点:后进先出,只能从尾部进行操作//Stack.h #pragmaonce #include<iostream> #include<assert.h> #include<string> usingnamespacestd; template<classT> classStack { public: Stack() :_array(NULL) ,_size(0) ,_capacity(0) {} Stack(cons..
分类:其他好文   时间:2016-01-02 16:37:54    阅读次数:130
Container With Most Water
1 var maxArea = function(height) { 2 var max = 0, 3 l = 0, 4 r = height.length - 1; 5 6 while (l max ? capacity : max; 9 ...
分类:其他好文   时间:2015-12-24 20:54:39    阅读次数:181
MySQL 5.6 & 5.7最优配置文件模板
Inside君整理了一份最新基于MySQL 5.6和5.7的配置文件模板,基本上可以说覆盖90%的调优选项,用户只需根据自己的服务器配置稍作修改即可,如InnoDB缓冲池的大小、IO能力(innodb_buffer_pool_size,innodb_io_capacity)。特别注意,这份配置文件不...
分类:数据库   时间:2015-12-23 22:41:11    阅读次数:224
[LeetCode]LRU Cache
public class LRUCache { HashMap map = new HashMap(); ListNode start; ListNode end; int capacity; int cur_size; public LRUCache(int c...
分类:系统相关   时间:2015-12-03 02:14:07    阅读次数:165
Dinic 算法
#include using namespace std;const int N (1e5+5), M(1e5+5);int head[N];struct Edge{ /* r: residual capacity */ int v, r, nt;}E[M];int tail...
分类:编程语言   时间:2015-12-03 00:13:19    阅读次数:247
【HDU 1839】 Delay Constrained Maximum Capacity Path(二分+最短路)
【HDU 1839】 Delay Constrained Maximum Capacity Path(二分+最短路) Delay Constrained Maximum Capacity Path Time Limit: 10000/10000 MS (Java/Others)    Memory Limit: 65535/65535 K (Java/Others) Tota...
分类:其他好文   时间:2015-11-29 12:10:59    阅读次数:205
USACO 1.4 Mother's Milk
Mother's MilkFarmer John has three milking buckets of capacity A, B, and C liters. Each of the numbers A, B, and C is an integer from 1 through 20, in...
分类:其他好文   时间:2015-11-27 17:46:04    阅读次数:305
简单的动态顺序表实现
#pragmaonce #include<stdio.h> #include<assert.h> #include<malloc.h> #include<string.h> typedefintDateType; typedefstructSeqList { DateType*_array; size_t_size; size_t_capacity; }SeqList; voidInitSeqList(SeqList*pSeq) { assert(pSeq); ..
分类:其他好文   时间:2015-11-21 22:51:56    阅读次数:389
监听JVM的几个命令(可用于linux 本机)
1. jstat 这个命令对于查看Jvm的堆栈信息很有用。能够查看eden,survivor,old,perm等heap的capacity,utility信息 对于查看系统是不是有能存泄漏以及参数设置是否合理有不错的意义2. jstack 这个是用来查看jvm当前的thread ...
分类:系统相关   时间:2015-11-16 12:22:53    阅读次数:154
简单的动态顺序表的实现
#pragmaonce #include<stdio.h> #include<assert.h> #include<malloc.h> #include<string.h> typedefintDateType; typedefstructSeqList { DateType*_array; size_t_size; size_t_capacity; }SeqList; voidInitSeqList(SeqList*pSeq) { assert(pSeq);..
分类:其他好文   时间:2015-11-13 23:45:35    阅读次数:463
831条   上一页 1 ... 60 61 62 63 64 ... 84 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!