摘要: Rectangle and Square大意:给你8个点,看里面能不能有一个正方形,一个矩形,如果有,输出YES和正方形点的编号和矩形编号,不能输出NO。PS:正方形和矩形的判断可以当做模板来使用 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 #define LL long long 10 using namespace std; 11 #define N 12 13 struct node 14 { 15 int x... 阅读全文
posted @ 2013-11-10 20:52 GLSilence 阅读(291) 评论(0) 推荐(0) 编辑