摘要:
转载自http://www.cnblogs.com/devtang/archive/2012/02/01/2334977.html先介绍几种极角排序:1.利用叉积的正负来作cmp.(即是按逆时针排序).1 bool cmp(const point &a, const point &b)//逆时针排序... 阅读全文
摘要:
题目链接D. Appleman and Treetime limit per test :2 secondsmemory limit per test:256 megabytesinput :standard inputoutput:standard outputAppleman has a tre... 阅读全文
摘要:
题目链接A. Appleman and Easy Tasktime limit per test:2 secondsmemory limit per test:256 megabytesinput:standard inputoutput:standard outputToastman came u... 阅读全文