Record Case Detail

Notes

This function is in beta test. Please help improve it in the issues here.

Stderr

{Unrecognized function or variable 'solveCubic'.

Error in ex1 (line 1)
solveCubic();
} 

Hints

Your answer may be identical to the JOJ answer in the first several lines.

However, you will still get Wrong Answer because the complete output may be longer and there might be errors in the future lines.

Please double check your code to solve this problem and try again.

Your Answer

>> [Warning: Unable to create preferences folder in /.matlab/R2021a. A system error
has occurred. Using a temporary preferences folder for this MATLAB session. See
the <a href="matlab: helpview([docroot
'/matlab/helptargets.map'],'matlabenvironment_prefdir_location')">preferences
documentation</a> for more details.] 
>> 
ans =

   -2.5000

>> 
ans =

    10

>> 
ans =

   27.5000

>> 
ans =

   -75

>> 

JOJ Answer

-3.000 2.000 5.000