Problem 53094. Easy Sequences 51: Positive Gaussian Primes
Solution Stats
Problem Comments
-
2 Comments
Michael Sisco
on 25 Dec 2021
I have a solution that works and the entire test suite can run in 18 seconds on my laptop, but takes a little over 45 seconds to run on the server, so the server times out on the test cases.
I'm stumped trying to figure out how I can optimize this code any further.
Michael Sisco
on 25 Dec 2021
I just re-ran the solution and this time it worked. I must have gotten a slow core the first time I ran it. ;-)
Solution Comments
Show commentsProblem Recent Solvers3
Suggested Problems
-
924 Solvers
-
Convert a numerical matrix into a cell array of strings
1346 Solvers
-
Image Processing 2.1.1 Planck Integral
10 Solvers
-
Implement simple rotation cypher
1035 Solvers
-
Getting the indices from a matrix
591 Solvers
More from this Author116
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!