码迷,mamicode.com
首页 >  
搜索关键字:time    ( 52982个结果
C++ 实现判断一个输入日期是星期几,是一年中的第几天
/* 通过输入年月日,计算出这一天是星期几,计算这一天是这一年的多少天,判断这一年是否为闰年 */ #include using namespace std; struct time { int year; int month; int day; unsigned int weekday; }; void initialtime(time & t);//输入初始化时...
分类:编程语言   时间:2015-04-15 09:42:13    阅读次数:293
杭电 HDU ACM 1496 Equations
Equations Time Limit: 6000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 6065    Accepted Submission(s): 2455 Problem Description Consider equations h...
分类:其他好文   时间:2015-04-15 09:41:10    阅读次数:194
Lintcode: Two Strings Are Anagrams
Write a method anagram(s,t) to decide if two strings are anagrams or not.ExampleGiven s="abcd", t="dcab", return trueO(N)time, O(1) space 1 public cla...
分类:其他好文   时间:2015-04-15 07:12:54    阅读次数:104
Color the ball(线段树)
Time Limit: 9000/3000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 11355Accepted Submission(s): 5655Problem Descripti...
分类:其他好文   时间:2015-04-15 00:59:35    阅读次数:221
1455: 罗马游戏
1455: 罗马游戏Time Limit:5 SecMemory Limit:64 MBSubmit:721Solved:272[Submit][Status][Discuss]Description罗马皇帝很喜欢玩杀人游戏。 他的军队里面有n个人,每个人都是一个独立的团。最近举行了一次平面几何测试...
分类:其他好文   时间:2015-04-15 00:55:26    阅读次数:188
ZOJ3778--一道水题
DescriptionAs we all know, Coach Gao is a talented chef, because he is able to cook M dishes in the same time. Tonight he is going to have a hearty di...
分类:其他好文   时间:2015-04-15 00:45:21    阅读次数:168
A Knight's Journey(DFS)深搜
A Knight's Journey Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 33634 Accepted: 11450 Description Background  The knight is getting bored of seeing the...
分类:其他好文   时间:2015-04-14 23:25:02    阅读次数:396
SBT模版
3224: Tyvj 1728 普通平衡树Time Limit:10 SecMemory Limit:128 MBSubmit:3378Solved:1379[Submit][Status][Discuss]Description您需要写一种数据结构(可参考题目标题),来维护一些数,其中需要提供以下...
分类:其他好文   时间:2015-04-14 23:17:41    阅读次数:277
1774: [Usaco2009 Dec]Toll 过路费
1774: [Usaco2009 Dec]Toll 过路费Time Limit:10 SecMemory Limit:64 MBSubmit:263Solved:154[Submit][Status][Discuss]Description跟所有人一样,农夫约翰以着宁教我负天下牛,休叫天下牛负我的伟...
分类:其他好文   时间:2015-04-14 23:16:23    阅读次数:304
java8 之java.time
Java 8 之 java.time 包标签:javajava8| 发表时间:2013-10-15 08:29 | 作者:coderbee分享到:出处:http://coderbee.net包概述java.time 包是在JDK8新引入的,提供了用于日期、时间、实例和周期的主要API。java.ti...
分类:编程语言   时间:2015-04-14 23:01:53    阅读次数:279
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!