POJ 2398 Toy Storage
摘要:
#include#include#includeusing namespace std;#define Max 2000using namespace std;struct Node{ int x,y;}point1[Max],point2[Max],high,low,tmp;int n,tm[Max],ans[Max];bool cmp(Node a,Node b){ if(a.x0) return 1; return 0;}int search(){ int l=0,r=n-1,mid; while(l>1; if(cal(poin... 阅读全文
posted @ 2013-07-16 21:34 雨钝风轻 阅读(222) 评论(0) 推荐(0) 编辑