problemscpp
A collection of my answers to algorithm problems in c++.
leetcode::detect_squares 命名空间参考

LeetCode 2013. 检测正方形 更多...

class  DetectSquares
 

详细描述

LeetCode 2013. 检测正方形

Your DetectSquares object will be instantiated and called as such: DetectSquares* obj = new DetectSquares(); obj->add(point); int param_2 = obj->count(point);