码迷,mamicode.com
首页 >  
搜索关键字:comparison    ( 274个结果
hdu 5099 Comparison of Android versions 枚举题意
2014年上海邀请赛 卡读题 枚举题意的技巧
分类:移动开发   时间:2015-05-20 20:13:06    阅读次数:213
模拟 HDOJ 5099 Comparison of Android versions
题目传送门 1 /* 2 题意:比较型号的大小 3 模拟:坑点在长度可能为5,此时设为'A' 4 */ 5 #include 6 #include 7 #include 8 #include 9 #include 10 #include 11 #include 12 #inc...
分类:移动开发   时间:2015-05-19 18:20:18    阅读次数:129
Git :消除Warning
1:warning: comparison between signed and unsigned integer expressions 解决方法:强制类型转换 前面都加上(int),进行强制类型转换    if (key == NULL || (int)strlen(key) >(int)I_LIMITED_SIMPLE || strlen(key)    // if (key...
分类:其他好文   时间:2015-05-12 00:10:57    阅读次数:161
String对象的方法
FunctionDescriptionExampleCompareTo()Compares one string to another("Hello").CompareTo("Hello")Contains()Returns "True" if a specified comparison stri...
分类:其他好文   时间:2015-05-10 22:04:09    阅读次数:148
Guava库介绍
一、什么是Guava1)Guava库是一个适合很多Java项目的通用工具库 2)Guava工具库中包含了:集合Collection、并发Concurrency、原语Primitive、反射Reflection、比较Comparison、I/O操作、哈希Hash、网络Networking、字符串String、数学函数Math、缓存Caching、内存中的发布/订阅……以及各种级别的数据类型 3)需...
分类:其他好文   时间:2015-05-01 17:24:00    阅读次数:116
MongoDB aggregate聚合
aggregate相当于相当于mysql中的group以及一系列的操作官网介绍地址:http://docs.mongodb.org/manual/reference/sql-aggregation-comparison/表达式描述实例$sum总结从集合中的所有文件所定义的值.db.mycol.aggregate([{$group:{_id:"$by_user",num_tutorial:{$sum:"$likes"}}..
分类:数据库   时间:2015-04-24 19:24:03    阅读次数:280
LightOJ 1428 Melody Comparison
刚开始提交的时候,惊讶地发现竟然超时了 检查了N遍终于发现把strlen写在了for循环里,这样算算时间复杂度就n^2了 解题思路: 把B串在A串出现的位置找出来 然后单独对A串计算一下height数组,然后枚举每个位置,求可以生成的子串,再减height就可以了 #include #include #include using namespace std; #define N 100...
分类:其他好文   时间:2015-04-16 15:48:14    阅读次数:237
Search in a Binary Search Tree
To search a key in a binary search tree, we start from the root and move all the way down, choosing branches according to the comparison results of th...
分类:其他好文   时间:2015-04-13 18:33:44    阅读次数:110
Tornado框架使用http的GET方式传输中文汉字的简单实作
最近业余时间在看Tornado框架的使用,虽然维基百科「Comparison of web application frameworks」把Tornado黑的不行,但上手确实很简单 这个教程的第二个例子 import textwrap import tornado.httpserver import tornado.ioloop import tornado.opti...
分类:Web程序   时间:2015-04-08 16:35:54    阅读次数:816
javascript事件机制
① javascript绑定事件的方式http://blog.iderzheng.com/dom-javascript-event-binding-comparison/② javascript事件对象http://www.cnblogs.com/prince1988/archive/2009/04...
分类:编程语言   时间:2015-03-31 17:59:45    阅读次数:136
274条   上一页 1 ... 19 20 21 22 23 ... 28 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!