给出一些点的初始位置(x, y)及速度(a, b)和一个矩形框,求能同时出现在矩形框内部的点数的最大值。把每个点进出矩形的时刻分别看做一个事件,则每个点可能对应两个事件,进入事件和离开事件。按这些事件的发生时间进行排序,然后逐个扫描,遇到进入事件cnt++,遇到离开事件--cnt,用ans记录cnt...
分类:
其他好文 时间:
2014-08-02 23:10:24
阅读次数:
307
设置:export MONGO_URL=mongodb://192.168.30.71:27017/myapp 取消:unset MONGO_URL
分类:
数据库 时间:
2014-07-31 17:26:47
阅读次数:
464
The famous Korean internet company nhn has provided
an internet-based photo service which allows The famous Korean internet company
users to directly ...
分类:
其他好文 时间:
2014-06-06 17:20:53
阅读次数:
256
【题目】
The famous Korean internet company nhn has provided an internet-based photo service which allows The famous Korean internet company users to directly take a photo of an astronomical phenomenon...
分类:
其他好文 时间:
2014-05-13 13:34:50
阅读次数:
453