.
american roulette algorithm hdut