20131017-04

UVA 10919: use bit table.