Cody

Problem 44612. ¡Puntos de corte!

Solution 2966662

Submitted on 19 Sep 2020 by Alfonso Nieto-Castanon
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
a = -2; b = -12; c = -10; [puntos_corte_correct] = [-5 -1 -10]; assert(isequal(puntos_corte(a,b,c),puntos_corte_correct))

2   Pass
a = 1; b = -3; c = -4; [puntos_corte_correct] = [-1 4 -4]; assert(isequal(puntos_corte(a,b,c),puntos_corte_correct))

3   Pass
a = 2; b = -2; c = -4; [puntos_corte_correct] = [1 -2 -4]; assert(isequal(puntos_corte(a,b,c),puntos_corte_correct))

Suggested Problems

More from this Author4

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!