Problem 45638. How many apples
You have x apples. I take up to y apples from you, if possible. Now, how many apples do you have?
Solution Stats
Problem Comments
-
3 Comments
Jean-Marie Sainthillier
on 14 Dec 2020
This type of problem kills the Cody.
goc3
on 14 Dec 2020
@Jean-Marie Sainthillier: thanks for pointing this out. I made some improvements and changed the function name, which should cause prior solutions to be invalidated.
@Fatih KIRCI: as originally posted, this problem was prone to be deleted. Instead, I improved it. Please take notes of these changes as to how you can improve any other problems you publish. For example, any problem should have multiple test cases.
Jean-Marie Sainthillier
on 14 Dec 2020
Thank you Grant
Solution Comments
Show commentsProblem Recent Solvers30
Suggested Problems
-
590 Solvers
-
620 Solvers
-
481 Solvers
-
202 Solvers
-
Find the sides of an isosceles triangle when given its area and height from its base to apex
1718 Solvers
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!