Date类在JDK1.0中,Date类是唯一的一个代表时间的类,但是由于Date类不便于实现国际化,所以从JDK1.1版本开始,推荐使用Calendar类进行时间和日期处理。这里简单介绍一下Date类的使用。1、使用Date类代表当前系统时间Date
d = new Date();System.ou...
分类:
其他好文 时间:
2014-06-13 14:30:39
阅读次数:
273
坦克大战时间限制:1000ms | 内存限制:65535KB难度:3描述Many of us
had played the game "Battle city" in our childhood, and some people (like me)
even often play it on com...
分类:
其他好文 时间:
2014-06-13 08:24:42
阅读次数:
221
原题地址:https://oj.leetcode.com/problems/jump-game/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the arr...
分类:
编程语言 时间:
2014-06-12 18:04:54
阅读次数:
540
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given
an array of non-negative integers, you are initially positioned at the first
index of the ...
分类:
编程语言 时间:
2014-06-12 17:38:49
阅读次数:
323
题意:http://acdream.info/problem?pid=1112
Problem Description
Here is Alice and Bob again !
Alice and Bob are playing a game. There are several numbers.First, Alice choose a number n.Then he c...
分类:
其他好文 时间:
2014-06-10 14:48:56
阅读次数:
236
声音1. 声音的使用涉及三个概念:()Listener
——监听声音的object,一个场景只能有一个Listener(2)声音源文件(3)声音剪辑clip ——
我理解的是吧源文件放到scene关联object就成为了一个clip2. 声音unity3d支持的格式包括mp3,wav,ogg等3D和...
分类:
其他好文 时间:
2014-06-10 12:01:30
阅读次数:
295
有Google Task的地方,一般都会有Google Calendar,我在上个章节给大家分享了,如何用Google APIs和Google的应用系统进行集成(5)----如何把Google Tasks的JSON Schema转换成XML的Schema(XSD)?(http://blog.csdn.net/chancein007/article/details/29645055),那么Google Calendar的JSON Schema转换成XML的Schema将会是什么样子的呢?首先我们先列出Goog...
Two players, S and T, are playing a game where they make alternate moves. S plays
first.
In this game, they start with an integer N. In each move, a player removes one digit from the integer and p...
分类:
其他好文 时间:
2014-06-10 06:31:29
阅读次数:
302