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

Bob8

by Tristram Scott

Status: Passed
Results: pass
CPU Time: 43.052
Score: 95.0
Submitted at: 2003-11-05 16:45:12 UTC
Scored at: 2003-11-05 17:49:41 UTC

Current Rank: 5th
Based on: Bob7 (diff)

Comments
Tristram Scott
05 Nov 2003
Bit smaller, maybe faster...
Please login or create a profile.
Code
m=25;
b=0;
a(50,50)=0;
x=1:m;
for i=x
for j=x
for k=x
c=a(i:i+k,j:j+k);
s=sum(c(:));
if c==c(1) & s > b
b = s;
end
end
end
end