码迷,mamicode.com
首页 >  
搜索关键字:modify time(mtime)    ( 54886个结果
struct timespec 和 struct timeval
time()提供了秒级的精确度 .1、头文件 2、函数原型 time_t time(time_t * timer) 函数返回从TC1970-1-1 0:0:0开始到现在的秒数 用time()函数结合其他函数(如:localtime、gmtime、asctime、ctime)可以获得当前...
分类:其他好文   时间:2014-05-09 10:20:45    阅读次数:343
poj 1743 Musical Theme(男人八题&后缀数组第一题)
Musical Theme Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 17298   Accepted: 5939 Description A musical melody is represented as a sequence of N (1<=N<=20...
分类:其他好文   时间:2014-05-09 02:46:57    阅读次数:375
uva 10020- Minimal coverage (贪心思想 简单区间覆盖)
题目大意:给出一个范围M,然后给出若干的区间,以0 0 终止, 要求用最少的区间将0 ~M 覆盖,输出最少个数以及方案。 解题思路:典型的区间覆盖问题,算法竞赛入门经典P154上有讲。 /*author: charkj_z */ /*time: 0.108s */ /*rank: 674 */ /*为什么不把没用的地方去掉? 因为去掉了我觉得不像我能写出来的*/ /*Ac code :...
分类:其他好文   时间:2014-05-09 02:26:29    阅读次数:275
ZOJ 3780 Paint the Grid Again(topsort)
ZOJ Problem Set - 3780 Paint the Grid Again Time Limit: 2 Seconds      Memory Limit: 65536 KB Leo has a grid with N × N cells. He wants to paint each cell with a specific color (either black ...
分类:其他好文   时间:2014-05-09 02:00:35    阅读次数:506
[容斥原理] poj 3094 Sky Code
题目链接: http://poj.org/problem?id=3904 Sky Code Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 1334   Accepted: 405 Description Stancu likes s...
分类:其他好文   时间:2014-05-09 01:41:07    阅读次数:335
[容斥原理] hdu 4407 Sum
题目链接: http://acm.hdu.edu.cn/showproblem.php?pid=4407 Sum Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 1817    Accepted Submission(...
分类:其他好文   时间:2014-05-09 01:35:58    阅读次数:317
nefu 663 Emergency(flord算法)
Emergency Time Limit 3000ms Memory Limit 65536K description Kudo’s real name is not Kudo. Her name is Kudryavka Anatolyevna Strugatskia, and Kudo ...
分类:其他好文   时间:2014-05-09 01:12:58    阅读次数:310
poj3071之概率DP
Football Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 2667   Accepted: 1361 Description Consider a single-elimination football tournament involving 2n...
分类:其他好文   时间:2014-05-09 01:12:00    阅读次数:311
android 选取部分 log 的两种方法
Grep多个条件: android logcat -v time | grep -e A -e B 选取多个android log tag: android logcat -v time -s TAGA TAGB  例如:android logcat -s AndroidRuntime...
分类:移动开发   时间:2014-05-09 00:39:24    阅读次数:338
HDOJ 1385 Minimum Transport Cost
Minimum Transport Cost Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 7007    Accepted Submission(s): 1791 Problem Description The...
分类:其他好文   时间:2014-05-09 00:34:53    阅读次数:345
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!