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

test_01-2

by Alex

Status: Passed
Results: pass
CPU Time: 0.581
Score: 109.0
Submitted at: 2003-11-05 15:18:34 UTC
Scored at: 2003-11-05 15:17:17 UTC

Current Rank: 121st
Based on: test_01 (diff)
Basis for: cyclist_4 (diff)
Basis for: again (diff)
Basis for: test_01-3 (diff)
...and 4 others.

Comments
Alex
05 Nov 2003
-
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)
   c=c(:)
   s=sum(c)
   if all(c==c(1))& b < s
	b=s
end
end
end
end