码迷,mamicode.com
首页 >  
搜索关键字:time    ( 52982个结果
HDU2833 WuKong(floyd + dp)经典
WuKong Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1429    Accepted Submission(s): 517 Problem Description Liyuan wanted to rewrite...
分类:其他好文   时间:2015-04-18 20:40:11    阅读次数:202
HDU2433Travel(SPFA+记录路径优化)
Travel Time Limit: 10000/2000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1847    Accepted Submission(s): 623 Problem Description       One day, Tom trav...
分类:其他好文   时间:2015-04-18 20:39:59    阅读次数:180
毕业论文一次性修改所有字母和数字的字体
毕业论文往往最烦人的就是汉字用宋体,数字和字母要用Time New Roman,这些东西都是混排的,一处一处去改,不知道改到什么时候。其实利用word的替换功能很轻松就能搞定,下面图解常见方法(第6条描述的方法更简单)。1、修改字母格式:打开替换选项(快捷键Ctrl+H),在查找内容里面输入^$(这...
分类:其他好文   时间:2015-04-18 20:32:27    阅读次数:154
导出大量数据到excel表
set_time_limit(0);error_reporting(0); // 输出Excel文件头,可把user.csv换成你要的文件名header('Content-Type: application/vnd.ms-excel');header('Content-Disposition: a....
分类:其他好文   时间:2015-04-18 20:30:47    阅读次数:150
Milking Time.(POJ-3616)
一道经典的DP,对于DP问题,关键是要找准决策点,即需要做出决策的选择点。 本题有两个枚举点,一个是时间N,还有一个是挤奶的时间区间M; 然而枚举每个时间点是没有意义的,而且时间的范围很大,所以可以直接枚举挤奶的时间区间,dp[i]指的就是在第i个时间区间挤奶所获得的最大收益。递推公式dp[i] = max(dp[i],dp[j]+a[i].e); #include #include #inc...
分类:其他好文   时间:2015-04-18 17:47:08    阅读次数:131
(KMP 1.6)hdu 2203 亲和串(判断文本串循环移位之后是否能将模式串包含在其中)
题目:亲和串Time Limit: 3000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 9139    Accepted Submission(s): 4174Problem Description人随着岁数的增长是越大越聪明还是越大越笨,这是一个值得全世界科学家思考...
分类:其他好文   时间:2015-04-18 17:44:26    阅读次数:141
Pointers and Dynamic Allocation of Memory
METHOD 1:Consider the case where we do not know the number of elements in each row at compile time, i.e. both the number of rows and number of columns...
分类:其他好文   时间:2015-04-18 17:30:37    阅读次数:124
uva_10740_Not the best(第k短路)
Problem A Not the Best Input: standard input Output: standard output Time Limit: 1 second   Abul is not the best student in his class; neither is he the best player in his team. Not that he is b...
分类:其他好文   时间:2015-04-18 16:11:11    阅读次数:172
hdu 1166敌兵布阵(线段树)
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1166敌兵布阵Time Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission...
分类:其他好文   时间:2015-04-18 16:08:03    阅读次数:140
Google Code Jam 2015 Round 1A Mushroom Monster 水
题意:每10秒扫描一下盘子,查看盘子里面的面包个数,问你主角用两种吃法可能吃得的最少的面包。1)任意吃。2)每秒以恒定速度.解题思路:暴力,找差值。解题代码: 1 // File Name: a.cpp 2 // Author: darkdream 3 // Created Time: 2015年0...
分类:其他好文   时间:2015-04-18 15:59:44    阅读次数:111
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!