Beautiful Garden
There are n trees planted in lxhgww's garden. You can assume that these trees are planted along the X-axis, and the coordinate of ith tree
is xi.
But in rece...
分类:
其他好文 时间:
2014-08-16 21:10:21
阅读次数:
174
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpoints of line i is at (i, ai) and (i, 0). Find two lines, which together with x-axis forms a container, suc...
分类:
其他好文 时间:
2014-08-15 10:47:38
阅读次数:
255
Description
Karel is a robot who lives in a rectangular coordinate system where each place is designated by a set of integer coordinates (x and y). Your job is to design a program that will help ...
分类:
其他好文 时间:
2014-08-13 01:17:24
阅读次数:
312
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-08-05 18:54:19
阅读次数:
282
Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two endpo...
分类:
其他好文 时间:
2014-07-30 12:05:03
阅读次数:
248
题目:Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two e....
分类:
编程语言 时间:
2014-07-27 11:04:52
阅读次数:
278
使用的IDE eclipseJDK版本 1.6辅助类 Coordinate.javapackage com.nn.util; /** *坐标点 */ public class Coordinate { public int x; public int y; ...
分类:
编程语言 时间:
2014-07-25 16:37:01
阅读次数:
424
【glTexGen】 Rather than having to explicitly provide a texture coordinate for each vertex, we can use texture coordinate generation (texgen) functions....
分类:
其他好文 时间:
2014-07-23 20:48:55
阅读次数:
227
//计算光标相对于第一个定位的父元素的坐标function coordinate(e){ var o = window.event || e, coord, coord_X, coord_Y; coord_X = (o.offsetX === undefined) ...
分类:
其他好文 时间:
2014-07-22 00:12:34
阅读次数:
281
Given n non-negative integers a1, a2,
..., an, where each represents a point at coordinate (i, ai). n vertical
lines are drawn such that the two endpoints of line i is at (i, ai) and (i,
0). Fin...
分类:
其他好文 时间:
2014-07-08 14:21:56
阅读次数:
190