问题 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
引言数学计算的模拟类题目,往往是要求实现某种计算(比如两数相除),实现的过程中会有所限定,比如不允许乘法等等。这类题目首先要注意计算过程中本身的特殊情况。比如求相除,则必须首先反映过来除数不能为0。其次要记得考虑负数的情况,如果计算范围不单单是整数,还要考虑double的比较方式。最后要注意越界情况...
分类:
其他好文 时间:
2014-05-25 19:10:39
阅读次数:
287
Remove Duplicates from Sorted ArrayGiven a
sorted array, remove the duplicates in place such that each element appear only
once and return the new len...
分类:
其他好文 时间:
2014-05-25 19:08:31
阅读次数:
203
【题目】
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
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