hdu 1166, BIT