Problem 44305. 5 Prime Numbers
42.47% Correct | 57.53% Incorrect
Last Solution submitted on Apr 24, 2023
Peter Cook on 20 Oct 2017
I wrote & timed a bunch of sieve type algorithms until I realized the problem was much simpler. Interesting problem.
Gifari Zulkarnaen on 15 Jan 2021
For all of those having "server error", your code takes too much time on last test. Hint: you don't need to evaluate all numbers between n_min & n_max
Solution CommentsShow comments
Problem Recent Solvers430
Back to basics 23 - Triangular matrix
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
More from this Author139
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!