码迷,mamicode.com
首页 >  
搜索关键字:coordinate    ( 414个结果
bnu 34982 Beautiful Garden
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
Container With Most Water
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
POJ 2907 Collecting Beepers (DFS+回溯)
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
Leetcode | Container With Most Water
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
[LeetCode] Container With Most Water
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
Container With Most Water leetcode java
题目: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
Java版贪吃蛇小游戏的实现
使用的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
【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
让Firefox支持offsetX、offsetY
//计算光标相对于第一个定位的父元素的坐标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
LeetCode——Container With Most Water
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
414条   上一页 1 ... 37 38 39 40 41 42 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!