摘要:
相当经典的动归. #include const int MAX=100001; int f[MAX]; struct{ int z,y; }arr[2*MAX]; int main(){ int N,n,i,j,max,num; while(scanf("%d",&N)!=-1){ i=1; while(i=0;){ max=0; for(... 阅读全文
posted @ 2007-09-01 02:49
saintqdd
阅读(435)
评论(0)
推荐(0)