Winner Imre Polik (Shame n)
by Stijn Helsen
Status: Passed Results: pass CPU Time: 2.123 Score: 122.0 Submitted at: 2003-11-04 13:11:21 UTC Scored at: 2003-11-04 13:10:13 UTC
Current Rank: 145th Basis for: test_2 (diff) Basis for: cyclist_2 (diff) Basis for: no tabs (diff) ...and 6 others.
k=0; b=a(1); for i=1:length(a) for j=length(a):-1:i if strcmp(a(i:j),a(j:-1:i)) if j-i>k k=j-i; b=a(i:j); end end end end