Problem 2449. Back to the future II
I've spent much time trying to solve this problem without hacking. After finally giving up and seeing the solution, I can attest it is only possible to solve this problem with hacks. The author last came in Cody servers in 2016, and the p function no longer works. Don't waste unnecessary time trying to solve this through traditional means. You will see what was the trick, and why it no longer works when you hack it.
And let this be a lesson to all people out there. Sometimes problems are just broken. On the internet and in famous textbooks. Although some authors will probably die before admitting they made a mistake. :)
Problem Recent Solvers12
Find the numeric mean of the prime numbers in a matrix.
Given an unsigned integer x, find the largest y by rearranging the bits in x
Getting the absolute index from a matrix
Determine if input is a perfect number
More from this Author8
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!