Fair and Square solutions

Fair and Square was solved using PL/SQL by 1 contestant.