Task Description
利用struct完成矩陣加法,矩陣加法規則如下

1234 typedef struct matrix { int row, col; int* data;} *MATRIX;
Input Format
第一列輸入兩個整數,分別為第一個矩陣的列與行
接下來輸入第一個矩陣內的元素
第二個矩陣與第一個矩陣輸入方式一樣,先輸入矩陣大小再輸入矩陣內元素
Output Format
判斷矩陣是否能相加
是,輸出相加結果
否,輸出不可相加
Sample Input
123456789 3 31 2 34 5 67 8 94 41 2 3 45 6 7 89 0 2 13 2 5 8
Sample Output
1 不可相加