摘要: Link Solution: ans=sum of total triangles - sum of triangles with different colors Define the angle with different edge as D-angle. Consider triangles 阅读全文
posted @ 2020-02-11 12:23 feibilun 阅读(322) 评论(1) 推荐(0)
摘要: Link Solution 1 Hungarian: class Solution { public: int m,n; vector<vector<int>> g; vector<vector<int>> dir={{0,-1},{-1,-1},{1,-1},{0,1},{-1,1},{1,1}} 阅读全文
posted @ 2020-02-11 09:55 feibilun 阅读(178) 评论(0) 推荐(0)