metoda fantă. inegalitatilor