Guess the Logic!
logic(1) = 4
logic(2) = 1
logic(3) = 10
logic(4) = 2
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers314
Suggested Problems
-
Find the two most distant points
2950 Solvers
-
Find common elements in matrix rows
2713 Solvers
-
3818 Solvers
-
1058 Solvers
-
the average value of the elements
2199 Solvers
More from this Author40
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
more than one solution is possible with the given 4. not all of them pass test 3
Andreas New is right.
However, not only with number 4 but with all the the other even numbers there is the same problem. At present 18/03/2023 once the logic has been understood there is not probability 1 to get the problem solved. Test set has to be redesigned.
Test Suite 5 is broken. Sometimes it works sometimes not