1.修改矩阵(模拟) class Solution {public:vector<vector<int>> modifiedMatrix(vector<vector<int>>& matrix) {int n = matrix.size();int m = matrix[0].size();vector<int> ans(m);for(int i = 0; i < m; i++)for(i
A 修改矩阵 模拟 class Solution {public:vector<vector<int>> modifiedMatrix(vector<vector<int>> &matrix) {int m = matrix.size(), n = matrix[0].size();vector<int> mx(n, INT32_MIN);for (int i = 0; i <