Problem 43738. Negative without '-'
Simple: return a negative number without using the '-' sign.
Solution Stats
Problem Comments
-
4 Comments
Show
1 older comment
Nikolaos Nikolaou
on 7 Oct 2020
this is still true while the only diff is this is a badge problem now . Please fix
goc3
on 8 Oct 2020
The offending line—asserting lack of '0'—has been commented out.
Nikolaos Nikolaou
on 16 Oct 2020
Thanks goc :)
Solution Comments
Show commentsProblem Recent Solvers61
Suggested Problems
-
4517 Solvers
-
Set the array elements whose value is 13 to 0
1381 Solvers
-
602 Solvers
-
Replace multiples of 5 with NaN
449 Solvers
-
Convert a Cell Array into an Array
1948 Solvers
More from this Author11
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!