Problem 55280. Count estrangements
Solution Stats
Problem Comments
-
4 Comments
Sorry, but I submitted a phoney solution that passes all of the tests. Since there are no assert() functions, just about anything will pass!
Okay, I have now submitted a correct (I think!) solution, but I think test #14 has an error.
William, I have updated the test suit to include the assert() command now and rescored the solutions.
And yes, the test case #14 was incorrect and I have commented it out for now. I'm leaving it to Chris to update that particular test case.
I don't know how I missed the asserts, but in my test file on my computer, they are missing. Thanks, Dyuman, for fixing that problem.
I also fixed Test 14.
Solution Comments
Show commentsProblem Recent Solvers7
Suggested Problems
-
Find common elements in matrix rows
2663 Solvers
-
Find the peak 3n+1 sequence value
2526 Solvers
-
Replace NaNs with the number that appears to its left in the row.
3010 Solvers
-
Rosenbrock's Banana Function and its derivatives
157 Solvers
-
Find the elements of a matrix according to a defined property.
86 Solvers
More from this Author291
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!