Here is my code
int main() { int n = 4; vector < vector > obs = { {4, 1}, {1, 4}, {2, 4}, {3, 2} }; int cells = 0;