The closet pair problem 標準的Divide and conquer 有數學式證明只需要檢查該點Y排序好的上下共七點即可 然後restrict的範圍我是用比較直觀的大小 但也有可能可以更好 http://nopaste.csie.org/fe27d