码迷,mamicode.com
首页 >  
搜索关键字:shell time expr wait    ( 86807个结果)
BZOJ1833: [ZJOI2010]count 数字计数
1833: [ZJOI2010]count 数字计数Time Limit:3 SecMemory Limit:64 MBSubmit:1250Solved:574[Submit][Status]Description给定两个正整数a和b,求在[a,b]中的所有整数中,每个数码(digit)各出现了多...
分类:其他好文   时间:2014-08-16 18:26:20    阅读次数:214
BZOJ1196: [HNOI2006]公路修建问题
1196: [HNOI2006]公路修建问题Time Limit:10 SecMemory Limit:162 MBSubmit:1107Solved:583[Submit][Status]DescriptionOI island是一个非常漂亮的岛屿,自开发以来,到这儿来旅游的人很多。然而,由于该岛...
分类:其他好文   时间:2014-08-16 18:22:00    阅读次数:193
hdu 1081最大子矩阵的和DP
To The Max Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 8210    Accepted Submission(s): 3991 Problem Description Given a two-dimensi...
分类:其他好文   时间:2014-08-16 17:12:10    阅读次数:260
Pick-up sticks(计算几何_线段相交)
Description Stan has n sticks of various length. He throws them one at a time on the floor in a random way. After finishing throwing, Stan tries to find the top sticks, that is these sticks such th...
分类:其他好文   时间:2014-08-16 17:11:52    阅读次数:272
[POJ] 3264 Balanced Lineup [线段树]
Balanced LineupTime Limit:5000MSMemory Limit:65536KTotal Submissions:34306Accepted:16137Case Time Limit:2000MSDescriptionFor the daily milking, Farmer...
分类:其他好文   时间:2014-08-16 17:01:10    阅读次数:237
poj 3373
Changing Digits Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 2960   Accepted: 952 Description Given two positive integers n and k, you are asked to genera...
分类:其他好文   时间:2014-08-16 15:12:30    阅读次数:198
zoj3010The Lamp Game(状态压缩+SPFA求最大路)经典
The Lamp Game Time Limit: 2 Seconds Memory Limit: 65536 KB Little Tom likes playing games. Recently he is fond of a game called Lamp Game. The game is like this: at first, there are n lamps o...
分类:其他好文   时间:2014-08-16 15:10:10    阅读次数:250
数论 Number Transformation HDU4952
已知n,k,操作k次,每次操作求大于n且能被次数i整除的最小的数 已知x*i,所以(i+1)*y>=x*i,y>=x-[x/(i+1)],当x #include int main() { long long n,k; long long i; int time=0; while(scanf("%I64d%I64d",&n,&k)!=-1) { ...
分类:其他好文   时间:2014-08-16 15:07:40    阅读次数:162
foreach、while、for性能比较
一般情况下,遍历一个数组有三种方法,for、while、foreach。其中最简单方便的是foreach。那么它们在操作和性能上存在什么差别,通常使用那种方法比较好。下面先让我们来测试一下共同遍历一个有50000个下标的一维数组所耗的时间:测试代码:';unset($str, $time_start...
分类:其他好文   时间:2014-08-16 15:03:50    阅读次数:287
蛇形填数之斜着排
/* 题目大意:填数 解题思路:模拟填数的过程 难点详解:模拟填数的过程考虑清楚即可 关键点:如何填数,如何控制填数的次数 解题人:lingnichong 解题时间:2014/08/16    12:40 解题体会:是蛇形填数的另外一种变形 */ 奇数阶魔方 Time Limit : 2000/1000ms (Java/Other)   Memory L...
分类:其他好文   时间:2014-08-16 13:53:30    阅读次数:261
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!