Problem 45461. Box
Return the volume of a box, provided x is equal to the box diagonal.
Solution Stats
Problem Comments
-
3 Comments
Paresh yeole
on 6 Jun 2020
The test suite directly gives away the solution. Please update the test suite.
goc3
on 29 Sep 2020
The test suite has been updated to not reveal the solution.
Andrew Newell
on 7 Nov 2020
This is only correct for a cubic box, not a general box.
Solution Comments
Show commentsProblem Recent Solvers183
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1695 Solvers
-
271 Solvers
-
Sum of first n positive integers
571 Solvers
-
859 Solvers
-
8787 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!