码迷,mamicode.com
首页 >  
搜索关键字:wang xifengs little    ( 2433个结果
codeforces——Little Pony and Expected Maximum
1 /* 2 我们枚举每次选择最大数值的情况:m个数, 投掷n次 3 最大值是1: 1种 4 2: 2^n-1 5 3: 3^n-2^n 6 ..... 7 m: m^n...
分类:其他好文   时间:2014-08-02 09:56:53    阅读次数:205
codeforces——Little Pony and Sort by Shift
1 /* 2 题目大意:给你一个序列,不断地将最后边的数值移动到最前边,问最少经过多少次可以变成一个单调递增的序列! 3 如果不能则输出-1。 4 如果该序列按照不断从后向前移动排序成功,那么该序列要么只有一个单调递增的序列, 5 或者有两段单调递增的序列(1..k 和 k+1..n)...
分类:其他好文   时间:2014-08-02 09:53:43    阅读次数:162
[转] Linux内核代码风格 CodingStyle [CH]
from:http://blog.csdn.net/jiang_dlut/article/details/8163731中文版维护者: 张乐 Zhang Le 中文版翻译者: 张乐 Zhang Le 中文版校译者: 王聪 Wang Cong wheelz 管旭东 Xudong Guan Li ...
分类:系统相关   时间:2014-08-01 15:48:01    阅读次数:400
C#弱引用
加菲猫Just have a little faith.C#弱引用.NET框架提供了另一有趣的特色,被用于实现多样的高速缓存。在.NET中弱引用通过System.WeakReference类实现。弱引用为引用的对象提供一项机制,使被引用的对象能够被垃圾收集器作用。ASP.NET高速缓存就使用了弱引用...
分类:其他好文   时间:2014-08-01 15:33:32    阅读次数:279
POJ - 2828 Buy Tickets (线段树单点更新)
Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little ...
分类:其他好文   时间:2014-08-01 13:43:42    阅读次数:193
POJ 2828 Buy Tickets
Description Railway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue… The Lunar New Year was approaching, but unluckily the Little Ca...
分类:其他好文   时间:2014-07-31 13:36:16    阅读次数:329
hdu 4870 Rating(概率DP&高数消元)
Rating Time Limit: 10000/5000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 714    Accepted Submission(s): 452 Special Judge Problem Description A little gi...
分类:其他好文   时间:2014-07-31 09:54:16    阅读次数:303
HDU - 2276 Kiki & Little Kiki 2
Description There are n lights in a circle numbered from 1 to n. The left of light 1 is light n, and the left of light k (1< k<= n) is the light k-1.At time of 0, some of them turn on, and others t...
分类:其他好文   时间:2014-07-30 12:23:23    阅读次数:199
Each Bag Will Be A Little Different Than The Last
Elegant handbags are still many children and designer bags. These designer handbags are considered to be among the list of young mothers intelligent a...
分类:其他好文   时间:2014-07-30 11:52:43    阅读次数:296
POJ 3735 Training little cats 矩阵快速幂应用
点击打开链接 Training little cats Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 9807   Accepted: 2344 Description Facer's pet cat just gave birth to a b...
分类:其他好文   时间:2014-07-29 17:57:52    阅读次数:278
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!