码迷,mamicode.com
首页 >  
搜索关键字:history    ( 2989个结果
田忌赛马
题目来自:NYOJ 田忌赛马 时间限制:3000 ms  |  内存限制:65535 KB 难度:3 描述Here is a famous story in Chinese history. "That was about 2300 years ago. General Tian Ji was a high official in the country Qi...
分类:其他好文   时间:2014-11-08 12:06:48    阅读次数:214
Memcached 二进制协议(BinaryProtocol) incr指令泄露内存数据的bug
缘起 最近有个分布式限速的需求。支付宝的接口双11只允许每秒调用10次。 单机的限速,自然是用google guava的RateLimiter。 http://docs.guava-libraries.googlecode.com/git-history/master/javadoc/com/google/common/util/concurrent/RateLimiter.html ...
分类:系统相关   时间:2014-11-07 20:52:30    阅读次数:310
关于history的Linux命令行
1、使用 HISTTIMEFORMAT 显示时间戳当你从命令行执行 history 命令后,通常只会显示已执行命令的序号和命令本身。如果你想要查看命令历史的时间戳,那么可以执行:# export HISTTIMEFORMAT='%F %T '# history | more1 2008-08-05 ...
分类:系统相关   时间:2014-11-06 21:41:12    阅读次数:241
立神gvim
set cursorlineset history=1700set nocompatible "去掉讨厌的有关vi一致性模式,避免以前版本的一些bug和局限 set nufiletype plugin onfiletype indent onset autoreadset so=7set wildm...
分类:系统相关   时间:2014-11-05 23:03:11    阅读次数:483
田忌赛马
田忌赛马 时间限制:3000 ms  |  内存限制:65535 KB 难度:3 描述Here is a famous story in Chinese history. "That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to...
分类:其他好文   时间:2014-11-05 14:57:11    阅读次数:143
jquery.cookie.js结合asp.net实现最近浏览记录
一、html代码最近浏览记录asp.net处理代码private void get_history_log(HttpContext context) { string id = DTRequest.GetFormString("id_arr"); ...
分类:Web程序   时间:2014-11-04 19:06:26    阅读次数:202
UVA - 111 History Grading
#include #include #include using namespace std; int dp[30][30]; int ord[30]; int stu[30]; int main() { //freopen("in","r",stdin); int n,i,j,t; cin>>n; for(i=1;i<=n;i++) { c...
分类:其他好文   时间:2014-11-04 17:28:21    阅读次数:203
UVA 111 History Grading
DP,题意晦涩难懂。LCS问题。 源序列要经过转换。 比如 4 2 1 3. 是指 事件1 发生在第四,事件2 发生在第二,事件3发生在第一 ,事件4发生在 第三。 转换后的序列为 : 3 2 4 1 。 所以说很丧病。UVA很多题都是一大堆题意。 我用的二维数组。其实可以优化 滚动或者一维。 #include #include #include #include #...
分类:其他好文   时间:2014-11-04 13:12:24    阅读次数:127
JavaScript常用語句
1.document.write("");输出语句2.JS中的注释为//3.传统的HTML文档顺序是:document->html->(head,body)4.一个浏览器窗口中的DOM顺序是:window->(navigator,screen,history,location,document)5....
分类:编程语言   时间:2014-11-04 12:39:45    阅读次数:182
NYOJ 364 田忌赛马
田忌赛马 时间限制:3000 ms  |  内存限制:65535 KB 难度:3 描述Here is a famous story in Chinese history. "That was about 2300 years ago. General Tian Ji was a high official in the country Qi. He likes to...
分类:其他好文   时间:2014-11-03 19:28:49    阅读次数:133
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!