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

test 2

by Martijn

Status: Passed
Results: pass
CPU Time: 0.551
Score: 105.0
Submitted at: 2003-11-05 15:28:45 UTC
Scored at: 2003-11-05 15:27:29 UTC

Current Rank: 99th
Based on: test 1 (diff)

Comments
Please login or create a profile.
Code
b=0
[m,n]=size(a)
for k=1:9
for i=1:m-k
 for j=1:n-k
   c=a(i:i+k,j:j+k)
   c=c(:)
   s=sum(c)
   if ~(c-c(1))& b < s
	b=s
end
end
end
end