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

test31

by Alex

Status: Passed
Results: pass
CPU Time: 0.361
Score: 96.0
Submitted at: 2003-11-05 16:07:15 UTC
Scored at: 2003-11-05 16:26:32 UTC

Current Rank: 15th
Based on: test30 (diff)
Basis for: test90 (diff)
Basis for: test32 (diff)

Comments
Alex
05 Nov 2003
-
Please login or create a profile.
Code
[m n b]=size(a)
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, sum(c(:)) )
      end
    end
  end
end