0 Members and 1 Guest are viewing this topic.
"_For(A,0,7For(B,0,1Ans+sub("0123456789ABCDEF",sum(seq(2^(3-C)pxl-Test(A,4B+C),C,0,3))+1,1EndEndsub(Ans,2,16
"_For(A,0,7For(B,0,1Ans+sub("0123456789ABCDEF",8pxl-Test(A,4B)+4pxl-Test(A,4B+1)+2pxl-Test(A,4B+2)+pxl-Test(A,4B+3)+1,1EndEndsub(Ans,2,16
For(A,0,15Output(1,A+1,sub("0123456789ABCDEF",sum(seq(2^(3-B)pxl-Test(iPart(A/2),B+8fPart(A/2)),B,0,3))+1,1End
For(A,0,15Text(8,4A,sub("0123456789ABCDEF",sum(seq(2^(3-B)pxl-Test(iPart(A/2),B+8fPart(A/2)),B,0,3))+1,1End
For(A,0,7For(B,0,1Output(1,2A+B+1,sub("084C2A6E195D3B7F",sum(seq(2^Cpxl-Test(A,4B+C),C,0,3))+1,1EndEnd
For(A,0,7For(B,0,1Text(8,8A+4B,sub("084C2A6E195D3B7F",sum(seq(2^Cpxl-Test(A,4B+C),C,0,3))+1,1EndEnd
"_For(A,0,15Ans+sub("0123456789ABCDEF",sum(seq(2^(3-B)pxl-Test(iPart(A/2),B+8fPart(A/2)),B,0,3))+1,1Endsub(Ans,2,16
"_For(A,0,7For(B,0,1Ans+sub("084C2A6E195D3B7F",sum(seq(2^Cpxl-Test(A,4B+C),C,0,3))+1,1EndEndsub(Ans,2,16
"[For(A,0,7For(B,0,1Ans+sub("084C2A6E195D3B7F",sum(seq(2^Cpxl-Test(A,4B+C),C,0,3))+1,1EndEndAns+"]
"[For(A,0,7For(B,0,1Ans+sub("084C2A6E195D3B7F",sum(seq(2^Cpxl-Test(A,4B+C),C,0,3))+1,1EndEnd
I reversed the bit order, so 0001 <=> 1000, 0010 <=> 0100, etc.This was done to get rid of the (3-C).(I do believe that you can perform a similar optimization to drop 4 bytes off the display-and-forget version, as well.)