{ for(n=1,11, res=0; for(b1=0,2^n-1, for(b2=0,b1>>1, res=max(res,matdet(matrix(n,n,i,j,bittest(if(i>j,b2>>(i-j-1),b1>>(j-i)),0)))); ) ); print(n" "res); )}
Standard input is empty
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!