问题 E: Distance
时间限制: 1 Sec 内存限制: 128 MB
提交: 48 解决: 12
[提交][状态][论坛]
题目描述
There is a battle field. It is a square with the side length 100 miles, and unfortunately we have two comrades who get ...
分类:
其他好文 时间:
2014-05-26 05:57:27
阅读次数:
325
add two numbers without arithmetic
分类:
其他好文 时间:
2014-05-26 01:25:43
阅读次数:
224
Remove Duplicates from Sorted Array II
分类:
其他好文 时间:
2014-05-26 01:20:51
阅读次数:
159
Search in Rotated Sorted Array I II
分类:
其他好文 时间:
2014-05-26 00:59:47
阅读次数:
197
通常在Surfaceview作为预览视频帧的载体,有时需在上面显示提示文字。以前我弄的都好好的...
分类:
移动开发 时间:
2014-05-25 18:27:16
阅读次数:
417
【题目】
Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary).
You may assume that the intervals were initially sorted according to their start times.
Example 1:
Given intervals [1,3],[6,9], insert and mer...
分类:
其他好文 时间:
2014-05-25 12:56:43
阅读次数:
271
战斗
懵懂的少年,不懂学习,整天旷课逃学,直到毕业
无意中成了村里伙伴唯一考上初中的,老人们说,厉害
上了初中还继续跟同学打架,老师批评,竟然落泪,然后老师说,你太小,留级
留级后黑暗中点日光灯,触电,怕怕,考试竟然进了班里的前三名
去重点高中!从此懂得了努力,第一次人生的战斗
在远离家乡的县城里,我看着眼花缭乱的游戏机,听到里面喊
three,two,one,zero,fight
...
分类:
其他好文 时间:
2014-05-25 12:50:32
阅读次数:
188
题目链接
第一次写nlogn复杂度的LIS,纪念一下。
题目意思是说。有两条平行线,两条平行线都有n个城市,都是从左到右标记为1--n,一条线上是富有城市,一个是贫穷城市。输入n,接下来有n行,p,r表示穷城市p和富有城市r
之间可以建一条路(p的顺序是1--n,一个贫穷城市只对应一个富有城市(弱爆的语文描述能力T_T)),公路不能交叉。
问最多可以建多少条公路。
...
分类:
其他好文 时间:
2014-05-25 09:58:28
阅读次数:
256
A palindromic number or numeral palindrome is a 'symmetrical' number like 16461 that remains the same when its digits are reversed. In this problem you will be given two integers i j, you have to find...
分类:
其他好文 时间:
2014-05-25 07:41:08
阅读次数:
253
Flip GameDescriptionFlip game is played on a
rectangular 4x4 field with two-sided pieces placed on each of its 16 squares.
One side of each piece is w...
分类:
其他好文 时间:
2014-05-25 03:21:52
阅读次数:
255