Finish 2003-11-12 15:00:00 UTC

test30

by Alex

Status: Passed
Results: pass
CPU Time: 0.451
Score: 102.0
Submitted at: 2003-11-05 16:03:04 UTC
Scored at: 2003-11-05 16:11:27 UTC

Current Rank: 83rd
Based on: FDA disapp2 (diff)
Basis for: test31 (diff)
Basis for: e (diff)

Comments
Alex
05 Nov 2003
-
Please login or create a profile.
Code
[m n]=size(a)
b=0
for k=1:9
  for i=1:m-k
    for j=1:n-k
      c = a(i:i+k,j:j+k)
      if ~(c-c(1))
        b = max(b, c(1)*nnz(c))
      end
    end
  end
end