摘要: #include#include#includeusing namespace std;struct node{ int x,y; int h;}b[510*510];int cmp(node n1,node n2){ return n1.h<n2.h;}int m... 阅读全文
posted @ 2015-09-25 13:51 xryz 阅读(99) 评论(0) 推荐(0) 编辑
摘要: 递归#include#include#includeusing namespace std;int n,d[124][124],ans[124][124];int maxans(int i,int j){ if(ans[i][j]!=-1) return ans[... 阅读全文
posted @ 2015-09-25 11:28 xryz 阅读(131) 评论(0) 推荐(0) 编辑