摘要:
http://acm.hdu.edu.cn/showproblem.php?pid=4739这题是dfs,只需一个一个搜就可以了#include#include#includestruct node{ int x,y;}s[50];int N,ans,v[50];int cmp(const void *a,const void *b){ struct node *c=(struct node *)a; struct node *d=(struct node *)b; if(c->y==d->y) return c->x>d->x; else retu... 阅读全文