Cody

Problem 1943. Signed Magnitude

Created by Greg in Community

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

For example, if

x = [1 2 -12]

return -12.

Solution Stats

68.0% Correct | 32.0% Incorrect
Last solution submitted on Apr 10, 2019

Problem Comments

Solution Comments

Recent Solvers94

Suggested Problems

Tags