Compute and return the rank of matrix Z as an int.
Z
Sign in to write and run your own code.
solve(...)