Is the test suite broken? The first line sets the input to 141221242 for all of the tests.
It worked fine with me. Maybe it was fixed.
Finding Perfect Squares
Rotate a Matrix by 90 degrees
Basics: 'Find the eigenvalues of given matrix
Vector of numbers divisible by 3
Calculate the derivative of a polynomial
Rolling maximums above a threshold
A (wrong) place for everything, and everything in its (wrong) place
Fun with a compass
Longest run of consecutive numbers
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office