Cody

Problem 1943. Signed Magnitude

For a given input vector, return the value that is furthest from zero.

For example, if

x = [1 2 -12]

return -12.

Solution Stats

67.8% Correct | 32.2% Incorrect
Last Solution submitted on Aug 25, 2019

Problem Comments

Solution Comments

Problem Recent Solvers94

Suggested Problems

Problem Tags