8 lines
200 B
C++

#include <bits/stdc++.h>
using namespace std;
class Solution
{
public:
bool searchMatrix(vector<vector<int>> &matrix, int target);
bool test(vector<vector<int>> &matrix, int target, bool answer);
};