Write a function that, given two square matrices @a@ and @b@, computes their sum.
typedef vector< vector<int> > Matrix;
Matrix sum(const Matrix& a, const Matrix& b);
public static int[][] sum(int[][] a, int[][] b);
sum(a, b) # returns list
sum(a: list[list[int]], b: list[list[int]]) -> list[list[int]]
@a@ and @b@ are square matrices n×nn\times n with n≥0n \ge 0.
The official statement of a problem is always the one in the PDF document. The HTML version of the statement is also given to help you, but may contain some content that is not well displayed. In case of doubt, always use the PDF.