码迷,mamicode.com
首页 >  
搜索关键字:happy    ( 1071个结果
March 6 2017 Week 10 Monday
A well-spent day brings happy sleep. 丰盈白日,安眠晚间。 Recently my sleep is not so good, for one thing I go to bed too late, then sometimes I miss the right ...
分类:其他好文   时间:2017-05-12 01:36:27    阅读次数:157
替换空格
题目:请实现一个函数,将一个字符串中的空格替换成“%20”。例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20Are%20Happy。 解析:如果从前往后替换字符串中的空格,则每次替换,都要把空格后的字符向后挪动相应的位置。这样,时间复杂度会很高。在此,我们可以换个思路,先 ...
分类:其他好文   时间:2017-05-11 16:06:51    阅读次数:198
poj 1797 Heavy Transportation
Heavy Transportation Time Limit: 3000MS Memory Limit: 30000K Description Background Hugo Heavy is happy. After the breakdown of the Cargolifter projec ...
分类:其他好文   时间:2017-05-10 09:39:53    阅读次数:192
HDU 6030 Happy Necklace
矩阵快速幂。 ...
分类:移动开发   时间:2017-05-07 19:55:01    阅读次数:213
The first one
I am very happy, I hope to meet a lot of interesting people here ! I am very happy, I hope to meet a lot of interesting people here ! I am very happy, ...
分类:其他好文   时间:2017-05-05 18:25:29    阅读次数:119
Our happy ending
题目链接 题意: 输入n、k、L,n个数,最大值不超过L,在序列中取若干个数和能达到k的序列个数 n,k<=20 , 0<=L<=10^9分析: 题目关键在于和k比較小,所以能够考虑DP。 先说一下自己比赛时候想到的DP状态。好久才发现错了。。。。DP[i][j]表示当前是序列中的第i个数(必须选) ...
分类:移动开发   时间:2017-05-04 17:24:23    阅读次数:209
Be Happy.——我的ACM退役贴
一个月的忙碌后,最终能静下心来写一些什么。该结束的最终都要结束了。考试,课程设计,所剩寥寥无几的大学时光,ACM。 看过不少大牛的退役贴,自嘲成银牌狗铜牌狗。写一写碎碎念,大抵如此,每一个人都无法落入俗套。比方著名的弱校acm奋斗史。当然有一些是大牛们想不到的,另一些怎么奋斗都没有混上regiona ...
分类:移动开发   时间:2017-05-01 12:02:58    阅读次数:223
poj 1797 Heavy Transportation
Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 35213 Accepted: 9286 Description Background Hugo Heavy is happy. After the breakdown of the ...
分类:其他好文   时间:2017-04-30 12:41:33    阅读次数:206
leetCode(29):Happy Number
Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege ...
分类:移动开发   时间:2017-04-29 12:50:32    阅读次数:223
Happy Matt Friends(DP)
Happy Matt Friends Time Limit: 6000/6000 MS (Java/Others) Memory Limit: 510000/510000 K (Java/Others)Total Submission(s): 3700 Accepted Submission(s): ...
分类:移动开发   时间:2017-04-27 21:16:38    阅读次数:270
1071条   上一页 1 ... 47 48 49 50 51 ... 108 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!