Diffing "test_13" and "test_16"

Title: test_13 test_16
Author: Stijn Helsen Stijn Helsen
Submitted: 2003-11-04 14:16:02 UTC 2003-11-04 14:40:15 UTC
Status: Passed Passed
Score: 126.0 129.0
Result: pass pass
CPU Time: 2.223 2.213
Code:
n=length(a);
for i=1:n;
 k=0:i-1;
 l=(1:n-i)';
 A=a(k(ones(n-i,1),:)+l(:,ones(i,1)));
 j=find(all(A==fliplr(A),2));
 if ~isempty(j)
  b=A(j,:);
  b=A(j(1),:);
 end
end