Problem 44359. 5th Time's a Charm
32.11% Correct | 67.89% Incorrect
Last Solution submitted on Mar 20, 2023
Show 2 older comments
Andrew Newell on 1 Dec 2017
Strange - the test suites are not independent. I thought they normally were.
Sushovan Basu on 8 Dec 2017
Yes Andrew, they are not. I also had to struggle with the same, when only the first input data passed and rest failed.
Christian Torregrosa Koch on 14 Dec 2017
I can't get a way to solve this problem. Some hint?
Hans Kramer on 25 Apr 2018
Can't solve this either. Not even a clue on how to do it.
Nikolaos Nikolaou on 17 Feb 2020
Hint see documentation for presistent variables
PS : last test case is evil
Solution CommentsShow comments
Problem Recent Solvers181
How long is the longest prime diagonal?
Generate N equally spaced intervals between -L and L
More from this Author139
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!