摘要:
#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... 阅读全文
摘要:
递归#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[... 阅读全文