Adaptation to the Range in $K$-Armed Bandits