码迷,mamicode.com
首页 >  
搜索关键字:time    ( 52982个结果
GCD 延时操作
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(delayInSeconds * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{ code to be executed after ...
分类:其他好文   时间:2014-06-13 00:49:06    阅读次数:271
第八章 线性时间排序 8.3 基数排序
package chap08_Linear_Time_Sort;import static org.junit.Assert.*;import java.util.Arrays;import org.junit.Test;public class CopyOfSortAlgorithms { /**...
分类:其他好文   时间:2014-06-12 20:32:16    阅读次数:231
ytu 1059: 判别该年份是否闰年(水题,宏定义)
1059: 判别该年份是否闰年Time Limit:1 SecMemory Limit:128 MBSubmit:222Solved:139[Submit][Status][Web Board]Description给年份year,定义一个宏,以判别该年份是否闰年。提示:宏名可以定义为LEAP_YE...
分类:其他好文   时间:2014-06-10 20:34:26    阅读次数:288
I Remember The Very First Time I Saw A Body Opponent Bag
Unlike other promotional products, custom, these bags are? U? A useful tool for advertising because the ads joke Wielen fill the chest. If you want yo...
分类:其他好文   时间:2014-06-10 20:12:34    阅读次数:298
swift中函数使用
1,普通函数定义及使用 func myFunction(message:String="message",repeat:Int = 1){//可以设置函数默认参数值(very nice) println("text is \(message) time is :\(repeat)") }...
分类:其他好文   时间:2014-06-10 19:32:10    阅读次数:202
MariaDB10和MySQL5.6社区版压力测试
补上作业,MariaDB10和MySQL5.6社区版压力测试,见下图:sysbench(10.8.8.43)MySQL5.6和MariaDB10.0.11(10.8.8.100)压力测试参数:sysbench--test=oltp--mysql-table-engine=innodb --oltp-table-size=10000000--max-requests=0--max-time=900 --num-threads=512--mysql-ho..
分类:数据库   时间:2014-06-10 18:52:48    阅读次数:384
Unique Paths
题目 A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below). The robot can only move either down or right at any point in time. The robot is trying t...
分类:其他好文   时间:2014-06-10 18:43:37    阅读次数:254
HDU 2048 数塔(DP)
数塔 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 20786    Accepted Submission(s): 12486 Problem Description 在讲述DP算法的时候,一个经典的例子就是数...
分类:其他好文   时间:2014-06-10 18:03:42    阅读次数:272
HDU 1176 免费馅饼 (DP)
免费馅饼 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 24440    Accepted Submission(s): 8264 Problem Description 都说天上不会掉馅饼,但有一天gamebo...
分类:其他好文   时间:2014-06-10 18:03:05    阅读次数:184
Leetcode: Container With Most Water
The most strait forward approach is calculating all the possible areas and keep the max one as the result. This approach needs O(n*n) time complexity,...
分类:其他好文   时间:2014-06-10 16:11:31    阅读次数:184
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!