Description Bessie has moved to a small farm and sometimes enjoys returning to visit one of her best friends. She does not want to get to her old home ...
分类:
数据库 时间:
2016-08-22 09:31:36
阅读次数:
303
问题链接:HDU4607 Park Visit。
题意简述:莱克尔和她的朋友到公园玩,公园很大也很漂亮。公园包含n个景点通过n-1条边相连。克莱尔太累了,所以不能去参观所有点景点。经过深思熟虑,她决定只访问其中的k个景点。她拿出地图发现所有景点的入口都很特殊。所以她想选择一个入口,并找到一条最短的路来参观k个景点。假设景点之间的距离为1。
输入数据:先输入测试用例数t,每个测试用例数据包括...
分类:
其他好文 时间:
2016-08-21 19:59:10
阅读次数:
229
问题链接:HDU4607 Park Visit。
问题简述:莱克尔和她的朋友到公园玩,公园很大也很漂亮。公园包含n个景点通过n-1条边相连。克莱尔太累了,所以不能去参观所有点景点。经过深思熟虑,她决定只访问其中的k个景点。她拿出地图发现所有景点的入口都很特殊。所以她想选择一个入口,并找到一条最短的路来参观k个景点。假设景点之间的距离为1。
输入数据:先输入测试用例数t,每个测试用例数据包括...
分类:
其他好文 时间:
2016-08-21 08:38:42
阅读次数:
147
8、登录mysql
mysql-urot-p单实例
mysql-uroot-p-S/data/3306/mysql.sock多实例
9、MySQL帮助命令help
mysql>help
ForinformationaboutMySQLproductsandservices,visit:
http://www.mysql.com/
Fordeveloperinformation,includingtheMySQLReferenceManual,visit:
http://..
分类:
数据库 时间:
2016-08-10 08:51:08
阅读次数:
264
计算几何 计算 一串可能有相交可能有相离的同半径且圆心在同一水平面的圆的总面积
总共是分三类讨论
1、相交, 圆心相距比较远, 相交并且 相交部分在那个菱形里面
2、相交, 圆心相距比较近, 那个菱形在相交部分里面
3、相离, 外离
注意一下精度
然后就是 每次把相交部分算到前一个圆, 然后一次算去就好了
Wrong answer, 然后对圆心排个序就通过了, 本来以为默认就是升序的, 结果是乱序的⊙﹏⊙‖∣
复杂度 O(n)
这个是队友代码实现的, 所以向队友 nardo 要了AC代码...
分类:
其他好文 时间:
2016-08-09 13:42:56
阅读次数:
199
Description One day , Kiki wants to visit one of her friends. As she is liable to carsickness , she wants to arrive at her friend’s home as soon as po ...
分类:
其他好文 时间:
2016-08-07 12:28:11
阅读次数:
251
Farm Tour Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 14730 Accepted: 5614 Description When FJ's friends visit him on the farm, he like ...
分类:
其他好文 时间:
2016-08-02 09:59:38
阅读次数:
180
有如下三张表: 销售表:SALE_FACT 员工表:DIM_EMP 拜访表:VISIT_FACT ...
分类:
数据库 时间:
2016-08-02 09:58:28
阅读次数:
303
问题 C: Proxy 题目描述 Because of the GFW (Great Firewall), we cannot directly visit many websites, such as Facebook, Twitter, YouTube, etc. But with the he ...
分类:
其他好文 时间:
2016-07-31 17:35:39
阅读次数:
279
You want to visit a strange country. There are n cities in the country. Cities are numbered from 1 to n. The unique way to travel in the country is ta ...
分类:
其他好文 时间:
2016-07-31 15:55:52
阅读次数:
167