码迷,mamicode.com
首页 >  
搜索关键字:feel good    ( 2091个结果
codeforces 451D Count Good Substrings
题意:给定一个字符串,求有多少个奇数子串和多少偶数子串为 “回文串” 这边回文串很特殊之含有 ab 两种字母 而且 相邻的字母相同则消去一个 一直到不存在相邻的相同。思路: 在这种串中 ,消到最后 一定是 abababababa。。。 或者 bababababab。。。 那么 只要头尾一样 那么这个...
分类:其他好文   时间:2014-08-02 20:55:04    阅读次数:169
POJ1265——Area(Pick定理+多边形面积)
AreaDescriptionBeing well known for its highly innovative products, Merck would definitely be a good target for industrial espionage. To protect its b...
分类:其他好文   时间:2014-08-02 12:14:33    阅读次数:343
These Bags Are Also Good From The Point Of View Of Tourism
Shoulder bags are very nice to have, it can be fun and funky if you use it in the right clothes. It can also be a great gift to give your friends some...
分类:其他好文   时间:2014-08-01 12:52:31    阅读次数:219
CodeForces 451D Count Good Substrings
哎,最近都在做图论,没有练DP,现在一遇到DP就不会了= =因为有合并这个操作,所以只要是首位相同的字符串肯定是能够构成good串的,那么只要统计在奇数位上出现的0,1的个数和偶数位数,随便递推一下就出来了#include #include #include #include #include #i...
分类:其他好文   时间:2014-07-31 23:34:50    阅读次数:241
HDUOJ------3336 Count the string(kmp)
D -Count the stringTime Limit:1000MSMemory Limit:32768KB64bit IO Format:%I64d & %I64uSubmitStatusDescriptionIt is well known that AekdyCoin is good at...
分类:其他好文   时间:2014-07-31 16:39:46    阅读次数:215
javascript false true
javascript ?中的falsy值 6个:false null undefined 0(数字) NaN(数字) ?‘’最后一个指的是空字符串 其他为true, ? 包括‘false‘. from javascript good parts P26...
分类:编程语言   时间:2014-07-31 00:13:15    阅读次数:262
HDU 3001 Travelling
Description After coding so many days,Mr Acmer wants to have a good rest.So travelling is the best choice!He has decided to visit n cities(he insists on seeing all the cities!And he does not mind w...
分类:其他好文   时间:2014-07-30 17:37:14    阅读次数:306
HDU - 1588 Gauss Fibonacci (矩阵快速幂+二分求等比数列和)
Description Without expecting, Angel replied quickly.She says: "I'v heard that you'r a very clever boy. So if you wanna me be your GF, you should solve the problem called GF~. " How good an oppo...
分类:其他好文   时间:2014-07-29 22:05:52    阅读次数:420
Which is the best MongoDB GUI
Which is the best MongoDB GUI?A good UI is an important part of the development experience. The mongo shell works great for administrative actions but...
分类:数据库   时间:2014-07-29 17:17:22    阅读次数:883
LeetCode "Divide Two Integers"
A very interesting numeric problem. It involves a lot tricks.Linear search (by +\-) is not feasible - too slow. So binary search is a good idea. Also ...
分类:其他好文   时间:2014-07-29 14:02:08    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!