commit
87f8ac21ca6d2d086984dfc39b1869dc51ecd36fAuthor: Vitasic Date: Tue Jun 26
15:43:38 2012 +0400 Add Fake Playersdiff --git a/src/server/game/...
分类:
数据库 时间:
2014-05-28 04:43:05
阅读次数:
409
题目链接题意: find the maximum positive difference
between the price on the ith day and the jth day附上代码: 1 class Solution { 2
public: 3 int maxProfit(ve...
分类:
其他好文 时间:
2014-05-28 03:49:45
阅读次数:
307
原题地址:https://oj.leetcode.com/problems/climbing-stairs/题意:You
are climbing a stair case. It takesnsteps to reach to the top.Each time you can
either cl...
分类:
编程语言 时间:
2014-05-28 03:27:49
阅读次数:
267
在实际的业务逻辑中,经常是与时间相关的,而前端能获得的时间有两个:客户端的时间,服务器的时间.客户端时间通过
javascript中的Date对象可以获取,如Java代码vardt=newDate();vartm=dt.getTime();那么tm就是客户端的时间,另外也可以通过对应的getFull...
分类:
Web程序 时间:
2014-05-28 03:23:30
阅读次数:
364
USE [szmj]GO/****** Object: StoredProcedure
[dbo].[Par_ProductDownLoad] Script Date: 05/26/2014 17:46:32 ******/SET
ANSI_NULLS ONGOSET QUOTED_IDEN...
分类:
其他好文 时间:
2014-05-28 03:07:11
阅读次数:
269
一个系列三道题,我都不会做,google之答案。过了两道,第三道看不懂,放置,稍后继续。一、Best
Time to Buy and Sell Stock
I题目:一个数组表示一支股票的价格变换。要求只买卖一次,获得最大收益。思路:一开始我认为是寻找最大、最小值,但由于最大值不一定总是出现在最小值的...
分类:
其他好文 时间:
2014-05-28 01:21:52
阅读次数:
262
题目: Say you have an array for which the ith element
is the price of a given stock on day i. If you were only permitted to complete
at most one transac...
分类:
其他好文 时间:
2014-05-28 00:55:20
阅读次数:
288
#!/bin/bash# Program to output a go source file
with user informationCURRENT_TIME=$(date +"%x %r %Z")cat <<
EOF/* Author:$USER CreatedAt:$CURRENT_TIME...
分类:
其他好文 时间:
2014-05-27 17:49:29
阅读次数:
283
You could use:Calendar c
=Calendar.getInstance();int seconds = c.get(Calendar.SECOND);There are plenty of
constants in Calendar for everything you nee...
分类:
移动开发 时间:
2014-05-27 17:13:56
阅读次数:
512
date()函数用于格式化时间或日期date(format,timestamp)mktime()函数可为指定的日期返回Unix时间戳mktime(hour,minuite,second,mouth,day,year,is_dst)include和require语句用于在执行流中向其他文件插入有用的代...
分类:
Web程序 时间:
2014-05-27 16:59:04
阅读次数:
278