Problem 44793. Project Euler 249: Prime Subset Sums
50.0% Correct | 50.0% Incorrect
Last Solution submitted on Jan 09, 2023
Rafael S.T. Vieira on 11 Aug 2020
The tip for this one is that It is possible to solve it within MATLAB's precision by using mod(x,10^16). No need for Java or Python (arbitrary-precision arithmetic).
GeeTwo on 9 Jan 2023
At least those four lookup solutions inspired me to squeeze a bit harder to get down to 61.
Solution CommentsShow comments
Problem Recent Solvers18
Compute a dot product of two vectors x and y
Calculate the area of a triangle between three points
We love vectorized solutions. Problem 1 : remove the row average.
More from this Author4
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!