码迷,mamicode.com
首页 >  
搜索关键字:time    ( 52982个结果
touch 命令
linux的touch命令不常用,一般在使用make的时候可能会用到,用来修改文件时间戳,或者新建一个不存在的文件。1.命令格式:touch[选项]...文件...2.命令参数:-a或--time=atime或--time=access或--time=use 只更改存取时间。-c或--no-crea...
分类:其他好文   时间:2014-05-21 19:47:57    阅读次数:297
Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-21 17:27:55    阅读次数:252
LeetCode: First Missing Positive [040]
【题目】 Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses constant space. 【题意】 给定一个数组,找出第一个缺失的正数。时间复杂度O(n) ...
分类:其他好文   时间:2014-05-21 17:13:07    阅读次数:219
2014百度之星资格赛第三题
Xor Sum Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 132768/132768 K (Java/Others) Total Submission(s): 7837    Accepted Submission(s): 3350 Problem Description Zeus 和 Prometheu...
分类:其他好文   时间:2014-05-21 17:02:00    阅读次数:160
bzoj 3246 [Ioi2013] Dreaming 题解
【原题】 3246: [Ioi2013]Dreaming Time Limit: 10 Sec  Memory Limit: 64 MB Submit: 194  Solved: 68 Description Serpent(水蛇)生活的地方有N个水坑,编号为0,...,N - 1,有M条双向小路连接这些水坑。每两个水坑之间至多有一条路径(路径包含一条或多条小路)相互连接...
分类:其他好文   时间:2014-05-21 16:29:01    阅读次数:350
2014百度之星资格赛第四题
Labyrinth Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2911    Accepted Submission(s): 1007 Problem Description 度度熊是一只喜欢探险的熊,一次偶...
分类:其他好文   时间:2014-05-21 15:14:47    阅读次数:265
2014百度之星资格赛第二题
Disk Schedule Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2560    Accepted Submission(s): 366 Problem Description 有很多从磁盘读取数据的需求...
分类:其他好文   时间:2014-05-21 14:53:09    阅读次数:272
构造函数
构造函数:构造函数是一种特殊的成员函数 构造函数的特点: 1 构造函数的函数名和类名相同 2 构造函数没有返回值 3 构造函数用于初始化对象 通过一个实例说明构造函数的作用 #include using namespace std; class Time//时间类 { public: void set_time();//设置时间 void show_time();//...
分类:其他好文   时间:2014-05-21 14:38:17    阅读次数:263
2014百度之星资格赛第一题
Energy Conversion Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 11867    Accepted Submission(s): 2861 Problem Description   魔法师百小...
分类:其他好文   时间:2014-05-21 14:35:06    阅读次数:364
poj 1837 Balance
Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 10065   Accepted: 6231 Description Gigel has a strange "balance" and he wants to poise it. Actually...
分类:其他好文   时间:2014-05-21 07:23:20    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!