1. 问题描述 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). Note: Bonus points if you could solve it both r ...
分类:
其他好文 时间:
2016-08-21 00:45:20
阅读次数:
215
Given n points on a 2D plane, find the maximum number of points that lie on the same straight line. ...
分类:
其他好文 时间:
2016-08-20 23:19:32
阅读次数:
173
Problem Description Luxer is a really bad guy. He destroys everything he met. One day Luxer went to D-city. D-city has N D-points and M D-lines. Each ...
分类:
其他好文 时间:
2016-08-20 20:38:28
阅读次数:
123
本文对于informatica使用过程中产生的问题及解决方案做总结,持续更新中。。。 1、partitioning option license required to run sessions with user_defined partition points 原因:union 组件要求使用分区 ...
分类:
其他好文 时间:
2016-08-19 13:11:05
阅读次数:
571
题意:给定 n 个点,让你用最长的周长把它们严格包围起来,边长只能用小格子边长或者是小格子对角线。 析:先把每个点的上下左右都放到一个集合中,然后求出一个凸包,然后先边长转成题目的方式,也好转两个点的最小的*根号2加上两者差*1. 代码如下: ...
分类:
其他好文 时间:
2016-08-18 12:30:17
阅读次数:
131
题目地址:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=4871
思路:将所有点上下左右四个点构成的集合求一遍凸包,边长不能直接计算(正确结果可能不为凸包)。
边长计算用下列式子:
x=fabs(a.x-b.x)
y...
分类:
其他好文 时间:
2016-08-17 23:14:05
阅读次数:
198
原文链接:http://caibaojian.com/fe-knowledge-points.html 前端知识点 A-A+ 前端博客?2015-12-24?前端开发资源?前端开发?1650View1 前端知识点 A-A+ 前端博客?2015-12-24?前端开发资源?前端开发?1650View1 ...
分类:
其他好文 时间:
2016-08-17 13:51:54
阅读次数:
306
题目链接: Special Tetrahedron Time Limit: 4000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Problem Description Given n points which ar ...
分类:
其他好文 时间:
2016-08-16 16:11:29
阅读次数:
150
kd-tree参考资料: http://my.oschina.net/keyven/blog/221792 http://blog.csdn.net/lsjseu/article/details/12344443 ...
分类:
其他好文 时间:
2016-08-15 12:48:23
阅读次数:
177