A robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is trying to reach the bottom-right corner of the grid (marked 'Finish' in the diag...
分类:
其他好文 时间:
2014-08-15 09:32:37
阅读次数:
200
1 public class ChessPieceTurn { };2 public class GameManager {3 void processTurn(PlayerBase player) { };4 boolean acceptTurn(ChessPieceTurn turn) { re...
分类:
其他好文 时间:
2014-08-14 08:11:38
阅读次数:
301
Just take care of corner cases!class Solution {public: vector fullJustify(vector &words, int L) { vector ret; int startInx = 0; ...
分类:
其他好文 时间:
2014-08-13 10:17:25
阅读次数:
174
~~~~
题意: 给你一个R*C的图,求其由图中连通‘#“所组成的矩形的个数。
注意:If the ships
were placed correctly (i.e., there are only rectangles that do not touch each other even with a corner), print the sentence "There are S shi...
分类:
其他好文 时间:
2014-08-13 01:16:24
阅读次数:
242
SIFT(Scale-invariant feature transform)是一种检測局部特征的算法,该算法通过求一幅图中的特征点(interest points,or corner points)及其有关scale 和 orientation 的描写叙述子得到特征并进行图像特征点匹配,获得了良好...
分类:
其他好文 时间:
2014-08-11 20:40:12
阅读次数:
333
Unique PathsA robot is located at the top-left corner of amxngrid (marked 'Start' in the diagram below).The robot can only move either down or right a...
分类:
其他好文 时间:
2014-08-09 00:02:06
阅读次数:
201
Problem DescriptionDuring summer vacation,Alice stay at home for a long time, with nothing to do. She went out and bought m pokers, tending to play po...
分类:
其他好文 时间:
2014-08-06 22:52:52
阅读次数:
326
1. We're not watching this。我们不看这个。2. Could you stop flipping the channels?你能不能不要一直转台啊?3. I'd appreciate it if you could turn it down。如果你能把音量关小一点的话,我会很...
分类:
其他好文 时间:
2014-08-05 18:29:10
阅读次数:
235