Bribe the Prisoners solutions

Bribe the Prisoners was solved using PHP by 10 contestants. Solution sizes: average 1228 bytes (shortest: 659; longest: 2273).

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