class Solution { public: bool searchArray(vector<vector<int>> a, int t) { for (auto v : a) for (auto num : v) if (num == t) return 1; return 0; } };