Winner François Glineur (FDA12.01)
by Bowen Kerins
Status: Passed Results: pass CPU Time: 0.36 Score: 98.0 Submitted at: 2003-11-05 16:02:56 UTC Scored at: 2003-11-05 16:10:30 UTC
Current Rank: 40th Based on: See if this works... (diff)
[m n b]=size(a); for i=1:m for j=1:m-i for k=1:n-j c = a(i:j+i,k:k+j); x = c(1); s = x*nnz(c); if c==x & s > b b = s; end end end end