Fair and Square solutions

Fair and Square was solved using PHP by 222 contestants. Solution sizes: average 1402 bytes (shortest: 445; longest: 7601).

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