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

conv Inf twk

by nikola

Status: Passed
Results: pass
CPU Time: 1.172
Score: 102.0
Submitted at: 2003-11-05 16:39:57 UTC
Scored at: 2003-11-05 17:38:10 UTC

Current Rank: 84th

Comments
Please login or create a profile.
Code
b=0;
for i=2:min(size(a))
    for j=1:max(a(:))
        c=a;
        c(a~=j)=-Inf;
        b=max(b,max(max(conv2(c,ones(i),'valid'))));
    end;   
end