Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:1AC, 顶起PASCALIn Reply To:1AC, 顶起PASCAL Posted by:qiuwenhuah at 2012-08-24 09:28:16 > for i:=1 to n do > for j:=1 to m do > if (a[i,j]>=a[i-1,j])and(a[i,j]>=a[i+1,j])and(a[i,j]>=a[i,j-1])and(a[i,j]>=a[i,j+1]) then > dfs(i,j,0); 求大神解释一下这个优化怎么说 为什么那个点要高于周围的点而且可以等于?? Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator