add by zhj:有些链接已经失效,后续会修改。原文:http://blog.csdn.net/zhangzhaokun/article/details/7834797完全用nosql轻松打造千万级数据量的微博系统微博feed系统的push和pull模式和时间分区拉模式架构探讨关于如何构建一个微...
分类:
其他好文 时间:
2014-07-22 22:44:54
阅读次数:
205
eg.var arr = [];arr.push(1);arr.push([2, 3]);arr.push(4, 5);arr = arr.concat(6);arr = arr.concat([7, 8]);arr = arr.concat(9, 10);for(var i=0; i<arr.le...
分类:
其他好文 时间:
2014-07-22 22:42:34
阅读次数:
165
Description
Problem H
Halum
Time Limit : 3 seconds
You are given a directed graph G(V,E) with a set of vertices and edges. Each edge (i,j) that connects some ...
分类:
其他好文 时间:
2014-07-22 00:11:35
阅读次数:
225
Description
Problem H
Halum
Time Limit : 3 seconds
You are given a directed graph G(V,E) with a set of vertices and edges. Each edge (i,j) that connects some ...
分类:
其他好文 时间:
2014-07-22 00:08:34
阅读次数:
307
从网上找到如下资料: $sudo gedit /etc/mysql/my.cnf [client]下添加: default-character-set=utf8 [mysqld]下添加: default-character-set=utf8 然后保存退出 $ /etc/init.d/mysql restart 结果出现了: Since...
分类:
数据库 时间:
2014-07-21 23:39:35
阅读次数:
423
1.Stack类学习 1)建立stack<string> 2)调用push函数将数据压入栈中 3)调用size函数查看当前栈内元素数量 4)调用empty函数检测栈是否为空 5)如果不为空则不断调用pop函数将元素从栈中取出(后入先出) #inclu...
分类:
编程语言 时间:
2014-07-21 23:29:03
阅读次数:
449
01.#include
02.#include
03.#include
04.
05.typedef std::list list_any;
06.
07.//关键部分:可以存放任意类型的对象
08.void fill_list(list_any& la)
09.{
10. la.push_back(1000)...
分类:
其他好文 时间:
2014-07-21 22:47:37
阅读次数:
249
Description
Advanced Cargo Movement, Ltd. uses trucks of different types. Some trucks are used for vegetable delivery, other for furniture, or for bricks. The company has its own code describing each...
分类:
其他好文 时间:
2014-07-21 22:38:48
阅读次数:
286
Sum of Consecutive Prime Numbers
Description
Some positive integers can be represented by a sum of one or more consecutive prime numbers. How many such representations does a given positive ...
分类:
其他好文 时间:
2014-07-21 22:18:12
阅读次数:
222
有一段时间没有用eclipse了,今天一打开居然报错>_<但是打开MyEclipse就没有问题=。=想想以前安装过好几个版本的JAVA,网上搜了资料,解决办法就是重新安装JAVA--无奈把N个版本的JAVA都给删了,下载最新的再安装。安装完后果然没问题了。不过有点后悔把版本都给删了,直..
分类:
系统相关 时间:
2014-07-21 19:44:22
阅读次数:
567