test case #2 is not correct.
The problem description should be change to "and the sum of non-prime numbers up to the greatest prime lower than x".
Thank you for that clarification, @Rafael S.T. Vieira. The problem title and description have been improved, along with added test cases.
423 Solvers
257 Solvers
Is this triangle right-angled?
2979 Solvers
Find the area of the four walls
206 Solvers
Given a square and a circle, please decide whether the square covers more area.
363 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!