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

nothing new

by prudhvi

Status: Passed
Results: pass
CPU Time: 0.24
Score: 96.0
Submitted at: 2003-11-05 16:13:45 UTC
Scored at: 2003-11-05 16:53:46 UTC

Current Rank: 19th
Based on: Whatever IV (diff)

Comments
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