• 2024-11-212536. 子矩阵元素加1
    2536.子矩阵元素加1classSolution{public:vector<vector<int>>rangeAddQueries(intn,vector<vector<int>>&queries){vector<vector<int>>dif(n+5,vector<int>(n+5,0));for(inti=0;i<q