码迷,mamicode.com
首页 >  
搜索关键字:would you like some more rice    ( 45620个结果
maven 从svn导入项目遇到的问题 No marketplace entries found to handle yuicompressor maven plugin:1.3.0:compile
RT,使用eclipse导入项目时 报   No marketplace entries found to handle yuicompressor maven plugin:1.3.0:compile in Eclipse. Please see Help for more information 我认为同事说的很对, eclipse是面向插件的,maven插件m2ecli...
分类:其他好文   时间:2014-05-12 15:23:26    阅读次数:333
HDU 4283 You Are the One (区间DP)
题意:有 n 个人,每个人有一个diaosi值a[i],如果第 i 个人排在第 k 位置,则他的愤怒值就为a[i]*(k-1); 过程中有一个黑屋子,可以把人暂时放到黑屋子里。 求总的愤怒值最小; 区间DP:对dp[i][j],我们考虑i到j的(j-i+1)个人,对于第i个人我们可以假设他在第k个位置,则前面就有k-1个人在他前面,j-k个人在他后面,所以dp[i][j]=m...
分类:其他好文   时间:2014-05-12 07:02:55    阅读次数:275
【LeetCode】Best Time to Buy and Sell Stock
Best Time to Buy and Sell StockSay you have an array for which theithelement is the price of a given stock on dayi.If you were only permitted to compl...
分类:其他好文   时间:2014-05-12 05:56:14    阅读次数:315
《More Effective C++》 条款5 谨慎定义类型转换函数
---恢复内容开始---C++编译器能够在两种数据类型之间进行隐式转换(implicit conversions),它继承了C语言的转换方法,例如允许把char隐式转换为int和从short隐式转换为double。因此当你把一个short值传递给准备接受double参数值的函数时,依然可以成功运行。...
分类:编程语言   时间:2014-05-12 05:17:15    阅读次数:481
仿Java的AtomicMarkableReference的AtomicMarkablePointer(C++)
1 //@author: Zou Xiaohang 2 //@describe: this class is like AtomicMarkableReference which is in java concurrent package. 3 // remember th...
分类:编程语言   时间:2014-05-12 01:24:20    阅读次数:504
【LeetCode】Insert Interval
Given a set ofnon-overlappingintervals, insert a new interval into the intervals (merge if necessary).You may assume that the intervals were initially...
分类:其他好文   时间:2014-05-11 16:35:35    阅读次数:224
leetcode | Text Justification
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.You shoul...
分类:其他好文   时间:2014-05-11 15:15:29    阅读次数:287
C 语言写的爱情诗歌
/* ******************************************* ***** File Name: Love.c ***** Description: Love Story about you and me ***** Author: JPing.Cai ***** Date: 2014-5-10 ***** Last Version: 1.0 * *******...
分类:其他好文   时间:2014-05-11 14:15:46    阅读次数:290
针对OpenSSL吐嘈的吐嘈-如此唱反调
前些天写了一篇《令人作呕的OpenSSL》,顿时引来了大量的恶评,令我非常尴尬,同时也觉得悲哀。如果说you can you up之类的,我觉得起码这人看出了我的本意,只是怀疑我的能力,但是我看到一些人竟然在我评价了一段僵尸代码后认定我不懂编译代码,这就悲哀了,这段代码大致如下:#if 0 /*abcdefghijklmn, ( and ABCDEFGHHHHSASA ...
分类:其他好文   时间:2014-05-11 14:08:34    阅读次数:238
【ruby】ruby基础知识
Install Ruby(安装)For windows you can download Ruby fromhttp://rubyforge.org/frs/?group_id=167for Linux tryhttp://www.rpmfind.net.Our first program(从此开始...
分类:其他好文   时间:2014-05-11 00:02:21    阅读次数:602
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!