long target = (success + spells[i] - 1) / spells[i];

有可能会在二分算法里边用到