Problem 44743. Pizza order
A pizza order by phone in diameter d1, pizza will be make only in diameter d2. Return the pizza pieces p should be make.(pizza can be cut into quarter)
- for example:
- di = 2, d2 = 1, p = 4
- di = 1, d2 = 2, p = 0.25
- di = 5, d2 = 7, p = 0.75
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers28
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
2956 Solvers
-
Calculate the Levenshtein distance between two strings
1412 Solvers
-
Cell Counting: How Many Draws?
1834 Solvers
-
Is this triangle right-angled?
5639 Solvers
-
Solve a System of Linear Equations
11330 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!