码迷,mamicode.com
首页 >  
搜索关键字:date time    ( 77231个结果
codechef Little Elephant and Permutations题解
The Little Elephant likes permutations. This time he has a permutation A[1], A[2], ..., A[N] of numbers 1, 2, ...,N. He calls a permutation A good, if the number of its inversions is equal to the n...
分类:其他好文   时间:2014-05-07 07:20:50    阅读次数:356
[2013山东ACM省赛] The number of steps (概率DP,数学期望)
The number of steps Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述     Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the seco...
分类:其他好文   时间:2014-05-07 06:15:59    阅读次数:427
poj3041(二分匹配简单题)
题目链接:http://poj.org/problem?id=3041 Asteroids Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 14022   Accepted: 7629 Description Bessie wants to...
分类:其他好文   时间:2014-05-07 05:59:05    阅读次数:366
C++ 标准库之typeid
本文只讲述typeid这个操作符,呃  ,它确实是一个操作符,类似于 sizeof 操作符。 在将该操作符之前,不得不提的是 RTTI(Run-Time Type Identification,运行时类型识别),其实就是说在运行期得到对 象的实际的类型。这立刻使我们想到了 “可以通过基类的指针和引用可以指向实际的派生类型”。啊哦,答对了,这就是typeid 这个强大操作符所做的事...
分类:编程语言   时间:2014-05-07 05:58:26    阅读次数:350
wikioi 1163 访问艺术馆 树形dp
递归建树,由题知该树是一棵二叉树,且除根节点外其他点的度为0或2。 dp[i][j]表示来到第i个走廊(还未走过这条走廊)还剩下j时间,能拿到最大的画的数量。 dp[i][j]=max(dp[i][j],dp[lson[i]][k]+dp[rson][last_time-k]) #include #include using namespace std; int dp[200][70...
分类:其他好文   时间:2014-05-07 05:02:45    阅读次数:295
Java中输出当前时间的各种方法(较齐全)
package com.grace.test; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Calendar; import java.util.Date; public class showDate { pu...
分类:编程语言   时间:2014-05-07 04:56:51    阅读次数:336
[ACM] poj 2096 Collecting Bugs (概率DP,期望)
Collecting Bugs Time Limit: 10000MS   Memory Limit: 64000K Total Submissions: 2026   Accepted: 971 Case Time Limit: 2000MS   Special Judge Description Ivan is fond o...
分类:其他好文   时间:2014-05-07 04:29:43    阅读次数:450
java中一个memcached案例
下面先来一个网络上的案例,这个案例比较简单,直接在类中进行一些参数的配置,具体代码如下: package com.wzpmt;     import java.util.ArrayList;  import java.util.Date;  import java.util.List;     import com.danga.MemCached.MemCachedClient;  impo...
分类:编程语言   时间:2014-05-07 03:57:53    阅读次数:510
oracle10g获取Date类型字段无时分秒解决办法!
oracle11G则可以获取数据库Date类型的时分秒而oracle10G无法获取的原因...
分类:数据库   时间:2014-05-06 19:29:07    阅读次数:355
HDOJ3336 Count the string 【KMP前缀数组】+【动态规划】
Count the string Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 4212    Accepted Submission(s): 1962 Problem Description It is wel...
分类:其他好文   时间:2014-05-06 15:27:24    阅读次数:306
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!