Cheating a Boolean Tree solutions

Cheating a Boolean Tree was solved using Ruby by 28 contestants. Solution sizes: average 2875 bytes (shortest: 1187; longest: 5204).

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