Problem 44768. Muphry's Law of MATLAB
23.5% Correct | 76.5% Incorrect
Last Solution submitted on Jan 29, 2023
Tim on 11 Nov 2018
Test case x=[11 22 132] will cause some solutions here to fail.
James on 13 Nov 2018
Great catch! Test case added; and by "some solutions" you mean "All solutions except yours and mine."
li haitao on 14 Nov 2018
Well done, Tim. I noticed the bug of my solution, but it did work for the old test suit, and I was too lazy to fix the bug.
Solution CommentsShow comments
Problem Recent Solvers37
Project Euler: Problem 8, Find largest product in a large string of numbers
Is this triangle right-angled?
Numbers spiral diagonals (Part 1)
There are 10 types of people in the world
More from this Author80
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!