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
-
Sum of first n terms of a harmonic progression
444 Solvers
-
Replace multiples of 5 with NaN
449 Solvers
-
Sum of first n positive integers
591 Solvers
-
426 Solvers
-
Find the max element of the array
1721 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!