Problem Description Everyone knows Matt enjoys playing games very much. Now, he is playing such a game. There are N rooms, each with one door. There a
分类:
其他好文 时间:
2016-02-11 13:24:36
阅读次数:
239
Struts2 框架: 1、作用:封装了 jsp servlet ,按照 mvc 的开发模式 进行了封装。 2、Mvc: model one model two (mvc) model view controller 控制层 3、Struts1 struts2(xwork webwork (fram
分类:
其他好文 时间:
2016-02-10 13:09:17
阅读次数:
197
原文网址:使用CAGradientLayer的动画精度条View Modern software design is getting flatter and thinner all the time. Another trend that follows suit is the thin, one
分类:
其他好文 时间:
2016-02-10 09:50:06
阅读次数:
200
A Set contains no duplicate elements. That is one of the major reasons to use a set. There are 3 commonly used implementations of Set: HashSet, TreeSe
分类:
其他好文 时间:
2016-02-09 17:23:20
阅读次数:
334
题目链接 Problem Description Your input is a series of rectangles, one per line. Each rectangle is specified as two points(X,Y) that specify the opposite
分类:
其他好文 时间:
2016-02-09 16:40:07
阅读次数:
264
一、ImageView介绍 设置scalType Must be one of the following constant values. ConstantValueDescription matrix 0 Scale using the image matrix when drawing. Se
分类:
移动开发 时间:
2016-02-08 21:21:59
阅读次数:
235
UVA - 679Dropping BallsTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %lluSubmit StatusDescriptionA number of K balls are dropped one ...
分类:
其他好文 时间:
2016-02-08 17:26:37
阅读次数:
294
Given two strings S and T, determine if they are both one edit distance apart. 这道题是之前那道Edit Distance的拓展,然而这道题并没有那道题难,这道题只让我们判断两个字符串的编辑距离是否为1,那么我们只需分下列
分类:
其他好文 时间:
2016-02-07 17:25:46
阅读次数:
214
public static int[] max_min(int[] a){ //res[0] records the minimum value while res[1] records the maximal one. int res[] = new int[2]; int n = a.lengt
分类:
其他好文 时间:
2016-02-07 09:44:28
阅读次数:
246
Description Once upon a time in a country far away lived a king and he had a big kingdom. He was a very clever king but he had one weakness -- he coul
分类:
其他好文 时间:
2016-02-06 18:15:38
阅读次数:
195