C++ Concise Code


  • 0
    D

    '''
    class Solution {
    public:
    int maxCount(int m, int n, vector<vector<int>>& ops) {
    for (auto op: ops)
    {
    m = min(m, op[0]);
    n = min(n, op[1]);
    }
    return m * n;
    }
    };
    '''


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.