Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:1AC, 顶起PASCAL

Posted by xiaohao0619 at 2012-09-16 16:40:00 on Problem 1088
In 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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator