Fair and Square solutions

Fair and Square was solved using MATLAB by 40 contestants. Solution sizes: average 1745 bytes (shortest: 304; longest: 13150).

The list below is sorted by ranking. You can also sort by solution size.