This solution is outdated. To rescore this solution, sign in.
-
3 Comments
Venu Lolla
on 24 Feb 2012
Doug: Just wondering if the last test case is incorrect. It seems like for the input of 3200, the p-triplet should be (700, 1152, 1348) and y_correct should be 1087027200. Please do let me know if I am wrong. Cheers, VL.
Prateep Mukherjee
on 27 Feb 2012
There is another one: (640,1200,1360). y_correct = 1044480000.
Doug Hull
on 13 Mar 2012
I just noticed that. I had thrown in a new test suite because someone had hardcoded the solutions in. I guess I did not test it right. Problem solved and submissions are being rescored now.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!