码迷,mamicode.com
首页 >  
搜索关键字:cmp    ( 878个结果
ConcurrentSkipListMap源码---JDK1.8
private V doPut(K key, V value, boolean onlyIfAbsent) { Node z; // added node if (key == null) throw new NullPointerException(); Comparator cmp ... ...
分类:其他好文   时间:2017-12-06 18:05:22    阅读次数:185
P2757 导弹的召唤(数据加强)
"传送门" LIS的O(nlgn)模板题。加强“导弹拦截” cpp include include include define INF 0x3f3f3f3f using namespace std; bool cmp(int x,int y) { return x =y;} int ulis(in ...
分类:其他好文   时间:2017-11-27 00:03:55    阅读次数:101
HDOJ 1879 Kruskal实现
#include #include using namespace std; #define N 100 int parent[N]; struct road{ int begin; int end; int value; }; bool cmp(road a, road b){ return a.... ...
分类:其他好文   时间:2017-11-20 19:04:08    阅读次数:108
非递归建立哈夫曼树
#include #include #include #include using namespace std; struct HT { int weight, parent, l, r, idx; }; bool cmp(HT a, HT b) { return a.weight a, b; ci... ...
分类:其他好文   时间:2017-11-11 22:10:29    阅读次数:154
python中sorted函数的理解(对list列表排序,对dict字典排序)
在python手册中: sorted(iterable[,cmp,[,key[,reverse=True]]]) 作用:Return a new sorted list from the items in iterable. 第一个参数是一个iterable,返回值是一个对iterable中元素进行 ...
分类:编程语言   时间:2017-11-09 14:36:27    阅读次数:133
聊聊openstack
Openstack仅仅是一个管理平台,技术仅仅局限与linux进化论的观点多种CMP将并存,但会出现多极分化OpenStack更接近AWS,OpenNebula更接近vCloudOpenNebulafocuseson datacentervirtualization.Otheropencloudmanagers,suchasOpenStack, primarilyfocusesonpubliccloudfeatures...
分类:其他好文   时间:2017-11-06 17:13:47    阅读次数:103
优先队列
/* num = q.top(); 其余同队列 定义: //priority_queue<int,vector<int>,less<int> > pque;//less<int> greater<int>后面不加括号 priority_queue<int,vector<int>,cmp> pque; ...
分类:其他好文   时间:2017-11-06 13:57:30    阅读次数:165
Python学习(五):易忘知识点
1、列表比较函数cmp 2、列表解析,代码简化 3、字典创建 4、集合特殊性 5、函数式编程 6、Python2.x使用print() from __future___ import print_function 7、Python2.x 除法更改 >>> from __future__ import ...
分类:编程语言   时间:2017-11-05 14:29:44    阅读次数:220
OllyDBG脚本
具体的OllyDBG脚本参考链接如下:https://www.52pojie.cn/forum.php?mod=viewthread&tid=421750通过特定的subesp,xx这样的代码片段来设置函数断点的脚本如下:varx movx,10001003 moveip,x start: findopeip,#83ec??# cmp$RESULT,0 jeend bp$RESULT moveip,$RESULT addeip,..
分类:数据库   时间:2017-10-31 21:30:06    阅读次数:201
python学习之第十课时--基本数据类型(tuple)
元组 元组和列表几乎是一样的,不一样的地方就是元组创建后元组的元素不可以修改,比如(添加,拓展,移除等修改功能,但是元组里的元素的元素是可以修改的) 元组内置函数 函数 功能 cmp(tuple1,tuple2) 比较两个元组元素 len(tuple) 计算元组元素个数 max(tuple) 返回元 ...
分类:编程语言   时间:2017-10-28 01:06:41    阅读次数:252
878条   上一页 1 ... 25 26 27 28 29 ... 88 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!