码迷,mamicode.com
首页 >  
搜索关键字:modify time(mtime)    ( 54886个结果
codechef Little Elephant and Permutations题解
The Little Elephant likes permutations. This time he has a permutation A[1], A[2], ..., A[N] of numbers 1, 2, ...,N. He calls a permutation A good, if the number of its inversions is equal to the n...
分类:其他好文   时间:2014-05-07 07:20:50    阅读次数:356
杭电 2512 一卡通大冒险
一卡通大冒险 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s):     Accepted Submission(s): Problem Description 因为长期钻研算法, 无暇顾及个人问题,BUAA ACM/ICP...
分类:其他好文   时间:2014-05-07 06:44:34    阅读次数:351
斜率优化专题2——bzoj 1010 [HNOI2008]玩具装箱toy 题解
【原题】 1010: [HNOI2008]玩具装箱toy Time Limit: 1 Sec  Memory Limit: 162 MB Submit: 5434  Solved: 1969 [Submit][Status] Description P教授要去看奥运,但是他舍不下他的玩具,于是他决定把所有的玩具运到北京。他使用自己的压缩器进行压缩,其可以将任意物品变成一堆,...
分类:其他好文   时间:2014-05-07 06:25:07    阅读次数:389
[2013山东ACM省赛] The number of steps (概率DP,数学期望)
The number of steps Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述     Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the seco...
分类:其他好文   时间:2014-05-07 06:15:59    阅读次数:427
poj3041(二分匹配简单题)
题目链接:http://poj.org/problem?id=3041 Asteroids Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14022   Accepted: 7629 Description Bessie wants to...
分类:其他好文   时间:2014-05-07 05:59:05    阅读次数:366
C++ 标准库之typeid
本文只讲述typeid这个操作符,呃  ,它确实是一个操作符,类似于 sizeof 操作符。 在将该操作符之前,不得不提的是 RTTI(Run-Time Type Identification,运行时类型识别),其实就是说在运行期得到对 象的实际的类型。这立刻使我们想到了 “可以通过基类的指针和引用可以指向实际的派生类型”。啊哦,答对了,这就是typeid 这个强大操作符所做的事...
分类:编程语言   时间:2014-05-07 05:58:26    阅读次数:350
wikioi 1163 访问艺术馆 树形dp
递归建树,由题知该树是一棵二叉树,且除根节点外其他点的度为0或2。 dp[i][j]表示来到第i个走廊(还未走过这条走廊)还剩下j时间,能拿到最大的画的数量。 dp[i][j]=max(dp[i][j],dp[lson[i]][k]+dp[rson][last_time-k]) #include #include using namespace std; int dp[200][70...
分类:其他好文   时间:2014-05-07 05:02:45    阅读次数:295
[ACM] poj 2096 Collecting Bugs (概率DP,期望)
Collecting Bugs Time Limit: 10000MS   Memory Limit: 64000K Total Submissions: 2026   Accepted: 971 Case Time Limit: 2000MS   Special Judge Description Ivan is fond o...
分类:其他好文   时间:2014-05-07 04:29:43    阅读次数:450
POJ 3207 Ikki's Story IV - Panda's Trick
每条边有两种连法,在圆的外侧或圆的内侧. 对于有可能相交的两条边,不能在同一侧. 建图判断2sat  Ikki's Story IV - Panda's Trick Time Limit: 1000MS   Memory Limit: 131072K Total Submissions: 7692   Accepted: 284...
分类:其他好文   时间:2014-05-06 23:32:06    阅读次数:431
HDOJ3336 Count the string 【KMP前缀数组】+【动态规划】
Count the string Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4212    Accepted Submission(s): 1962 Problem Description It is wel...
分类:其他好文   时间:2014-05-06 15:27:24    阅读次数:306
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!