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

test05.01

by Herzka

Status: Passed
Results: pass
CPU Time: 0.31
Score: 103.0
Submitted at: 2003-11-05 15:27:39 UTC
Scored at: 2003-11-05 15:26:45 UTC

Current Rank: 87th
Based on: test_05 (diff)

Comments
Please login or create a profile.
Code
b=0
[m n]=size(a);
for k=1:99
for i=1:m-k
 for j=1:n-k
   c=a(i:i+k,j:j+k);
   b=max(b,sum(all(c(1)==c(:))*c(:)));
end
end
end