首页
Python
Java
IOS
Andorid
NodeJS
JavaScript
HTML5
【
hdu4001
】的更多相关文章
hdu4001
参考博客http://www.cppblog.com/aswmtjdsj/archive/2011/09/04/155049.aspx 维护4根双扫描线,左右和上下.暴力枚举,复杂度O(n^2). #define _CRT_SECURE_NO_DEPRECATE #include<iostream> #include<algorithm> using namespace std; const int MAXN = 1001; struct Point{ int x, y; }; i…