Problem 52724. Easy Sequences 20: Counting Prime-sided Rectangles
Solution Stats
Problem Comments
-
1 Comment
David Hill
on 17 Sep 2021
I am getting 2 less on test 7. Not sure what the problem is.
Solution Comments
-
1 Comment
GeeTwo
on 10 Nov 2022
At last! A truly MATLAB-like solution that doesn't time out! Essentially the same as one of my earlier solutions, but forcing that big array of ones and zeros to be int8 rather than double. Logical was just a touch slower than int8.
Problem Recent Solvers5
Suggested Problems
-
Find the alphabetic word product
2874 Solvers
-
68 Solvers
-
67 Solvers
-
Find best placement for ordered dominoes (harder)
266 Solvers
-
86 Solvers
More from this Author92
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!