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.6% Correct | 32.4% Incorrect
Last Solution submitted on Dec 15, 2019

Problem Comments

Solution Comments