码迷,mamicode.com
首页 >  
搜索关键字:on duplicate key upd    ( 43452个结果
poj1971Parallelogram Counting
链接越来越感觉到了数学的重要性!。。这题本来用以斜率和长度为key值进行hash不过感觉很麻烦还TLE了。。最后知道中点一样的话就可以组成平行四边形,初中数学就可以了。。 1 #include 2 #include 3 #include 4 #include 5 #include 6 #inclu....
分类:其他好文   时间:2014-07-22 22:52:13    阅读次数:291
Hive使用中遇到的几个小问题
#### 1. 在Hive中使用show tables;等命令报错:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Specified key was too long; max key length is 767 bytes **解决办法:** 到mysql中的hive数据库里...
分类:其他好文   时间:2014-07-21 10:12:36    阅读次数:453
Java中集合List,Map和Set的区别
Java中集合List,Map和Set的区别 1、List和Set的父接口是Collection,而Map不是 2、List中的元素是有序的,可以重复的 3、Map是Key-Value映射关系,且Key不能重复 4、Set中的元素是无序的,不可重复的...
分类:编程语言   时间:2014-07-20 10:37:19    阅读次数:223
hdu4570Multi-bit Trie (区间DP)
Problem Description   IP lookup is one of the key functions of routers for packets forwarding and classifying. Generally, IP lookup can be simplified as a Longest Prefix Matching (LPM) problem. That'...
分类:其他好文   时间:2014-07-20 10:18:28    阅读次数:235
zabbix常用Key
常用KEY:1.监控端口net.tcp.port[,3306]2.监控进程proc.num[mysqld]3.查看CPU核数system.cpu.num4.查看系统的系统启动时间和当前时间system.boottime、system.localtime5.查看系统的简单信息system.uname6.查看windowns系统当前网卡的进出流量net.if.out[{HOST.NAME},bytes]、..
分类:其他好文   时间:2014-07-20 10:17:37    阅读次数:231
Key/Value之王Memcached初探:一、掀起MC的盖头来
一、Memcached是何方神圣? 在数据驱动的Web开发中,经常要重复从数据库中取出相同的数据,这种重复极大的增加了数据库负载。缓存是解决这个问题的好办法。但是ASP.NET中的HttpRuntime.Cache虽然已经可以实现对页面局部进行缓存,但还是不够灵活,此时Memcached或许是你想....
分类:其他好文   时间:2014-07-20 08:32:47    阅读次数:242
Dictionaries and tuples
Dictionaries have a method called items that returns a list of tuples, where each tuple is a key-value pair. As you should expect from a dictionary, t...
分类:其他好文   时间:2014-07-19 23:02:40    阅读次数:372
String getProperty(String key, String def)
getProperty(String key, String def)
分类:其他好文   时间:2014-07-19 22:22:31    阅读次数:182
javascript对象和日期
javascript对象有:1.对象,object;2.日期,Date;3.数组.Array;4.正则表达式,Regex5.函数 function对象的定义:如: var book={} 定义一个空对象;var book2={key:value}; hashMapvar book3={"name":...
分类:编程语言   时间:2014-07-19 18:36:16    阅读次数:195
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!